修改登录
This commit is contained in:
@@ -48,6 +48,7 @@ class LoginService extends BaseService
|
||||
|
||||
// 获取用户openid
|
||||
$wx_info_data = $weChat->codeToSession($wx_code);
|
||||
dump($wx_info_data);
|
||||
if (empty($wx_info_data['session_key']) || empty($wx_info_data['openid'])) {
|
||||
return fail(HttpEnumCode::GET_WX_ERROR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user