通知中心接口完善

This commit is contained in:
张松 2025-04-07 10:36:16 +08:00
parent 17d209c002
commit 89f57add06
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class SyncNoticeController {
* 消息统计
* @return 消息记录数
*/
@PutMapping("/count")
@GetMapping("/count")
public CzgResult<Long> count(@RequestParam(required = false) Integer isRead) {
QueryWrapper queryWrapper = new QueryWrapper().eq(SyncNotice::getShopId, StpKit.USER.getShopId());
queryWrapper.eq(SyncNotice::getIsRead, isRead);