From f4faf4d82823dc9306d51791037e728c035cb2a3 Mon Sep 17 00:00:00 2001
From: SuiXxx <1752599835@qq.com>
Date: Sun, 29 Sep 2024 15:38:08 +0800
Subject: [PATCH] =?UTF-8?q?feat():=E5=BC=80=E5=90=AF=E5=85=B3=E9=97=ADESC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cloud-modules-vehiclegateway/pom.xml | 25 +++++++++++++++++++
.../impl/VehicleInstanceServiceImpl.java | 22 ----------------
2 files changed, 25 insertions(+), 22 deletions(-)
delete mode 100644 cloud-modules/cloud-modules-vehiclegateway/src/main/java/com/muyu/vehicle/service/impl/VehicleInstanceServiceImpl.java
diff --git a/cloud-modules/cloud-modules-vehiclegateway/pom.xml b/cloud-modules/cloud-modules-vehiclegateway/pom.xml
index 6be8747..e84de72 100644
--- a/cloud-modules/cloud-modules-vehiclegateway/pom.xml
+++ b/cloud-modules/cloud-modules-vehiclegateway/pom.xml
@@ -98,6 +98,31 @@
org.eclipse.paho.client.mqttv3
1.2.5
+
+
+
+
+ com.aliyun
+ ecs20140526
+ 5.1.8
+
+
+ com.aliyun
+ tea-openapi
+ 0.3.2
+
+
+ com.aliyun
+ tea-console
+ 0.0.1
+
+
+ com.aliyun
+ tea-util
+ 0.2.21
+
+
+
diff --git a/cloud-modules/cloud-modules-vehiclegateway/src/main/java/com/muyu/vehicle/service/impl/VehicleInstanceServiceImpl.java b/cloud-modules/cloud-modules-vehiclegateway/src/main/java/com/muyu/vehicle/service/impl/VehicleInstanceServiceImpl.java
deleted file mode 100644
index 910e450..0000000
--- a/cloud-modules/cloud-modules-vehiclegateway/src/main/java/com/muyu/vehicle/service/impl/VehicleInstanceServiceImpl.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package com.muyu.vehicle.service.impl;
-
-import com.muyu.common.core.utils.uuid.UUID;
-import lombok.extern.log4j.Log4j2;
-import org.springframework.stereotype.Service;
-
-@Log4j2
-@Service
-public class VehicleInstanceServiceImpl implements VehicleInstanceService {
- @Override
- public void vehicleClientStart(String vin) {
- log.info("车辆{},开始上线",vin);
- String timestamp = String.valueOf(System.currentTimeMillis());
- VehicleConnectionReq.builder()
- .vin(vin)
- .timestamp(timestamp)
- .userName(MD5Util.encrypted(vin+timestamp))
- .nonce(MD5Util.encrypted(UUID.randomUUID().toString().replace("-","")))
- .build();
- //
- }
-}