feat:
1. notice module
This commit is contained in:
@@ -110,14 +110,14 @@ public class APPUserController {
|
||||
@PostMapping("/notice-detail")
|
||||
@ApiOperationSupport(order = 6)
|
||||
@Operation(summary = "用户读取消息", description = "传入request")
|
||||
public R<Boolean> appUserReadNotice(@RequestBody AppUserNoticeRequest request) {
|
||||
public R<Boolean> noticeDetail(@RequestBody AppUserNoticeRequest request) {
|
||||
return R.status(userNoticeService.appUserReadNotice(request));
|
||||
}
|
||||
|
||||
@GetMapping("/unread-num")
|
||||
@ApiOperationSupport(order = 6)
|
||||
@Operation(summary = "用户未读消息数量")
|
||||
public R<Integer> appNotReadNoticeNum() {
|
||||
public R<Integer> unreadNum() {
|
||||
return R.data(userNoticeService.appNotReadNoticeNum());
|
||||
}
|
||||
|
||||
|
||||
@@ -60,27 +60,27 @@ public class MarketUserController {
|
||||
|
||||
|
||||
|
||||
@GetMapping("/market-notice-page")
|
||||
@GetMapping("/notice-page")
|
||||
@ApiOperationSupport(order = 6)
|
||||
@Operation(summary = "用户消息列表", description = "传入userNoticeVO")
|
||||
public R<IPage<AppUserNoticeVO>> marketUserNoticeList( Query query) {
|
||||
IPage<AppUserNoticeVO> pages = userNoticeService.selectMarketUserNoticeApiPage(Condition.getPage(query));
|
||||
public R<IPage<AppUserNoticeVO>> noticePage(Query query) {
|
||||
IPage<AppUserNoticeVO> pages = userNoticeService.selectAppUserNoticeApiPage(Condition.getPage(query));
|
||||
return R.data(pages);
|
||||
}
|
||||
|
||||
@GetMapping("/market-notread-notice-num")
|
||||
|
||||
@PostMapping("/notice-detail")
|
||||
@ApiOperationSupport(order = 6)
|
||||
@Operation(summary = "用户未读消息数量")
|
||||
public R<Integer> marketNotReadNoticeNum() {
|
||||
return R.data(userNoticeService.marketNotReadNoticeNum());
|
||||
@Operation(summary = "用户消息详情", description = "传入request")
|
||||
public R<Boolean> noticeDetail(@RequestBody AppUserNoticeRequest request) {
|
||||
return R.status(userNoticeService.appUserReadNotice(request));
|
||||
}
|
||||
|
||||
|
||||
@PostMapping("/market-read-notice")
|
||||
@GetMapping("/unread-num")
|
||||
@ApiOperationSupport(order = 6)
|
||||
@Operation(summary = "用户读取消息", description = "传入request")
|
||||
public R<Boolean> marketUserReadNotice(@RequestBody AppUserNoticeRequest request) {
|
||||
return R.status(userNoticeService.marketUserReadNotice(request));
|
||||
@Operation(summary = "用户未读消息数量")
|
||||
public R<Integer> unreadNum() {
|
||||
return R.data(userNoticeService.appNotReadNoticeNum());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user