From c3b2d6d35b77d11ff86d45926501493b7fc8886e Mon Sep 17 00:00:00 2001 From: wjt <1797368093@qq.com> Date: 星期二, 23 七月 2024 10:30:20 +0800 Subject: [PATCH] 新功能添加 --- api/index.js | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/api/index.js b/api/index.js index 2c75ae4..8f83188 100644 --- a/api/index.js +++ b/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 }}); } \ No newline at end of file -- Gitblit v1.9.1