From 1370d46d24c8ab9b6dc27305a17661ee6a706b60 Mon Sep 17 00:00:00 2001 From: lisy <linlangsur163@163.com> Date: 星期三, 05 七月 2023 15:17:14 +0800 Subject: [PATCH] account模块:教练实体类、课时续课详情 --- cloud-server-other/src/main/java/com/dsh/other/controller/SystemNoticeController.java | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/SystemNoticeController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/SystemNoticeController.java index 04c441b..e6da020 100644 --- a/cloud-server-other/src/main/java/com/dsh/other/controller/SystemNoticeController.java +++ b/cloud-server-other/src/main/java/com/dsh/other/controller/SystemNoticeController.java @@ -8,10 +8,7 @@ import com.dsh.other.service.NoticeService; import com.dsh.other.service.PhoneService; import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.PostMapping; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.bind.annotation.*; import java.text.SimpleDateFormat; import java.util.ArrayList; @@ -53,7 +50,7 @@ @PostMapping("/base/notice/queryNotice") - public SysNotice getSysNoticeBuId(@RequestBody Integer noticeId){ + public SysNotice getSysNoticeBuId(@RequestParam("noticeId") Integer noticeId){ SysNotice sysNotice = new SysNotice(); Notice notice = noticeSers.getById(noticeId); if (null != notice){ -- Gitblit v1.7.1