From 6eaaba4f97028d581df3e019a7705d60b398c26e Mon Sep 17 00:00:00 2001 From: 叶松 <2217086471@qq.com> Date: 星期二, 21 十一月 2023 17:12:57 +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