修改登录

This commit is contained in:
2023-05-13 18:06:58 +08:00
parent 847e6009cb
commit a4203c9807
4 changed files with 4 additions and 1 deletions
+1
View File
@@ -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);
}