|
@@ -215,7 +215,8 @@ class Auth
|
|
|
'plat_unique_id' => $extend['plat_unique_id'],
|
|
|
];
|
|
|
$check_lastuser = Db::name('user')->where($map)->whereTime('jointime','month')->count();
|
|
|
- if($check_lastuser >= 2){
|
|
|
+ $month_register_maxnumber = config('site.month_register_maxnumber');
|
|
|
+ if($check_lastuser >= $month_register_maxnumber){
|
|
|
$this->setError('本月注册数已满,请下个月在注册');
|
|
|
return false;
|
|
|
}
|