批量推送
This commit is contained in:
@@ -18,4 +18,14 @@ export function getCaptcha() {
|
||||
|
||||
export function getRouters() {
|
||||
return request({ url: '/getRouters', method: 'get' })
|
||||
}
|
||||
|
||||
// 短信登录 - 发送验证码 (手机号必须已注册)
|
||||
export function sendLoginSms(phone) {
|
||||
return request({ url: '/business/auth/smsSendCode', method: 'post', data: { phone } })
|
||||
}
|
||||
|
||||
// 短信登录 - 校验验证码并登录, 返回 res.data 含 token
|
||||
export function smsLogin(data) {
|
||||
return request({ url: '/business/auth/smsLogin', method: 'post', data })
|
||||
}
|
||||
Reference in New Issue
Block a user