346149741
2024-09-03 e4a8926b5315a51b10e883cfd4634cd90c568418
api/index.js
@@ -20,4 +20,16 @@
// 企业注册
export function companyRegister(data) {
   return http.post('/system/company/add', {params: data}, { custom: { loading: true }});
}
// /system/dept/list
export function deptList(data) {
   return http.get('/system/dept/allList', {params: data}, { custom: { loading: true }});
}
// /enforce/company/log/add
export function addLog(data) {
   return http.post('/enforce/company/log/add', data, { custom: { loading: true }});
}
// enforce/complaint/log/add
export function complaintAdd(data) {
   return http.post('/enforce/complaint/log/add', data, { custom: { loading: true }});
}