|
|
@ -66,7 +66,7 @@ public class AppEnfCpNoticeController { |
|
|
* status=0 存为草稿, status=1 发布预告 |
|
|
* status=0 存为草稿, status=1 发布预告 |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
@PostMapping() |
|
|
@PostMapping("/save") |
|
|
public R<String> save(@RequestBody EfcodeCpNoticeBo bo) { |
|
|
public R<String> save(@RequestBody EfcodeCpNoticeBo bo) { |
|
|
return R.ok(efcodeCpNoticeService.saveNotice(bo)); |
|
|
return R.ok(efcodeCpNoticeService.saveNotice(bo)); |
|
|
} |
|
|
} |
|
|
@ -74,7 +74,7 @@ public class AppEnfCpNoticeController { |
|
|
/** |
|
|
/** |
|
|
* 修改预告(仅草稿状态可修改) |
|
|
* 修改预告(仅草稿状态可修改) |
|
|
*/ |
|
|
*/ |
|
|
@PutMapping() |
|
|
@PutMapping("/update") |
|
|
public R<String> update(@RequestBody EfcodeCpNoticeBo bo) { |
|
|
public R<String> update(@RequestBody EfcodeCpNoticeBo bo) { |
|
|
return R.ok(efcodeCpNoticeService.updateNotice(bo)); |
|
|
return R.ok(efcodeCpNoticeService.updateNotice(bo)); |
|
|
} |
|
|
} |
|
|
|