From ee3bf9919c48d1e0fd42b37ada4fa05dc1822e46 Mon Sep 17 00:00:00 2001
From: puzhibing <393733352@qq.com>
Date: 星期日, 12 四月 2026 11:44:18 +0800
Subject: [PATCH] 修改运维APP路径前缀
---
xp-robotaxi-account-boot/src/main/java/com/xiaopeng/account/controller/XpOperationsUserNotificationController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/xp-robotaxi-account-boot/src/main/java/com/xiaopeng/account/controller/XpOperationsUserNotificationController.java b/xp-robotaxi-account-boot/src/main/java/com/xiaopeng/account/controller/XpOperationsUserNotificationController.java
index 35077ff..4471f53 100644
--- a/xp-robotaxi-account-boot/src/main/java/com/xiaopeng/account/controller/XpOperationsUserNotificationController.java
+++ b/xp-robotaxi-account-boot/src/main/java/com/xiaopeng/account/controller/XpOperationsUserNotificationController.java
@@ -34,7 +34,7 @@
/**
* 根据当前登录用户获取通知分页列表(运维APP接口)
*/
- @PostMapping("/api/v1/notification/list")
+ @PostMapping("/maintenance-app/api/v1/notification/list")
@ApiOperation(value = "获取通知分页列表", tags = {"运维APP-消息通知"})
public R<PageInfo<XpOperationsUserNotification>> getNotificationList(
@RequestBody XpOperationsUserNotificationPageQuery query) {
@@ -56,7 +56,7 @@
return R.ok(pageInfo);
}
- @GetMapping("/api/v1/notification/unreadCount")
+ @GetMapping("/maintenance-app/api/v1/notification/unreadCount")
@ApiOperation(value = "获取未读通知数量", tags = {"运维APP-消息通知"})
public R<Long> getUnreadNotificationCount() {
// 从Token中获取当前登录用户ID
@@ -66,7 +66,7 @@
return R.ok(count);
}
- @GetMapping("/api/v1/notification/read")
+ @GetMapping("/maintenance-app/api/v1/notification/read")
@ApiOperation(value = "操作已读", tags = "运维APP-消息通知")
public R<?> readNotification(@RequestParam Long notificationId){
notificationService.lambdaUpdate().set(XpOperationsUserNotification::getReadStatus, 1).eq(XpOperationsUserNotification::getId, notificationId).update();
--
Gitblit v1.7.1