提交
This commit is contained in:
parent
eaa64fb040
commit
18cd3e120d
@ -10,7 +10,6 @@ public class EncryptUtils extends CodingUtil {
|
||||
private static final String secretKey = "www.fit2cloud.co";
|
||||
private static final String iv = "1234567890123456";
|
||||
|
||||
|
||||
public static Object aesEncrypt(Object o) {
|
||||
if (o == null) {
|
||||
return null;
|
||||
|
8
package.json
Normal file
8
package.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"cross-env": "^7.0.3"
|
||||
},
|
||||
"dependencies": {
|
||||
"@form-create/vant": "^3.2.25"
|
||||
}
|
||||
}
|
@ -15,6 +15,7 @@
|
||||
<module>common</module>
|
||||
<module>api</module>
|
||||
<module>extensions</module>
|
||||
<module>sdk-bundle</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
70
sdk/sdk-bundle/pom.xml
Normal file
70
sdk/sdk-bundle/pom.xml
Normal file
@ -0,0 +1,70 @@
|
||||
<?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>
|
||||
<artifactId>sdk</artifactId>
|
||||
<groupId>io.gisbi</groupId>
|
||||
<version>1.0.0</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>sdk-bundle</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<!-- 依赖common模块 -->
|
||||
<dependency>
|
||||
<groupId>io.gisbi</groupId>
|
||||
<artifactId>common</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
|
||||
<!-- 依赖extensions模块 -->
|
||||
<dependency>
|
||||
<groupId>io.gisbi</groupId>
|
||||
<artifactId>extensions-datasource</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.gisbi</groupId>
|
||||
<artifactId>extensions-view</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.gisbi</groupId>
|
||||
<artifactId>extensions-datafilling</artifactId>
|
||||
<version>1.0.0</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<!-- Maven Assembly插件用于创建包含所有依赖的jar包 -->
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-assembly-plugin</artifactId>
|
||||
<version>3.6.0</version>
|
||||
<configuration>
|
||||
<descriptorRefs>
|
||||
<descriptorRef>jar-with-dependencies</descriptorRef>
|
||||
</descriptorRefs>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>io.gisbi.SdkBundle</mainClass>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>make-assembly</id>
|
||||
<phase>package</phase>
|
||||
<goals>
|
||||
<goal>single</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
</project>
|
29
sdk/sdk-bundle/src/main/java/io/gisbi/SdkBundle.java
Normal file
29
sdk/sdk-bundle/src/main/java/io/gisbi/SdkBundle.java
Normal file
@ -0,0 +1,29 @@
|
||||
package io.gisbi;
|
||||
|
||||
/**
|
||||
* SDK Bundle主类
|
||||
* 用于将common和extensions模块打包成一个jar包
|
||||
*/
|
||||
public class SdkBundle {
|
||||
|
||||
/**
|
||||
* 获取SDK版本信息
|
||||
* @return SDK版本信息
|
||||
*/
|
||||
public static String getVersion() {
|
||||
return "1.0.0";
|
||||
}
|
||||
|
||||
/**
|
||||
* 主方法,用于测试SDK是否正常加载
|
||||
* @param args 命令行参数
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
System.out.println("GIS-BI SDK Bundle Version: " + getVersion());
|
||||
System.out.println("SDK包含以下模块:");
|
||||
System.out.println("- common: 公共模块");
|
||||
System.out.println("- extensions-datasource: 数据源扩展模块");
|
||||
System.out.println("- extensions-view: 视图扩展模块");
|
||||
System.out.println("- extensions-datafilling: 数据填充扩展模块");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user