不用依赖sec-beidou-rtcm-api
This commit is contained in:
parent
b15d008090
commit
0a2a52fef4
@ -10,11 +10,12 @@
|
||||
</parent>
|
||||
|
||||
<artifactId>sec-beidou</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>beidou</name>
|
||||
<description>beidou</description>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
@ -38,11 +39,6 @@
|
||||
<version>1.4.3</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-validation</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
<artifactId>mybatis-plus-boot-starter</artifactId>
|
||||
@ -73,35 +69,12 @@
|
||||
<artifactId>spring-security-test</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.netty</groupId>
|
||||
<artifactId>netty-all</artifactId>
|
||||
<version>4.1.85.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.2.76</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.jsonwebtoken</groupId>
|
||||
<artifactId>jjwt</artifactId>
|
||||
<version>0.9.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.google.code.gson</groupId>
|
||||
<artifactId>gson</artifactId>
|
||||
<version>2.9.1</version>
|
||||
</dependency>
|
||||
|
||||
<!-- apache http client -->
|
||||
<dependency>
|
||||
<groupId>org.apache.httpcomponents</groupId>
|
||||
<artifactId>httpclient</artifactId>
|
||||
<version>4.5.7</version>
|
||||
</dependency>
|
||||
|
||||
<!-- request parameters validate -->
|
||||
<dependency>
|
||||
<groupId>jakarta.validation</groupId>
|
||||
|
||||
@ -1,25 +0,0 @@
|
||||
package com.imdroid.beidou.controller;
|
||||
|
||||
import com.imdroid.sideslope.api.BeidouRtcmApi;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @author LiGang
|
||||
* @date 2023/10/22 21:26
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("/test")
|
||||
public class TestController {
|
||||
|
||||
@Autowired
|
||||
private BeidouRtcmApi beidouRtcmApi;
|
||||
|
||||
@GetMapping("/clean-tilt")
|
||||
public String cleanTilt(@RequestParam(name = "deviceId") String deviceId) {
|
||||
return beidouRtcmApi.cleanTilt(deviceId);
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user