|
@@ -625,11 +625,12 @@ class CoflController extends Controller
|
|
|
'ACTIVE_GUIDE_PERSONAL_ACCOUNT_MAX_EVERY_UV');
|
|
|
$img = empty($env_config[0])?'https://cdn-novel.iycdm.com/h5/personal_account/chenchen.jpg':$env_config[0];
|
|
|
$max = empty($env_config[1])?100:$env_config[1];
|
|
|
+ $max = (int)$max;
|
|
|
$one_loop_max = empty($env_config[3])?10:$env_config[3];
|
|
|
$now_id = (int)$env_config[2];
|
|
|
$uv = Redis::scard('active_guide_personal_uv');
|
|
|
$personal_info = DB::table('personal_account_list')->where('id',$now_id)->select('count')->first();
|
|
|
- $total_max = $personal_info->count+$uv;
|
|
|
+ $total_max = (int)($personal_info->count+$uv);
|
|
|
//Log::info('$total_max is: '.);
|
|
|
if($uv >= $one_loop_max || $total_max>=$max){
|
|
|
if($total_max>=$max){
|