会员模块

This commit is contained in:
2023-12-15 17:53:08 +08:00
commit 2a998468d9
282 changed files with 14521 additions and 0 deletions

31
api/interfaces/auth.js Normal file
View File

@@ -0,0 +1,31 @@
/*
* 手太欠
* 愿这世界都如故事里一样 美好而动人~
*/
import { req } from "../request"
//验证码登录
const smsAuth = data => req({
url: "user/auth/sms",
method: "POST",
data: data
})
//获取验证码
const getSms = data => req({
url: "user/auth/verify",
method: "POST",
data: data
})
//隐私+协议
const registeragree = (website) => req({
url: "cms/pages/" + website
})
export default ({
smsAuth,
getSms,
registeragree
})