新增 SPUG 短信模板与短信兜底发送
This commit is contained in:
@@ -636,7 +636,8 @@ Page({
|
||||
try {
|
||||
await runWithLoading(() => userApi.sendVerificationCode({
|
||||
phone,
|
||||
sceneCode: 'USER_BIND_PHONE_SMS_CODE'
|
||||
sceneCode: 'USER_BIND_PHONE_SMS_CODE',
|
||||
clientType: 'WECHAT_MINI'
|
||||
}))
|
||||
wx.showToast({
|
||||
title: '验证码已发送',
|
||||
@@ -724,7 +725,8 @@ Page({
|
||||
try {
|
||||
await runWithLoading(() => userApi.sendVerificationCode({
|
||||
phone: newPhone,
|
||||
sceneCode: 'USER_CHANGE_PHONE_SMS_CODE'
|
||||
sceneCode: 'USER_CHANGE_PHONE_SMS_CODE',
|
||||
clientType: 'WECHAT_MINI'
|
||||
}))
|
||||
wx.showToast({
|
||||
title: '验证码已发送',
|
||||
@@ -832,7 +834,8 @@ Page({
|
||||
try {
|
||||
await runWithLoading(() => authApi.sendVerificationCode({
|
||||
phone,
|
||||
sceneCode: 'USER_CHANGE_PASSWORD_SMS_CODE'
|
||||
sceneCode: 'USER_CHANGE_PASSWORD_SMS_CODE',
|
||||
clientType: 'WECHAT_MINI'
|
||||
}))
|
||||
wx.showToast({
|
||||
title: '验证码已发送',
|
||||
|
||||
Reference in New Issue
Block a user