新增 SPUG 短信模板与短信兜底发送
This commit is contained in:
@@ -12,6 +12,7 @@ import type { IdType } from '@/utils/id'
|
||||
export interface SendVerificationCodeRequest {
|
||||
phone: string
|
||||
sceneCode?: string
|
||||
clientType?: string
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -385,7 +385,7 @@ export const userApi = {
|
||||
* Call guide: supply the parameters below, await the returned Promise, and handle loading / error UI in the caller.
|
||||
* @param data: { phone: string; sceneCode?: string } caller-supplied value for `data: { phone: string; sceneCode?: string }`
|
||||
*/
|
||||
sendVerificationCode: (data: { phone: string; sceneCode?: string }) => {
|
||||
sendVerificationCode: (data: { phone: string; sceneCode?: string; clientType?: string }) => {
|
||||
return api.post('/user/send-verification-code', data)
|
||||
},
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user