新建模块
This commit is contained in:
parent
ac398daa72
commit
7f378a36d1
|
|
@ -16,13 +16,14 @@
|
|||
<module name="hangtag-spring-boot-starter-job" />
|
||||
<module name="hangtag-spring-boot-starter-redis" />
|
||||
<module name="hangtag-spring-boot-starter-test" />
|
||||
<module name="hangtag-module-gkbiz-biz" />
|
||||
<module name="hangtag-spring-boot-starter-biz-ip" />
|
||||
<module name="hangtag-spring-boot-starter-security" />
|
||||
<module name="hangtag-module-system-api" />
|
||||
<module name="hangtag-spring-boot-starter-protection" />
|
||||
<module name="hangtag-module-infra-biz" />
|
||||
<module name="hangtag-server" />
|
||||
<module name="hangtag-spring-boot-starter-web" />
|
||||
<module name="hangtag-server" />
|
||||
<module name="hangtag-spring-boot-starter-websocket" />
|
||||
<module name="hangtag-spring-boot-starter-biz-tenant" />
|
||||
<module name="hangtag-module-system-biz" />
|
||||
|
|
|
|||
|
|
@ -33,6 +33,10 @@
|
|||
<file url="file://$PROJECT_DIR$/hangtag-framework/hangtag-spring-boot-starter-websocket/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hangtag-framework/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hangtag-framework/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hangtag-module-gkbiz/hangtag-module-gkbiz-biz/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hangtag-module-gkbiz/hangtag-module-gkbiz-biz/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hangtag-module-gkbiz/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hangtag-module-gkbiz/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hangtag-module-infra/hangtag-module-infra-api/src/main/java" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hangtag-module-infra/hangtag-module-infra-api/src/main/resources" charset="UTF-8" />
|
||||
<file url="file://$PROJECT_DIR$/hangtag-module-infra/hangtag-module-infra-biz/src/main/java" charset="UTF-8" />
|
||||
|
|
|
|||
|
|
@ -0,0 +1,50 @@
|
|||
<?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>cn.hangtag</groupId>
|
||||
<artifactId>hangtag-module-gkbiz</artifactId>
|
||||
<version>${revision}</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<artifactId>hangtag-module-gkbiz-biz</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>${project.artifactId}</name>
|
||||
|
||||
|
||||
<dependencies>
|
||||
|
||||
<!-- 业务组件 -->
|
||||
|
||||
<!-- Web 相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.hangtag</groupId>
|
||||
<artifactId>hangtag-spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>cn.hangtag</groupId>
|
||||
<artifactId>hangtag-spring-boot-starter-security</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- DB 相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.hangtag</groupId>
|
||||
<artifactId>hangtag-spring-boot-starter-mybatis</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- Test 测试相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.hangtag</groupId>
|
||||
<artifactId>hangtag-spring-boot-starter-test</artifactId>
|
||||
</dependency>
|
||||
|
||||
<!-- 工具类相关 -->
|
||||
<dependency>
|
||||
<groupId>cn.hangtag</groupId>
|
||||
<artifactId>hangtag-spring-boot-starter-excel</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
</project>
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
/**
|
||||
* 属于 product 模块的 framework 封装
|
||||
*
|
||||
* @author 芋道源码
|
||||
*/
|
||||
package cn.hangtag.module.biz.framework;
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
package cn.hangtag.module.biz.framework.web.config;
|
||||
|
||||
import cn.hangtag.framework.swagger.config.HangtagSwaggerAutoConfiguration;
|
||||
import org.springdoc.core.GroupedOpenApi;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
/**
|
||||
* gkbiz 模块的 web 组件的 Configuration
|
||||
*
|
||||
* @author 芋道源码
|
||||
*/
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class ProductWebConfiguration {
|
||||
|
||||
/**
|
||||
* gkbiz 模块的 API 分组
|
||||
*/
|
||||
@Bean
|
||||
public GroupedOpenApi productGroupedOpenApi() {
|
||||
return HangtagSwaggerAutoConfiguration.buildGroupedOpenApi("gkbiz");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
/**
|
||||
* product 模块的 web 配置
|
||||
*/
|
||||
package cn.hangtag.module.biz.framework.web;
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
/**
|
||||
* product 模块,主要实现交易相关功能
|
||||
* 例如:订单、退款、购物车等功能。
|
||||
*
|
||||
* 1. Controller URL:以 /product/ 开头,避免和其它 Module 冲突
|
||||
* 2. DataObject 表名:以 product_ 开头,方便在数据库中区分
|
||||
*/
|
||||
package cn.hangtag.module.biz;
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
<?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>cn.hangtag</groupId>
|
||||
<artifactId>hangtag</artifactId>
|
||||
<version>${revision}</version>
|
||||
</parent>
|
||||
<packaging>pom</packaging>
|
||||
<name>${project.artifactId}</name>
|
||||
<artifactId>hangtag-module-gkbiz</artifactId>
|
||||
|
||||
<modules>
|
||||
<module>hangtag-module-gkbiz-biz</module>
|
||||
</modules>
|
||||
</project>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
<script setup lang="ts">
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
</template>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
3
pom.xml
3
pom.xml
|
|
@ -15,7 +15,8 @@
|
|||
<!-- 各种 module 拓展 -->
|
||||
<module>hangtag-module-system</module>
|
||||
<module>hangtag-module-infra</module>
|
||||
<!-- <module>hangtag-module-member</module>-->
|
||||
<module>hangtag-module-gkbiz</module>
|
||||
<!-- <module>hangtag-module-member</module>-->
|
||||
<!-- <module>hangtag-module-bpm</module>-->
|
||||
<!-- <module>hangtag-module-report</module>-->
|
||||
<!-- <module>hangtag-module-mp</module>-->
|
||||
|
|
|
|||
Loading…
Reference in New Issue