Browse Source

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

zhuchengjie 3 năm trước cách đây
mục cha
commit
61d0a0345d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;