From a9015e429e40f83afdffd43552d34b82e67a75ff Mon Sep 17 00:00:00 2001 From: JYW <2013732181@qq.com> Date: 星期一, 29 四月 2024 17:34:10 +0800 Subject: [PATCH] 2024-04-29 自定义注解,给每个接口加上自定义注解 --- framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java b/framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java index ed5f19b..296bbb2 100644 --- a/framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java +++ b/framework/src/main/java/com/yuanchu/mom/controller/InformationNotificationController.java @@ -32,14 +32,14 @@ @Autowired private InformationNotificationService informationNotificationService; - @ApiOperation(value = "婊氬姩鍒嗛〉鏌ヨ") + @ApiOperation(value = "娑堟伅閫氱煡-婊氬姩鍒嗛〉鏌ヨ") @GetMapping("page") @ValueAuth public Result<?> getPage(Long size, Long current, String messageType) { return Result.success(informationNotificationService.getPage(new Page<>(current, size), messageType)); } - @ApiOperation(value = "鏇存柊娑堟伅鐘舵�侊紙鎷掔粷銆佹帴鏀讹級") + @ApiOperation(value = "娑堟伅閫氱煡-鏇存柊娑堟伅鐘舵�侊紙鎷掔粷銆佹帴鏀讹級") @PutMapping("updateMessageStatus") @ValueAuth public Result<?> updateMessageStatus(@RequestBody InformationNotification informationNotification) { @@ -47,7 +47,7 @@ return Result.success(); } - @ApiOperation(value = "鏍囪鎵�鏈変俊鎭负宸茶/鍒犻櫎鎵�鏈夊凡璇绘秷鎭�") + @ApiOperation(value = "娑堟伅閫氱煡-鏍囪鎵�鏈変俊鎭负宸茶/鍒犻櫎鎵�鏈夊凡璇绘秷鎭�") @PutMapping("informationReadOrDelete/{isMarkAllInformationRead}") @ValueAuth public Result<?> markAllInformationReadOrDeleteAllReadMessages(@PathVariable("isMarkAllInformationRead") Boolean isMarkAllInformationRead) { @@ -55,7 +55,7 @@ return Result.success(); } - @ApiOperation(value = "鏍规嵁Id鍒犻櫎鏁版嵁") + @ApiOperation(value = "娑堟伅閫氱煡-鍒犻櫎鏁版嵁") @DeleteMapping("deleteDataBasedOnId") @ValueAuth public Result<?> deleteDataBasedOnId(Integer id) { @@ -63,14 +63,14 @@ return Result.success(); } - @ApiOperation(value = "鏌ヨ鏄惁瀛樺湪鏈鏁版嵁") + @ApiOperation(value = "娑堟伅閫氱煡-鏌ヨ鏄惁瀛樺湪鏈鏁版嵁") @GetMapping("checkForUnreadData") @ValueAuth public Result<?> checkForUnreadData() { return Result.success(informationNotificationService.checkForUnreadData()); } - @ApiOperation(value = "鐐瑰嚮璇︽儏瑙﹀彂淇敼鐘舵�佷负宸茶") + @ApiOperation(value = "娑堟伅閫氱煡-鐐瑰嚮璇︽儏瑙﹀彂淇敼鐘舵�佷负宸茶") @PutMapping("triggerModificationStatusToRead/{id}") @ValueAuth public Result<?> triggerModificationStatusToRead(@PathVariable("id") Integer id) { -- Gitblit v1.9.3