feat: 创建企业逻辑对接

This commit is contained in:
rd
2025-09-10 17:57:42 +08:00
parent 25f74691c6
commit 32bc0c4b95
8 changed files with 90 additions and 50 deletions

View File

@ -71,4 +71,19 @@ export const postForgetPasswordCaptcha = (params = {}) => {
// 忘记密码
export const postForgetPassword = (params = {}) => {
return Http.post('/v1/users/forget-password', params);
};
// 创建企业
export const postCreateEnterprises = (params = {}) => {
return Http.post('/v1/enterprises', params);
};
// 获取我的企业列表
export const getMyEnterprises = () => {
return Http.get('/v1/me/enterprises');
};
// 获取我的主企业信息
export const getMyPrimaryEnterprise = () => {
return Http.get('/v1/me/primary-enterprise');
};