diff --git a/app/api/service/passport/Login.php b/app/api/service/passport/Login.php index 48a05ca0..d34cc1fe 100644 --- a/app/api/service/passport/Login.php +++ b/app/api/service/passport/Login.php @@ -59,7 +59,7 @@ class Login extends BaseService //绑定openid if (!empty($data['ucode'])) { $data['partyData']['code'] = $data['ucode']; - $data['partyData']['oauth'] = 'MP-WEIXIN'; + $data['partyData']['oauth'] = ClientEnum::MP_WEIXIN; $data['isParty'] = true; } // 自动登录注册