feat:
1. notice module
This commit is contained in:
@@ -118,11 +118,11 @@ public class APPUserController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/notice-detail")
|
@GetMapping("/notice-detail")
|
||||||
@ApiOperationSupport(order = 9)
|
@ApiOperationSupport(order = 9)
|
||||||
@Operation(summary = "用户读取消息", description = "传入request")
|
@Operation(summary = "用户读取消息")
|
||||||
public R<CommonUserNoticeDetailApiVO> noticeDetail(@RequestBody @Valid NoticeDetailRequest request) {
|
public R<CommonUserNoticeDetailApiVO> noticeDetail(Long id) {
|
||||||
return R.data(userNoticeService.userNoticeDetail(request.getId()));
|
return R.data(userNoticeService.userNoticeDetail(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/unread")
|
@GetMapping("/unread")
|
||||||
|
|||||||
@@ -80,11 +80,11 @@ public class MarketUserController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@PostMapping("/notice-detail")
|
@GetMapping("/notice-detail")
|
||||||
@ApiOperationSupport(order = 6)
|
@ApiOperationSupport(order = 6)
|
||||||
@Operation(summary = "用户消息详情", description = "传入request")
|
@Operation(summary = "用户消息详情", description = "传入request")
|
||||||
public R<CommonUserNoticeDetailApiVO> noticeDetail(@RequestBody @Valid NoticeDetailRequest request) {
|
public R<CommonUserNoticeDetailApiVO> noticeDetail(Long id) {
|
||||||
return R.data(userNoticeService.userNoticeDetail(request.getId()));
|
return R.data(userNoticeService.userNoticeDetail(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/unread-num")
|
@GetMapping("/unread-num")
|
||||||
|
|||||||
Reference in New Issue
Block a user