绚火健康

This commit is contained in:
2023-08-15 17:18:15 +08:00
commit 32cc588ae7
200 changed files with 8924 additions and 0 deletions

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

@@ -0,0 +1,32 @@
/*
* 手太欠
* 愿这世界都如故事里一样 美好而动人~
*/
import { req } from "../request"
//登录
const Login = data => req({
url: "user/auth/login",
method: "POST",
data: data
})
//注册
const register = data => req({
url: "user/auth/register",
method: "POST",
data: data
})
//获取验证码
const getSms = data => req({
url: "user/auth/verify",
method: "POST",
data: data
})
export default ({
Login,
register,
getSms
})