|
|
@ -107,7 +107,7 @@ public class ApiNewsController { |
|
|
|
* @Exception |
|
|
|
* |
|
|
|
*/ |
|
|
|
@PostMapping("statement") |
|
|
|
@PostMapping("news/statement") |
|
|
|
public Result upDateStatement(@LoginUser TokenDto userDetail, EpdcNewsStatementFromDTO newsStatementFromDTO){ |
|
|
|
ValidatorUtils.validateEntity(newsStatementFromDTO); |
|
|
|
return newsService.upDateStatement(userDetail,newsStatementFromDTO); |
|
|
@ -122,7 +122,7 @@ public class ApiNewsController { |
|
|
|
* @Exception |
|
|
|
* |
|
|
|
*/ |
|
|
|
@PostMapping("browse") |
|
|
|
@PostMapping("news/browse") |
|
|
|
public Result modifyNewsBrowse(@RequestBody EpdcNewsBrowseFromDTO newsBrowseFromDTO){ |
|
|
|
ValidatorUtils.validateEntity(newsBrowseFromDTO); |
|
|
|
return newsService.modifyNewsBrowse(newsBrowseFromDTO); |
|
|
|