代码提交同步

This commit is contained in:
wong
2025-09-13 10:45:32 +08:00
parent a2a0cb8461
commit cc432ba18f
10 changed files with 8043 additions and 131 deletions

View File

@@ -138,7 +138,7 @@ class PasswordLoginController extends BaseController
$params['typeId']
);
//同时登录客服系统
if (!empty($userData['member']['passwordLocal'])){
/* if (!empty($userData['member']['passwordLocal'])){
$params = [
'grant_type' => 'password',
'username' => $userData['member']['account'],
@@ -157,7 +157,7 @@ class PasswordLoginController extends BaseController
$self = handleApiResponse($result);
$userData['kefuData']['self'] = $self;
}
}
}*/
return ResponseHelper::success($userData, '登录成功');
} catch (Exception $e) {
return ResponseHelper::error($e->getMessage(), $e->getCode());