新增 SPUG 短信模板与短信兜底发送
This commit is contained in:
@@ -847,7 +847,8 @@ Page({
|
||||
try {
|
||||
await runWithLoading(() => userApi.sendVerificationCode({
|
||||
phone,
|
||||
sceneCode: this.data.activeTab === 'register' ? 'USER_REGISTER_SMS_CODE' : 'USER_LOGIN_SMS_CODE'
|
||||
sceneCode: this.data.activeTab === 'register' ? 'USER_REGISTER_SMS_CODE' : 'USER_LOGIN_SMS_CODE',
|
||||
clientType: 'WECHAT_MINI'
|
||||
}))
|
||||
wx.showToast({
|
||||
title: '验证码已发送',
|
||||
@@ -883,7 +884,8 @@ Page({
|
||||
try {
|
||||
await runWithLoading(() => authApi.sendVerificationCode({
|
||||
phone,
|
||||
sceneCode: 'USER_RESET_PASSWORD_SMS_CODE'
|
||||
sceneCode: 'USER_RESET_PASSWORD_SMS_CODE',
|
||||
clientType: 'WECHAT_MINI'
|
||||
}))
|
||||
wx.showToast({
|
||||
title: '验证码已发送',
|
||||
|
||||
Reference in New Issue
Block a user