chore:更换到主分支

This commit is contained in:
张益铭
2021-03-01 15:26:05 +08:00
parent 9064b372e8
commit 6a5f1810f9
3530 changed files with 59613 additions and 479452 deletions

16
src/api/user.ts Normal file
View File

@@ -0,0 +1,16 @@
import { http } from "../utils/http"
// 获取验证码
export const getVerify = (): any => {
return http.request("get", "/captcha")
}
// 登录
export const getLogin = (data: object): any => {
return http.request("post", "/login", data)
}
// 注册
export const getRegist = (data: object): any => {
return http.request("post", "/register", data)
}