소스 검색

'赠送书币商户书币调整'

zhuchengjie 3 년 전
부모
커밋
61d0a0345d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Controllers/CompanyAuth/AppController.php

+ 1 - 1
src/Controllers/CompanyAuth/AppController.php

@@ -466,7 +466,7 @@ class AppController extends Controller
             }
 
             //商户书币限制
-            $sql = 'select app_id,today_user_numbers from  company_auth_configs where id in(select company_id from channel_users where id in( select channel_user_id from distribution_channels where id='.$channel_id.'))';
+            $sql = 'select app_id,today_user_numbers from  company_auth_configs where id in(select company_id from channel_users where id in( select channel_user_id from distribution_channels where id='. $channel_id .'))';
             $res = DB::connection('mysql')->select($sql);
             if($res && isset($res[0]) && !empty($res[0]->today_user_numbers)){
                 $limit_users = $res[0]->today_user_numbers;