管道基础大数据平台系统开发-【后端】-Server
q
13693261870
2022-11-14 1f4d1206730d0acd99a2b4bcfa834c9fcf6b85cd
q
已添加1个文件
已修改1个文件
40 ■■■■■ 文件已修改
pom.xml 15 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/lf/server/controller/other/FloatServerController.java 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pom.xml
@@ -23,6 +23,7 @@
    </properties>
    <dependencies>
        <!--spring-boot-->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
@@ -48,7 +49,7 @@
            <artifactId>lombok</artifactId>
            <optional>true</optional>
        </dependency>
        <!-- mybatis-plus -->
        <!--mybatis-plus-->
        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
@@ -133,12 +134,12 @@
            <artifactId>springfox-swagger-ui</artifactId>
            <version>2.9.2</version>
        </dependency>
        <!-- httpclient -->
        <!--httpclient-->
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
        </dependency>
        <!--娣诲姞WebSocket渚濊禆-->
        <!--websocket-->
        <dependency>
            <groupId>javax.websocket</groupId>
            <artifactId>javax.websocket-api</artifactId>
@@ -182,7 +183,7 @@
            <artifactId>commons-io</artifactId>
            <version>2.11.0</version>
        </dependency>
        <!--GDAL-->
        <!--gdal-->
        <dependency>
            <groupId>org.gdal</groupId>
            <artifactId>gdal</artifactId>
@@ -194,6 +195,12 @@
            <artifactId>zip4j</artifactId>
            <version>2.6.4</version>
        </dependency>
        <!--easyexcel-->
        <dependency>
            <groupId>com.alibaba</groupId>
            <artifactId>easyexcel</artifactId>
            <version>2.2.10</version>
        </dependency>
    </dependencies>
    <build>
src/main/java/com/lf/server/controller/other/FloatServerController.java
对比新文件
@@ -0,0 +1,25 @@
package com.lf.server.controller.other;
import com.lf.server.controller.all.BaseController;
import com.lf.server.helper.HttpHelper;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@Api(tags = "FloatServer")
@RestController
@RequestMapping("/floatserver")
public class FloatServerController extends BaseController {
    @RequestMapping({"/checkout/license"})
    public void license(HttpServletRequest req, HttpServletResponse res) {
        try {
            HttpHelper httpHelper = new HttpHelper();
            httpHelper.service(req, res, "http://192.168.20.43:38080/floatserver/checkout/license", null);
        } catch (Exception ex) {
        }
    }
}