通知中心调整
This commit is contained in:
@@ -58,6 +58,15 @@ public class SyncNoticeController {
|
||||
return CzgResult.success(syncNoticeService.read(StpKit.USER.getShopId(), syncNoticeReadDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* 清空已读
|
||||
* @return 是否成功
|
||||
*/
|
||||
@DeleteMapping
|
||||
public CzgResult<Boolean> clear() {
|
||||
return CzgResult.success(syncNoticeService.remove(new QueryWrapper().eq(SyncNotice::getShopId, StpKit.USER.getShopId()).eq(SyncNotice::getIsRead, 1)));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 消息统计
|
||||
|
||||
Reference in New Issue
Block a user