Ver código fonte

crm push view

zz 5 anos atrás
pai
commit
00c8129d50
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Http/Controllers/Wap/User/UserController.php

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

@@ -794,7 +794,7 @@ where bid in (%s) and is_on_shelf =2 ORDER  by field(book_configs.bid,%s)', $bid
         $now_id = (int)$crm_config[2];
         $uv_key = 'active_guide_personal_uv';
         $uv = Redis::scard($uv_key);
-        $personal_info = DB::table('personal_account_list')->where('id', $now_id)->select('count')->first();
+        $personal_info = DB::table('personal_account_list')->where('id', $now_id)->select('id','count','name')->first();
         $total_max = (int)($personal_info->count + $uv);
         if (empty($img) || empty($now_id) || $total_max >= $max) {
             //没有名额