接口路径调试

This commit is contained in:
13218645326 2023-12-10 03:36:30 +08:00
parent 64b34f7b16
commit dc5f124f39
2 changed files with 24 additions and 24 deletions

View File

@ -2,12 +2,12 @@ import { post, get, detele } from '../index'
// 新增或者修改企业类型
export const apiAddOrUpdateCompanyType = (data: any) => {
return post('company_type/addOrUpdateCompanyType', data)
return post('/zlpt-company/company_type/addOrUpdateCompanyType', data)
}
// 根据id删除企业类型
export const apiDeleteCompanyType = (id: any) => {
let strUrl = `/company_type/deleteCompanyType/${id}`
let strUrl = `/zlpt-company/company_type/deleteCompanyType/${id}`
return detele(strUrl, {})
}
@ -16,13 +16,13 @@ export const apiDeleteCompanyType = (id: any) => {
// 企业类型导出
export const apiExportExcel = () => {
let strUrl = `/company_type/exportExcel`
let strUrl = `/zlpt-company/company_type/exportExcel`
return get(strUrl, {})
}
// 根据条件查询企业所属
export const apiSelectCompanyLtd = (params: any) => {
let strUrl = `/company_type/selectCompanyLtd`
let strUrl = `/zlpt-company/company_type/selectCompanyLtd`
return post(strUrl, params)
}
@ -30,14 +30,14 @@ export const apiSelectCompanyLtd = (params: any) => {
// 根据条件查询企业类型数据
export const apiSelectCompanyTypeList = (params: any) => {
let strUrl = `/company_type/selectCompanyTypeList`
let strUrl = `/zlpt-company/company_type/selectCompanyTypeList`
return post(strUrl, params)
}
// ======
// 根据条件查询证件类型
export const apiSelectIdCard = (params: any) => {
let strUrl = `/company_type/selectIdCard`
let strUrl = `/zlpt-company/company_type/selectIdCard`
return post(strUrl, params)
}
@ -45,70 +45,70 @@ export const apiSelectIdCard = (params: any) => {
// =======================企业入驻审核======================
// 企业注销
export const apiCompanyInfo = (deptId: any) => {
let strUrl = `/company_info/${deptId}`
let strUrl = `/zlpt-company/company_info/${deptId}`
return detele(strUrl, {})
}
// 录入企业信息
export const apiAddCompanyInfo = (params: any) => {
let strUrl = `/company_info/addCompanyInfo`
let strUrl = `/zlpt-company/company_info/addCompanyInfo`
return post(strUrl, params)
}
// 企业入驻信息导出
export const apiCompanyExportExcel = (params: any) => {
let strUrl = `/company_info/exportExcel`
let strUrl = `/zlpt-company/company_info/exportExcel`
return get(strUrl, params)
}
// 根据企业id查询企业信息
export const apiGetCompanyInfoById = (id: any) => {
let strUrl = `/company_info/getCompanyInfoById/${id}`
let strUrl = `/zlpt-company/company_info/getCompanyInfoById/${id}`
return get(strUrl, {})
}
// 获取公司列表
export const apiGetCompanyInfoList = (params: any) => {
let strUrl = `/company_info/list`
let strUrl = `/zlpt-company/company_info/list`
return get(strUrl,params)
}
// 通过主键查询单条数据
export const apiGetCompanyInfoSelectById = (params: any) => {
let strUrl = `/company_info/selectById`
let strUrl = `/zlpt-company/company_info/selectById`
return get(strUrl,params)
}
// 根据条件查询企业详细信息
export const apiSelectCompanyInfo = (params: any) => {
let strUrl = `/company_info/selectCompanyInfo`
let strUrl = `/zlpt-company/company_info/selectCompanyInfo`
return post(strUrl,params)
}
// 根据条件查询企业信息(企业入驻审核) 企业入驻审核列表
export const apiGetCompanyInfoSelectList = (params: any) => {
let strUrl = `/company_info/selectList`
let strUrl = `/zlpt-company/company_info/selectList`
return post(strUrl,params)
}
// /company_info/updateCompanyInfo
export const apiupdateCompanyInfo = (params: any) => {
let strUrl = `/company_info/updateCompanyInfo`
let strUrl = `/zlpt-company/company_info/updateCompanyInfo`
return post(strUrl,params)
}
//=============================================企业业务开通管理
// business/open/exportExcel
export const apiBusinessOpenExportExcel = ( ) => {
let strUrl = `business/open/exportExcel`
let strUrl = `/zlpt-company/business/open/exportExcel`
return get(strUrl,{})
}
// 新增业务开通请求
export const apiBusinessOpenInsert = (params: any) => {
let strUrl = `/business/open/insert`
let strUrl = `/zlpt-company/business/open/insert`
return post(strUrl,params)
}
// 根据条件查询企业业务开通信息列表
export const apiBusinessOpenselectList = (params: any) => {
let strUrl = `/business/open/selectList`
let strUrl = `/zlpt-company/business/open/selectList`
return post(strUrl,params)
}
// 企业业务开通数据修改
export const apiBusinessUpdateBusiness = (params: any) => {
let strUrl = `/business/open/updateBusiness`
let strUrl = `/zlpt-company/business/open/updateBusiness`
return post(strUrl,params)
}

View File

@ -2,23 +2,23 @@ import { post, get, detele,put } from '../index'
// 下架列表
export const apiOffList = (data: any) => {
return post('/off/selectList', data)
return post('/zlpt-equip/off/selectList', data)
}
// 新增或者修改企业类型
export const apiUpOffList = (data: any) => {
// 1 上 2下
return post('/off/upOffList', data)
return post('/zlpt-equip/off/upOffList', data)
}
// 详情
export const apiSelectInfo = (params: any) => {
return get(`/off/selectInfo`, params)
return get(`/zlpt-equip/off/selectInfo`, params)
}
// 下架列表
export const apiOff = (params: any) => {
return post(`/off/edit`, params)
return post(`/zlpt-equip/off/edit`, params)
}
export const typeTreeSelect = (params: any) => {
return get(`/type/treeSelect`, params)
return get(`/zlpt-equip/type/treeSelect`, params)
}