pengwei
2025-03-07 5bc75025dfa855271a21085e22fc5dfee24472a8
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)