From e02bf5a481c0301baf40f9f729ee49f1037a0854 Mon Sep 17 00:00:00 2001
From: yyy <1083599556@qq.com>
Date: 星期日, 17 五月 2026 10:37:01 +0800
Subject: [PATCH] 修改定向服务查询

---
 xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpTargetedServiceController.java |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpTargetedServiceController.java b/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpTargetedServiceController.java
index 7452299..8711214 100644
--- a/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpTargetedServiceController.java
+++ b/xp-robotaxi-operation-boot/src/main/java/com/xiaopeng/operation/controller/XpTargetedServiceController.java
@@ -177,6 +177,16 @@
     }
 
 
-
+    /**
+     * 获取定向服务权限
+     * @param appUserId
+     * @param cityCode
+     * @return
+     */
+    @GetMapping("/logan/inner/v1/targetedService/getTargetedServiceWeight")
+    public R<Integer> getTargetedServiceWeight(@RequestParam("appUserId") Long appUserId, @RequestParam("cityCode") String cityCode){
+        Integer targetedServiceWeight = xpTargetedServiceService.getTargetedServiceWeight(appUserId, cityCode);
+        return R.ok(targetedServiceWeight);
+    }
 
 }

--
Gitblit v1.7.1