1
2
3
4
5
6
7
8
9
10
11
| import http from "./http";
|
| //获取验证码接口
| export const getCodeImg = () => http.get('api/User/getVierificationCode')
|
| //用户登录接口
| // export const login = (data) => http.post('api/User/login', data)
| export const login = (data,tenantId) => http.post(`/api/User/login`, data)
|
| //用户注册接口
| export const register = (data) => http.post('api/Registry/UserRegistry', data)
|
|