package com.xiaopeng.account.controller; import com.xiaopeng.account.model.query.XpOperationsUserNotificationPageQuery; import com.xiaopeng.account.service.IXpOperationsUserNotificationService; import com.xiaopeng.api.model.account.XpOperationsUserNotification; import com.xiaopeng.common.core.domain.R; import com.xiaopeng.common.core.web.page.PageInfo; import com.xiaopeng.common.security.service.TokenService; import io.swagger.annotations.ApiOperation; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RestController; /** *
* 运维人员消息通知表 前端控制器 *
* * @author mitao * @since 2026-02-03 */ @Slf4j @RestController public class XpOperationsUserNotificationController { @Autowired private IXpOperationsUserNotificationService notificationService; @Autowired private TokenService tokenService; /** * 根据当前登录用户获取通知分页列表(运维APP接口) */ @PostMapping("/api/v1/notification/list") @ApiOperation(value = "获取通知分页列表", tags = {"运维APP-消息通知"}) public R