init: cdk初步+语言管理
This commit is contained in:
@@ -35,5 +35,7 @@
|
||||
|
||||
<!-- 系统功能插件api接口 -->
|
||||
<module>storm-plugin-sys-api</module>
|
||||
<module>storm-plugin-cdk-api</module>
|
||||
<module>storm-plugin-inter-api</module>
|
||||
</modules>
|
||||
</project>
|
||||
|
||||
24
storm-plugin-api/storm-plugin-cdk-api/pom.xml
Normal file
24
storm-plugin-api/storm-plugin-cdk-api/pom.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>vip.storm</groupId>
|
||||
<artifactId>storm-plugin-api</artifactId>
|
||||
<version>3.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>storm-plugin-cdk-api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<description>cdk功能插件api接口</description>
|
||||
|
||||
<dependencies>
|
||||
<!-- 每个插件接口都要引入common -->
|
||||
<dependency>
|
||||
<groupId>vip.storm</groupId>
|
||||
<artifactId>storm-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,11 @@
|
||||
package vip.storm;
|
||||
|
||||
/**
|
||||
* @Author: lyd
|
||||
* @Date: ${DATE}
|
||||
*/
|
||||
public class Main {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello world!");
|
||||
}
|
||||
}
|
||||
24
storm-plugin-api/storm-plugin-inter-api/pom.xml
Normal file
24
storm-plugin-api/storm-plugin-inter-api/pom.xml
Normal file
@@ -0,0 +1,24 @@
|
||||
<?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">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<parent>
|
||||
<groupId>vip.storm</groupId>
|
||||
<artifactId>storm-plugin-api</artifactId>
|
||||
<version>3.0.0</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>storm-plugin-inter-api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<description>语言包api接口</description>
|
||||
|
||||
<dependencies>
|
||||
<!-- 每个插件接口都要引入common -->
|
||||
<dependency>
|
||||
<groupId>vip.storm</groupId>
|
||||
<artifactId>storm-common</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
@@ -0,0 +1,15 @@
|
||||
package vip.storm.inter.api;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import vip.storm.inter.core.ProjectLangDto;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 项目接口
|
||||
* @Author: lyd
|
||||
* @Date: 2025/9/29
|
||||
*/
|
||||
public interface InterProjectLangApi {
|
||||
List<JSONObject> getProjectLangDatas(String projectId);
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
package vip.storm.inter.core;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 项目-语言实体
|
||||
* @Author: lyd
|
||||
* @Date: 2025/9/29
|
||||
*/
|
||||
@Data
|
||||
public class ProjectLangDto implements Serializable {
|
||||
/** 项目-语言id */
|
||||
@Schema(description = "项目-语言id")
|
||||
private String plId;
|
||||
|
||||
/** 项目id */
|
||||
@Schema(description = "项目id")
|
||||
private String projectId;
|
||||
|
||||
/** 语言 */
|
||||
@Schema(description = "语言")
|
||||
private String langId;
|
||||
|
||||
/** 语言json */
|
||||
@Schema(description = "语言json")
|
||||
private String langData;
|
||||
|
||||
/** 删除标志 */
|
||||
@Schema(description = "删除标志")
|
||||
private String deleteFlag;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/**
|
||||
* 对外暴露的API
|
||||
* @Author: lyd
|
||||
* @Date: 2025/9/29
|
||||
*/
|
||||
package vip.storm.inter;
|
||||
Reference in New Issue
Block a user