zz 6 년 전
부모
커밋
cc0b1e7aed
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/Wap/Book/ChapterController.php
  2. 1 1
      app/Http/Controllers/Wap/User/UserController.php

+ 1 - 1
app/Http/Controllers/Wap/Book/ChapterController.php

@@ -1029,7 +1029,7 @@ class ChapterController extends BaseController
             //签过到了
             return 0;
         }
-        if(in_array($this->distribution_channel_id,redisEnv('NEW_SIGN_CHANNELS',''))){
+        if(in_array($this->distribution_channel_id,explode(',',redisEnv('NEW_SIGN_CHANNELS',''))))
             $version = UserSignService::getUserSignVersion($this->uid);
         }else{
             $version = 'v1';

+ 1 - 1
app/Http/Controllers/Wap/User/UserController.php

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