新增 SPUG 短信模板与短信兜底发送
This commit is contained in:
@@ -39,10 +39,10 @@ export const authApi = {
|
||||
return adminApi.get(`/auth/login-shops/${encodeURIComponent(account)}`)
|
||||
},
|
||||
sendRegisterCode(phone: string): Promise<boolean> {
|
||||
return api.post('/user/send-verification-code', { phone, sceneCode: 'PLANNING_MANAGER_REGISTER' })
|
||||
return api.post('/user/send-verification-code', { phone, sceneCode: 'PLANNING_MANAGER_REGISTER', clientType: 'MANAGER_WEB' })
|
||||
},
|
||||
sendLoginCode(phone: string): Promise<boolean> {
|
||||
return api.post('/user/send-verification-code', { phone, sceneCode: 'USER_LOGIN_SMS_CODE' })
|
||||
return api.post('/user/send-verification-code', { phone, sceneCode: 'USER_LOGIN_SMS_CODE', clientType: 'MANAGER_WEB' })
|
||||
},
|
||||
phoneLogin(data: PhoneLoginRequest): Promise<LoginResponse> {
|
||||
return api.post('/user/phone-login', data)
|
||||
|
||||
Reference in New Issue
Block a user