王恒
2025-08-06 c62f4961f9d86460a5d483d7b31c05f98b113290
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 }});
}