|
|
|
@ -24,6 +24,10 @@ class PublicController extends \Think\Controller
|
|
|
|
|
if (!check_verify($verify)) {
|
|
|
|
|
$this->error('验证码输入错误!');
|
|
|
|
|
}
|
|
|
|
|
/* 财务账号只能登陆子系统*/
|
|
|
|
|
if(!IS_SUBSITE && $username == "cw"){
|
|
|
|
|
$this->error('账户或密码错误!');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 调用UC登录接口登录 */
|
|
|
|
|
$User = new UserApi;
|
|
|
|
@ -101,7 +105,10 @@ class PublicController extends \Think\Controller
|
|
|
|
|
'last_login_time' => NOW_TIME,
|
|
|
|
|
'last_login_ip' => get_client_ip(1),
|
|
|
|
|
);
|
|
|
|
|
if(!IS_SUBSITE){
|
|
|
|
|
$Member->save($data);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$adminData = getAdminData($member['uid']);
|
|
|
|
|
$groupId = getGameGroup($member['uid']);
|
|
|
|
|