|
@@ -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) {
|
|
|
//没有名额
|