1.提交缺失的东西
This commit is contained in:
@ -343,7 +343,7 @@ class LoginLogic extends LogicBase
|
|||||||
if($user_info == null){
|
if($user_info == null){
|
||||||
$open=new Getopenid();
|
$open=new Getopenid();
|
||||||
$open_id=$open->getOpenid($post['code']);
|
$open_id=$open->getOpenid($post['code']);
|
||||||
$response['openid'] = $open_id;
|
$response['openid'] = $open_id['openid'];
|
||||||
$response['mobile'] = $post['account'];
|
$response['mobile'] = $post['account'];
|
||||||
$user_info = UserServer::createUser($response, Client_::mnp);
|
$user_info = UserServer::createUser($response, Client_::mnp);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user