diff --git a/app/api/service/passport/Login.php b/app/api/service/passport/Login.php index 11048c19..16b151b4 100644 --- a/app/api/service/passport/Login.php +++ b/app/api/service/passport/Login.php @@ -193,6 +193,7 @@ class Login extends BaseService // 整理登录注册数据 if (empty($form['partyData']['oauth'])) { $form['partyData']['oauth'] = 'MP-WEIXIN'; + $form['partyData']['code'] = $form['code']; } $loginData = [ 'mobile' => $plainData['purePhoneNumber'],