Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
2025-08-10 16:22:31 +08:00
5 changed files with 19 additions and 10 deletions

View File

@ -125,8 +125,7 @@ Page({
verificationCode: code,
userPassword: newPwd,
userConfirmPassword: confirmPwd,
sourceToken: null,
role: role
userRole: role
},
success: res => {
if (res.data.code === 1) {

View File

@ -166,7 +166,7 @@ Page({
: baseUrl + '/userInfo/mini/vcd/login';
const payload = loginType === 'password'
? { phoneNumber: phone, userPassword: credential, userRole: role }
: { phoneNumber: phone, verificationCode: credential };
: { phoneNumber: phone, verificationCode: credential, userRole: role };
wx.request({
url,