移出冗余代码

This commit is contained in:
唐明明
2021-09-27 14:18:19 +08:00
parent 60afd75ada
commit 90f6498207
16 changed files with 18 additions and 1359 deletions

View File

@@ -8,22 +8,6 @@
import { request } from '../index'
// 企业注册配置信息
const createConfig = () => {
return request({
url: 'companies/inits/create'
})
}
// 企业行业信息
const inits = data => {
return request({
url: 'companies/inits',
method: 'POST',
data
})
}
// 企业认证配置信息
const appliesCreate = () => {
return request({
@@ -40,21 +24,6 @@ const applies = (data,method) => {
})
}
// 企业认证前置条件
const isallow = () => {
return request({
url: 'companies/applies/isallow',
method: 'POST'
})
}
// 企业申请状态
const appliesQuery = () => {
return request({
url: 'companies/applies/query'
})
}
// 企业信息展示
const appliesInfo = () => {
return request({
@@ -71,12 +40,8 @@ const appliesCategory = data => {
}
export {
createConfig,
inits,
appliesCreate,
applies,
isallow,
appliesQuery,
appliesInfo,
appliesCategory
}