--企业认证50%

This commit is contained in:
li tong bao
2022-06-23 16:56:25 +08:00
parent 0f59e424d1
commit f6f2ce9e95
9 changed files with 281 additions and 97 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",
})
}