Merge branch 'dev' of ssh://git.online.zzfzyc.com:10022/mp/EShop into 电子商城测试版v2

This commit is contained in:
2022-06-28 10:02:49 +08:00
23 changed files with 1781 additions and 1651 deletions
+34
View File
@@ -0,0 +1,34 @@
import { useRequest } from "@/use/useHttp"
/**
* 企业认证信息获取
* @returns
*/
export const certificationDetailApi = () => {
return useRequest({
url: `/v1/mall/company/authentication`,
method: "get",
})
}
/**
* 企业认证信息提交
* @returns
*/
export const certificationSaveApi = () => {
return useRequest({
url: `/v1/mall/company/authentication`,
method: "put",
})
}
/**
* 企业认证类型枚举列表
* @returns
*/
export const certificationTypeListApi = () => {
return useRequest({
url: `/v1/mall/enum/companyAuthenticationType`,
method: "get",
})
}
+12
View File
@@ -0,0 +1,12 @@
import { useRequest } from "@/use/useHttp"
/**
* 获取用户资产
* @returns
*/
export const userassets = () => {
return useRequest({
url: `/v1/mall/user/assets`,
method: "get",
})
}