商城测试版v7

This commit is contained in:
2022-07-22 20:46:40 +08:00
parent c646bac0a4
commit c4684c11b8
19 changed files with 142 additions and 130 deletions
+20 -1
View File
@@ -42,7 +42,7 @@ import { useRequest } from "@/use/useHttp"
/**
* 公司类型|企业类型 下拉列表
*/
export const companyTypeApi = () => {
export const companyTypeApi = () => {
return useRequest({
url: `/v1/mall/enum/purchaserType`,
method: "get",
@@ -89,3 +89,22 @@ import { useRequest } from "@/use/useHttp"
})
}
/**
* 邀请码获取业务员信息
*/
export const GetInvitationInfoApi = () => {
return useRequest({
url: `/v1/mall/user/invitationInfo`,
method: "get",
})
}
/**
* 绑定业务员
*/
export const BindInvitationInfoApi = () => {
return useRequest({
url: `/v1/mall/user/bindInvitationCode`,
method: "post",
})
}