@ -191,7 +191,7 @@ class Login extends BaseService
// 解密encryptedData -> 拿到手机号
$plainData = OauthService::wxDecryptData($form['encryptedData'], $form['iv'], $wxSession['session_key']);
// 整理登录注册数据
if (!empty($form['partyData']['oauth'])) {
if (empty($form['partyData']['oauth'])) {
$form['partyData']['oauth'] = 'MP-WEIXIN';
}
$loginData = [