From 95f1cf4910b31fa661f1464e03379bd0a99e9d4e Mon Sep 17 00:00:00 2001 From: 叶松 <2217086471@qq.com> Date: 星期四, 16 十一月 2023 16:33:01 +0800 Subject: [PATCH] 修改接口信息 --- xcx/api/module/system.js | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/xcx/api/module/system.js b/xcx/api/module/system.js index c5f210a..8baf8be 100644 --- a/xcx/api/module/system.js +++ b/xcx/api/module/system.js @@ -45,6 +45,11 @@ getAllPersons: (params) => axios.post('/staff/platUser/pulldown', params), // 获取所有部门信息 - getAllDepartmentData: () => - axios.post('/staff/depart/pulldownList'), + getAllDepartmentData: (params) => + axios.post('/staff/depart/pulldownList',{ + header: { + "content-type":'application/json' + }, + ...params + }), } \ No newline at end of file -- Gitblit v1.9.3