zz 6 lat temu
rodzic
commit
6aa0d8b1b7

+ 3 - 2
app/Http/Controllers/Wap/Book/ChapterController.php

@@ -1029,11 +1029,12 @@ class ChapterController extends BaseController
             //签过到了
             return 0;
         }
-        if(in_array($this->distribution_channel_id,explode(',',redisEnv('NEW_SIGN_CHANNELS','')))){
+        /*if(in_array($this->distribution_channel_id,explode(',',redisEnv('NEW_SIGN_CHANNELS','')))){
             $version = UserSignService::getUserSignVersion($this->uid);
         }else{
             $version = 'v1';
-        }
+        }*/
+        $version = UserSignService::getUserSignVersion($this->uid);
         $this->chapter->sign_version = $version;
         if ($res = UserSignService::signToday($uid,$this->chapter->sign_version)) {
             //$sign_key = 'leyuee:wap:usersigni';

+ 3 - 2
app/Http/Controllers/Wap/User/UserController.php

@@ -208,11 +208,12 @@ class UserController extends BaseController
      */
     public function signi()
     {
-        if(in_array($this->distribution_channel_id,explode(',',redisEnv('NEW_SIGN_CHANNELS','')))){
+        /*if(in_array($this->distribution_channel_id,explode(',',redisEnv('NEW_SIGN_CHANNELS','')))){
             $version = UserSignService::getUserSignVersion($this->uid);
         }else{
             $version = 'v1';
-        }
+        }*/
+        $version = UserSignService::getUserSignVersion($this->uid);
 
         if($version == 'v1'){
             $page = 'wap.sign';