From 3c23ff0b97edee7d1ea576027ed671000145d1cd Mon Sep 17 00:00:00 2001 From: HardenSG <2767525216@qq.com> Date: Thu, 6 Jun 2024 18:55:15 +0800 Subject: [PATCH 1/2] =?UTF-8?q?test:=20=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9d2da6f..e1c3281 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "notifyBoard_C", - "version": "0.11.0", + "version": "0.14.3", "private": true, "description": "notifyBoard_C", "templateInfo": { From 12f119c369b9b747f63003abff67988189d41f61 Mon Sep 17 00:00:00 2001 From: HardenSG <2767525216@qq.com> Date: Sat, 8 Jun 2024 21:57:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E4=BD=9C=E4=B8=9A=E6=8E=A5=E5=8F=A3=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Manage/components/work-manage/index.tsx | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/src/pages/main/Manage/components/work-manage/index.tsx b/src/pages/main/Manage/components/work-manage/index.tsx index 2f2a7f6..ef4d785 100644 --- a/src/pages/main/Manage/components/work-manage/index.tsx +++ b/src/pages/main/Manage/components/work-manage/index.tsx @@ -82,20 +82,17 @@ const Index = () => { showToast('您还有未填写的内容') return } - const query = `?courseId=${course.id}&title=${title}&publishPlatform=WX&publisherId=${ - getStorage('userInfo')?.nickname - }&description=${description}&deadline=${deadline}` Post({ - url: requestUrlCreator({ rootPath: 'WX_WORK', absolutePath: '/publishWork' + query }), + url: requestUrlCreator({ rootPath: 'WX_WORK', absolutePath: '/publishWork' }), silent: true, - // data: { - // courseId: course.id, - // publishPlatform: 'WX', - // publisherId: getStorage('userInfo')?.nickname, - // description, - // deadline, - // title, - // }, + data: { + courseId: course.id, + publishPlatform: 'WX', + publisherId: getStorage('userInfo')?.nickname, + description, + deadline, + title, + }, }).then(({ isSuccess, handleException }) => { isSuccess ? showToast('发布成功!') : handleException() })