From c96fbe6b0aeb413a17c429133ee6d81d138144b9 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期二, 09 六月 2026 10:58:52 +0800
Subject: [PATCH] Merge branch '1.0' of http://120.76.84.145:10101/gitblit/r/java/Robotaxi into 1.0
---
xp-robotaxi-vehicle-convoy-boot/src/main/java/com/xiaopeng/vehicleConvoy/controller/HttpTestController.java | 65 +++++++++++++++++++++++++++++---
1 files changed, 59 insertions(+), 6 deletions(-)
diff --git a/xp-robotaxi-vehicle-convoy-boot/src/main/java/com/xiaopeng/vehicleConvoy/controller/HttpTestController.java b/xp-robotaxi-vehicle-convoy-boot/src/main/java/com/xiaopeng/vehicleConvoy/controller/HttpTestController.java
index c0de1ae..3fcd0db 100644
--- a/xp-robotaxi-vehicle-convoy-boot/src/main/java/com/xiaopeng/vehicleConvoy/controller/HttpTestController.java
+++ b/xp-robotaxi-vehicle-convoy-boot/src/main/java/com/xiaopeng/vehicleConvoy/controller/HttpTestController.java
@@ -2,6 +2,7 @@
import com.xiaopeng.common.core.domain.R;
+import com.xiaopeng.vehicleConvoy.config.MinistryTransportProperties;
import com.xiaopeng.vehicleConvoy.model.dto.*;
import com.xiaopeng.vehicleConvoy.util.MinistryOfTransport;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -46,6 +47,57 @@
@Resource
private MinistryOfTransport ministryOfTransport;
+
+ @Resource
+ private MinistryTransportProperties ministryTransportProperties;
+
+ private String addressCode() {
+ return ministryTransportProperties.getOperateAddressCode();
+ }
+
+ private String cityCode() {
+ return ministryTransportProperties.getVehicleAddressCode();
+ }
+
+ private String companyIdentifier() {
+ return ministryTransportProperties.getOperateIdentifier();
+ }
+
+ private String licenseId() {
+ return ministryTransportProperties.getLicenseId();
+ }
+
+ private String driverCertNo() {
+ return ministryTransportProperties.getDriverCertCard();
+ }
+
+ private String vehicleCertNo() {
+ return ministryTransportProperties.getVehicleCertNo();
+ }
+
+ private String driverPhone() {
+ return ministryTransportProperties.getDriverPhone();
+ }
+
+ private String driverName() {
+ return ministryTransportProperties.getDriverName();
+ }
+
+ private String driverIdCard() {
+ return ministryTransportProperties.getDriverIdCard();
+ }
+
+ private String ownerName() {
+ return ministryTransportProperties.getOwnerName();
+ }
+
+ private String transAgency() {
+ return ministryTransportProperties.getTransAgency();
+ }
+
+ private String fareType() {
+ return ministryTransportProperties.getFareType();
+ }
@ResponseBody
@RequestMapping("/base/v0.1/test/auth/token")
@@ -221,11 +273,6 @@
return execute(() -> ministryOfTransport.pushPassengerComplaintInfo(buildPassengerComplaintInfo()));
}
- @ResponseBody
- @RequestMapping("/base/v0.1/test/quality/clzxbb")
- public R<String> testPushClzxbb() {
- return execute(() -> ministryOfTransport.pushVehicleCancelReportInfo(buildVehicleCancelReportInfo()));
- }
@ResponseBody
@RequestMapping("/base/v0.1/test/quality/jsycf")
@@ -240,7 +287,7 @@
}
@ResponseBody
- @RequestMapping("/base/v0.1/test/quality/rcdygx")
+ @RequestMapping("/base/v0.1/test/relationship/rcdygx")
public R<String> testPushRcdygx() {
return execute(() -> ministryOfTransport.pushDriverVehicleRelationInfo(buildDriverVehicleRelationInfo()));
}
@@ -258,6 +305,12 @@
}
@ResponseBody
+ @RequestMapping("/base/v0.1/test/regist/clzxbb")
+ public R<String> testPushClzxbb() {
+ return execute(() -> ministryOfTransport.pushVehicleCancelReportInfo(buildVehicleCancelReportInfo()));
+ }
+
+ @ResponseBody
@RequestMapping("/base/v0.1/test/regist/ptjhptxx")
public R<String> testPushPtjhptxx() {
return execute(() -> ministryOfTransport.pushPlatformAggregationInfo(buildPlatformAggregationInfo()));
--
Gitblit v1.7.1