yshop意向点餐系统v1.2.2
This commit is contained in:
1 parent
d03982bf66
commit
fc575265c3
4685 files changed
+518513
-182051
No files matched your search
@@ -0,0 +1,37 @@
|
||||
import api from './api'
|
||||
|
||||
/**
|
||||
* 使用手机 + 验证码登录
|
||||
*/
|
||||
export function userLogin(data) {
|
||||
return api.post('/member/auth/sms-login', data, { login: false })
|
||||
}
|
||||
|
||||
/**
|
||||
* 使用手机 + 验证码登录 member/auth/send-sms-code
|
||||
*/
|
||||
export function smsSend(data) {
|
||||
return api.post('/member/auth/send-sms-code', data, { login: false })
|
||||
}
|
||||
|
||||
/**
|
||||
* 小程序 member/auth/auth-miniapp-login
|
||||
*/
|
||||
export function userLoginForWechatMini(data) {
|
||||
return api.post('/member/auth/auth-miniapp-login', data, { login: false })
|
||||
}
|
||||
|
||||
/**
|
||||
* userAuthSession
|
||||
*/
|
||||
export function userAuthSession(data) {
|
||||
return api.post('/member/auth/auth-session', data, { login: false })
|
||||
}
|
||||
|
||||
/**
|
||||
* wechatAuth
|
||||
*/
|
||||
export function wechatAuth(data) {
|
||||
return api.get('/member/auth/auth-wechat-login', data, { login: false })
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user