|
@@ -38,7 +38,7 @@ public class TNoticeController {
|
|
|
TNoticeService noticeService;
|
|
|
|
|
|
@ApiOperation(value = "添加公告")
|
|
|
- @GetMapping("/addNotice")
|
|
|
+ @PostMapping("/addNotice")
|
|
|
public ResponseModel<?> addNotice(@RequestBody TNotice notice) {
|
|
|
if(StringUtils.isEmpty(notice.getNote())){
|
|
|
return R.fail(ResponseCodesEnum.A0001,"内容为空");
|