锶源昆仑商城

This commit is contained in:
2023-07-22 19:01:37 +08:00
commit 4ba3377084
223 changed files with 10557 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
})