فهرست منبع

添加data模块

yanghuangyu 1 سال پیش
والد
کامیت
1a4d13e90e

+ 2 - 2
climate-admin/src/main/java/com/climate/ClimateApplication.java

@@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
 
 /**
  * 启动程序
- * 
+ *
  * @author climate
  */
 @SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@@ -16,7 +16,7 @@ public class ClimateApplication
     {
         // System.setProperty("spring.devtools.restart.enabled", "false");
         SpringApplication.run(ClimateApplication.class, args);
-        System.out.println("(♥◠‿◠)ノ゙  若依启动成功   ლ(´ڡ`ლ)゙  \n" +
+        System.out.println("(♥◠‿◠)ノ゙  气候资源评估系统启动成功   ლ(´ڡ`ლ)゙  \n" +
                 " .-------.       ____     __        \n" +
                 " |  _ _   \\      \\   \\   /  /    \n" +
                 " | ( ' )  |       \\  _. /  '       \n" +

+ 17 - 0
climate_data/client.config

@@ -0,0 +1,17 @@
+#(1)//服务地址,必选
+music_server=10.203.90.120
+#(2)//端口号
+music_port=80
+#(3)//连接超时,秒,可选
+music_connTimeout=3
+#(4)//数据读取超时,毫秒,可选
+music_readTimeout=30000
+#(5)//默认的服务节点ID
+music_ServiceId=NMIC_MUSIC_CMADAAS
+
+##(6)是否为存储挂载方式,0文件将上传到服务端,1文件通过本地挂载盘写到服务端
+music_store_backstage=0
+##(7)如果为true,必须填写挂载目录对应位置
+music_local_mount=F://CIMISS
+##(8)如果为true,服务端挂载目录位置
+music_server_mount=/home/api/api/CIMISS

+ 157 - 0
climate_data/pom.xml

@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+    <parent>
+        <groupId>com.climate</groupId>
+        <artifactId>climate</artifactId>
+        <version>3.8.6</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>climate_data</artifactId>
+    <description>
+        climate_data数据模块
+    </description>
+
+    <dependencies>
+        <!-- SpringBoot的依赖配置-->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-dependencies</artifactId>
+            <version>2.5.15</version>
+            <type>pom</type>
+            <scope>import</scope>
+        </dependency>
+
+        <!-- 阿里数据库连接池 -->
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>druid-spring-boot-starter</artifactId>
+            <version>${druid.version}</version>
+        </dependency>
+
+        <!-- 解析客户端操作系统、浏览器等 -->
+        <dependency>
+            <groupId>eu.bitwalker</groupId>
+            <artifactId>UserAgentUtils</artifactId>
+            <version>${bitwalker.version}</version>
+        </dependency>
+
+        <!-- pagehelper 分页插件 -->
+        <dependency>
+            <groupId>com.github.pagehelper</groupId>
+            <artifactId>pagehelper-spring-boot-starter</artifactId>
+            <version>${pagehelper.boot.version}</version>
+        </dependency>
+
+        <!-- 获取系统信息 -->
+        <dependency>
+            <groupId>com.github.oshi</groupId>
+            <artifactId>oshi-core</artifactId>
+            <version>${oshi.version}</version>
+        </dependency>
+
+        <!-- Swagger3依赖 -->
+        <dependency>
+            <groupId>io.springfox</groupId>
+            <artifactId>springfox-boot-starter</artifactId>
+            <version>${swagger.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>io.swagger</groupId>
+                    <artifactId>swagger-models</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+        <!-- io常用工具类 -->
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>${commons.io.version}</version>
+        </dependency>
+
+        <!-- excel工具 -->
+        <dependency>
+            <groupId>org.apache.poi</groupId>
+            <artifactId>poi-ooxml</artifactId>
+            <version>${poi.version}</version>
+        </dependency>
+
+        <!-- velocity代码生成使用模板 -->
+        <dependency>
+            <groupId>org.apache.velocity</groupId>
+            <artifactId>velocity-engine-core</artifactId>
+            <version>${velocity.version}</version>
+        </dependency>
+
+        <!-- collections工具类 -->
+        <dependency>
+            <groupId>commons-collections</groupId>
+            <artifactId>commons-collections</artifactId>
+            <version>${commons.collections.version}</version>
+        </dependency>
+
+        <!-- 阿里JSON解析器 -->
+        <dependency>
+            <groupId>com.alibaba.fastjson2</groupId>
+            <artifactId>fastjson2</artifactId>
+            <version>${fastjson.version}</version>
+        </dependency>
+
+        <!-- Token生成与解析-->
+        <dependency>
+            <groupId>io.jsonwebtoken</groupId>
+            <artifactId>jjwt</artifactId>
+            <version>${jwt.version}</version>
+        </dependency>
+
+        <!-- 验证码 -->
+        <dependency>
+            <groupId>pro.fessional</groupId>
+            <artifactId>kaptcha</artifactId>
+            <version>${kaptcha.version}</version>
+        </dependency>
+
+        <!-- 定时任务-->
+        <dependency>
+            <groupId>com.climate</groupId>
+            <artifactId>climate-quartz</artifactId>
+            <version>${climate.version}</version>
+        </dependency>
+
+
+        <!-- 核心模块-->
+        <dependency>
+            <groupId>com.climate</groupId>
+            <artifactId>climate-framework</artifactId>
+            <version>${climate.version}</version>
+        </dependency>
+
+        <!-- 系统模块-->
+        <dependency>
+            <groupId>com.climate</groupId>
+            <artifactId>climate-system</artifactId>
+            <version>${climate.version}</version>
+        </dependency>
+
+        <!-- 通用工具-->
+        <dependency>
+            <groupId>com.climate</groupId>
+            <artifactId>climate-common</artifactId>
+            <version>${climate.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context</artifactId>
+        </dependency>
+
+    </dependencies>
+
+    <properties>
+        <maven.compiler.source>8</maven.compiler.source>
+        <maven.compiler.target>8</maven.compiler.target>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
+
+</project>

BIN
climate_data/src/lib/commons-codec-1.6.jar


BIN
climate_data/src/lib/commons-logging-1.1.3.jar


BIN
climate_data/src/lib/fastjson-1.2.56.jar


BIN
climate_data/src/lib/httpclient-4.3.3.jar


BIN
climate_data/src/lib/httpcore-4.3.2.jar


BIN
climate_data/src/lib/music-sdk-java.jar


BIN
climate_data/src/lib/protobuf-java-3.0.0-beta-4.jar


+ 4 - 0
climate_data/src/main/java/com/climate/data/service/impl/tq.java

@@ -0,0 +1,4 @@
+package com.climate.data.service.impl;
+
+public class tq {
+}

+ 4 - 0
climate_data/src/main/java/com/climate/data/service/tq.java

@@ -0,0 +1,4 @@
+package com.climate.data.service;
+
+public interface tq {
+}

+ 5 - 4
pom.xml

@@ -3,7 +3,7 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
 	<modelVersion>4.0.0</modelVersion>
-	
+
     <groupId>com.climate</groupId>
     <artifactId>climate</artifactId>
     <version>3.8.6</version>
@@ -11,7 +11,7 @@
     <name>climate</name>
     <url>http://www.climate.vip</url>
     <description>若依管理系统</description>
-    
+
     <properties>
         <climate.version>3.8.6</climate.version>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -31,7 +31,7 @@
         <velocity.version>2.3</velocity.version>
         <jwt.version>0.9.1</jwt.version>
     </properties>
-	
+
     <!-- 依赖声明 -->
     <dependencyManagement>
         <dependencies>
@@ -179,6 +179,7 @@
         <module>climate-system</module>
         <module>climate-quartz</module>
         <module>climate-common</module>
+        <module>climate_data</module>
     </modules>
     <packaging>pom</packaging>
 
@@ -222,4 +223,4 @@
         </pluginRepository>
     </pluginRepositories>
 
-</project>
+</project>