优化项目结构
This commit is contained in:
parent
d9e73729e3
commit
4c3ac0a357
|
|
@ -194,8 +194,8 @@ graph TD
|
||||||
+ 用户
|
+ 用户
|
||||||
+ 菜单
|
+ 菜单
|
||||||
|
|
||||||
+ `oms-api`
|
+ `erp-api`
|
||||||
oms主功能微服务,主要功能包括:
|
erp主功能微服务,主要功能包括:
|
||||||
|
|
||||||
+ 队列消息处理(订单消息、退款消息)
|
+ 队列消息处理(订单消息、退款消息)
|
||||||
+ 订单接口
|
+ 订单接口
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,22 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<!-- <parent>-->
|
||||||
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
|
<!-- <artifactId>spring-boot-starter-parent</artifactId>-->
|
||||||
|
<!-- <version>3.0.2</version>-->
|
||||||
|
<!-- <relativePath/>-->
|
||||||
|
<!-- </parent>-->
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>cn.qihangerp.api</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>api</artifactId>
|
||||||
<version>3.0.2</version>
|
<version>2.12.0</version>
|
||||||
<relativePath/>
|
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>com.qihang.oms</groupId>
|
<artifactId>erp-api</artifactId>
|
||||||
<artifactId>oms-api</artifactId>
|
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>oms-api</name>
|
<name>erp-api</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
@ -25,24 +29,24 @@
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter</artifactId>
|
<!-- <artifactId>spring-boot-starter</artifactId>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter-web</artifactId>
|
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
|
||||||
<exclusions>
|
<!-- <exclusions>-->
|
||||||
<exclusion>
|
<!-- <exclusion>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
<!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
|
||||||
</exclusion>
|
<!-- </exclusion>-->
|
||||||
</exclusions>
|
<!-- </exclusions>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter-undertow</artifactId>
|
<!-- <artifactId>spring-boot-starter-undertow</artifactId>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.cloud</groupId>
|
<groupId>org.springframework.cloud</groupId>
|
||||||
<artifactId>spring-cloud-starter</artifactId>
|
<artifactId>spring-cloud-starter</artifactId>
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
package cn.qihangerp.oms;
|
package cn.qihangerp.erp;
|
||||||
|
|
||||||
import org.mybatis.spring.annotation.MapperScan;
|
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
//import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||||
|
|
@ -13,15 +12,15 @@ import org.springframework.web.client.RestTemplate;
|
||||||
|
|
||||||
//@EnableDiscoveryClient
|
//@EnableDiscoveryClient
|
||||||
//@MapperScan("cn.qihangerp.oms.mapper")
|
//@MapperScan("cn.qihangerp.oms.mapper")
|
||||||
@EnableFeignClients(basePackages = "cn.qihangerp.oms")
|
@EnableFeignClients(basePackages = "cn.qihangerp.erp")
|
||||||
@EnableDiscoveryClient
|
@EnableDiscoveryClient
|
||||||
@ComponentScan(basePackages={"cn.qihangerp"})
|
@ComponentScan(basePackages={"cn.qihangerp"})
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class OmsApi {
|
public class ErpApi {
|
||||||
public static void main( String[] args )
|
public static void main( String[] args )
|
||||||
{
|
{
|
||||||
System.out.println( "Hello oms-api!" );
|
System.out.println( "Hello erp-api!" );
|
||||||
SpringApplication.run(OmsApi.class, args);
|
SpringApplication.run(ErpApi.class, args);
|
||||||
}
|
}
|
||||||
@Bean
|
@Bean
|
||||||
@LoadBalanced
|
@LoadBalanced
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.config;
|
package cn.qihangerp.erp.config;
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.DbType;
|
import com.baomidou.mybatisplus.annotation.DbType;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
|
import com.baomidou.mybatisplus.extension.plugins.MybatisPlusInterceptor;
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
|
|
||||||
import jakarta.annotation.Resource;
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.data.redis.core.RedisTemplate;
|
import org.springframework.data.redis.core.RedisTemplate;
|
||||||
|
|
@ -1,11 +1,10 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
import cn.qihangerp.common.AjaxResult;
|
import cn.qihangerp.common.AjaxResult;
|
||||||
import cn.qihangerp.common.PageQuery;
|
import cn.qihangerp.common.PageQuery;
|
||||||
import cn.qihangerp.common.PageResult;
|
import cn.qihangerp.common.PageResult;
|
||||||
import cn.qihangerp.common.TableDataInfo;
|
import cn.qihangerp.common.TableDataInfo;
|
||||||
import cn.qihangerp.model.entity.OLogisticsCompany;
|
import cn.qihangerp.model.entity.OLogisticsCompany;
|
||||||
import cn.qihangerp.model.entity.OShop;
|
|
||||||
import cn.qihangerp.module.service.OLogisticsCompanyService;
|
import cn.qihangerp.module.service.OLogisticsCompanyService;
|
||||||
import cn.qihangerp.module.service.OShopPlatformService;
|
import cn.qihangerp.module.service.OShopPlatformService;
|
||||||
import cn.qihangerp.module.service.OShopService;
|
import cn.qihangerp.module.service.OShopService;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
import cn.qihangerp.common.AjaxResult;
|
import cn.qihangerp.common.AjaxResult;
|
||||||
import cn.qihangerp.common.PageQuery;
|
import cn.qihangerp.common.PageQuery;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
|
|
||||||
import cn.qihangerp.common.AjaxResult;
|
import cn.qihangerp.common.AjaxResult;
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
import cn.qihangerp.model.entity.OShop;
|
import cn.qihangerp.model.entity.OShop;
|
||||||
import cn.qihangerp.model.entity.OShopPlatform;
|
import cn.qihangerp.model.entity.OShopPlatform;
|
||||||
import cn.qihangerp.module.service.OLogisticsCompanyService;
|
import cn.qihangerp.module.service.OLogisticsCompanyService;
|
||||||
import cn.qihangerp.module.service.OShopPlatformService;
|
import cn.qihangerp.module.service.OShopPlatformService;
|
||||||
import cn.qihangerp.module.service.OShopService;
|
import cn.qihangerp.module.service.OShopService;
|
||||||
import cn.qihangerp.oms.request.ShopBo;
|
import cn.qihangerp.erp.request.ShopBo;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import cn.qihangerp.common.AjaxResult;
|
import cn.qihangerp.common.AjaxResult;
|
||||||
import cn.qihangerp.common.TableDataInfo;
|
import cn.qihangerp.common.TableDataInfo;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
import cn.qihangerp.common.PageQuery;
|
import cn.qihangerp.common.PageQuery;
|
||||||
import cn.qihangerp.common.TableDataInfo;
|
import cn.qihangerp.common.TableDataInfo;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
import cn.qihangerp.common.AjaxResult;
|
import cn.qihangerp.common.AjaxResult;
|
||||||
import cn.qihangerp.security.common.BaseController;
|
import cn.qihangerp.security.common.BaseController;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
|
|
||||||
import cn.qihangerp.common.AjaxResult;
|
import cn.qihangerp.common.AjaxResult;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
import cn.qihangerp.common.AjaxResult;
|
import cn.qihangerp.common.AjaxResult;
|
||||||
import cn.qihangerp.common.PageQuery;
|
import cn.qihangerp.common.PageQuery;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.controller;
|
package cn.qihangerp.erp.controller;
|
||||||
|
|
||||||
|
|
||||||
import cn.qihangerp.common.AjaxResult;
|
import cn.qihangerp.common.AjaxResult;
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
package cn.qihangerp.oms.feign;
|
package cn.qihangerp.erp.feign;
|
||||||
|
|
||||||
import com.alibaba.fastjson2.JSONObject;
|
import com.alibaba.fastjson2.JSONObject;
|
||||||
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.cloud.openfeign.FeignClient;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
|
||||||
import org.springframework.web.bind.annotation.RequestHeader;
|
|
||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
|
|
||||||
@FeignClient(name = "open-api")
|
@FeignClient(name = "open-api")
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
package cn.qihangerp.oms.mq;
|
package cn.qihangerp.erp.mq;
|
||||||
|
|
||||||
import cn.qihangerp.module.service.ApiMessageService;
|
import cn.qihangerp.module.service.ApiMessageService;
|
||||||
import com.alibaba.fastjson2.JSON;
|
import com.alibaba.fastjson2.JSON;
|
||||||
import cn.qihangerp.common.enums.EnumShopType;
|
|
||||||
import cn.qihangerp.common.mq.MqMessage;
|
import cn.qihangerp.common.mq.MqMessage;
|
||||||
import cn.qihangerp.common.mq.MqType;
|
|
||||||
import cn.qihangerp.common.utils.SpringUtils;
|
import cn.qihangerp.common.utils.SpringUtils;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.mq;
|
package cn.qihangerp.erp.mq;
|
||||||
|
|
||||||
import cn.qihangerp.common.ResultVo;
|
import cn.qihangerp.common.ResultVo;
|
||||||
import cn.qihangerp.common.mq.MqMessage;
|
import cn.qihangerp.common.mq.MqMessage;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.mq;
|
package cn.qihangerp.erp.mq;
|
||||||
|
|
||||||
import cn.qihangerp.common.ResultVo;
|
import cn.qihangerp.common.ResultVo;
|
||||||
import cn.qihangerp.common.enums.EnumShopType;
|
import cn.qihangerp.common.enums.EnumShopType;
|
||||||
|
|
@ -9,7 +9,7 @@ import cn.qihangerp.module.order.service.OOrderService;
|
||||||
import cn.qihangerp.module.order.service.ORefundService;
|
import cn.qihangerp.module.order.service.ORefundService;
|
||||||
import cn.qihangerp.module.order.service.ErpShipmentService;
|
import cn.qihangerp.module.order.service.ErpShipmentService;
|
||||||
import cn.qihangerp.module.service.ApiMessageService;
|
import cn.qihangerp.module.service.ApiMessageService;
|
||||||
import cn.qihangerp.oms.feign.OpenApiService;
|
import cn.qihangerp.erp.feign.OpenApiService;
|
||||||
import com.alibaba.fastjson2.JSONObject;
|
import com.alibaba.fastjson2.JSONObject;
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.mq;//package com.qihang.sys.api.mq;
|
package cn.qihangerp.erp.mq;//package com.qihang.sys.api.mq;
|
||||||
//
|
//
|
||||||
//import lombok.Data;
|
//import lombok.Data;
|
||||||
//
|
//
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.mq;//package com.qihang.sys.api.mq;
|
package cn.qihangerp.erp.mq;//package com.qihang.sys.api.mq;
|
||||||
//
|
//
|
||||||
//import lombok.AllArgsConstructor;
|
//import lombok.AllArgsConstructor;
|
||||||
//import org.springframework.data.redis.core.RedisTemplate;
|
//import org.springframework.data.redis.core.RedisTemplate;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.mq;
|
package cn.qihangerp.erp.mq;
|
||||||
|
|
||||||
import lombok.AllArgsConstructor;
|
import lombok.AllArgsConstructor;
|
||||||
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.request;
|
package cn.qihangerp.erp.request;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.serviceImpl;
|
package cn.qihangerp.erp.serviceImpl;
|
||||||
|
|
||||||
import cn.qihangerp.model.entity.SysConfig;
|
import cn.qihangerp.model.entity.SysConfig;
|
||||||
import cn.qihangerp.service.SysConfigService;
|
import cn.qihangerp.service.SysConfigService;
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.qihangerp.oms.serviceImpl;
|
package cn.qihangerp.erp.serviceImpl;
|
||||||
|
|
||||||
import cn.qihangerp.model.entity.SysUser;
|
import cn.qihangerp.model.entity.SysUser;
|
||||||
import cn.qihangerp.service.ISysUserService;
|
import cn.qihangerp.service.ISysUserService;
|
||||||
|
|
@ -1,16 +1,20 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<!-- <parent>-->
|
||||||
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
|
<!-- <artifactId>spring-boot-starter-parent</artifactId>-->
|
||||||
|
<!-- <version>3.0.2</version>-->
|
||||||
|
<!-- <relativePath/>-->
|
||||||
|
<!-- </parent>-->
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>cn.qihangerp.api</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>api</artifactId>
|
||||||
<version>3.0.2</version>
|
<version>2.12.0</version>
|
||||||
<relativePath/>
|
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>cn.qihangerp</groupId>
|
|
||||||
<artifactId>gateway</artifactId>
|
<artifactId>gateway</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>2.0.0</version>
|
|
||||||
<name>gateway</name>
|
<name>gateway</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,18 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<!-- <parent>-->
|
||||||
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
|
<!-- <artifactId>spring-boot-starter-parent</artifactId>-->
|
||||||
|
<!-- <version>3.0.2</version>-->
|
||||||
|
<!-- <relativePath/>-->
|
||||||
|
<!-- </parent>-->
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>cn.qihangerp.api</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>api</artifactId>
|
||||||
<version>3.0.2</version>
|
<version>2.12.0</version>
|
||||||
<relativePath/>
|
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.qihangerp.open</groupId>
|
|
||||||
<artifactId>open-api</artifactId>
|
<artifactId>open-api</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
|
@ -25,24 +29,24 @@
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter</artifactId>
|
<!-- <artifactId>spring-boot-starter</artifactId>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter-web</artifactId>
|
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
|
||||||
<exclusions>
|
<!-- <exclusions>-->
|
||||||
<exclusion>
|
<!-- <exclusion>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
<!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
|
||||||
</exclusion>
|
<!-- </exclusion>-->
|
||||||
</exclusions>
|
<!-- </exclusions>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter-undertow</artifactId>
|
<!-- <artifactId>spring-boot-starter-undertow</artifactId>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-webflux</artifactId>
|
<artifactId>spring-boot-starter-webflux</artifactId>
|
||||||
|
|
|
||||||
21
api/pom.xml
21
api/pom.xml
|
|
@ -1,22 +1,27 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<!-- <parent>-->
|
||||||
|
<!-- <groupId>cn.qihangerp</groupId>-->
|
||||||
|
<!-- <artifactId>qihangerp-cloud</artifactId>-->
|
||||||
|
<!-- <version>2.0.6</version>-->
|
||||||
|
<!-- </parent>-->
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.qihangerp</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>qihangerp-cloud</artifactId>
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
<version>2.0.6</version>
|
<version>3.0.2</version>
|
||||||
|
<relativePath/>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.qihangerp.api</groupId>
|
<groupId>cn.qihangerp.api</groupId>
|
||||||
<artifactId>api</artifactId>
|
<artifactId>api</artifactId>
|
||||||
<version>1.0</version>
|
<version>2.12.0</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>api</name>
|
<name>api</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
<modules>
|
<modules>
|
||||||
<module>gateway</module>
|
<module>gateway</module>
|
||||||
<module>oms-api</module>
|
<module>erp-api</module>
|
||||||
<module>sys-api</module>
|
<module>sys-api</module>
|
||||||
<module>open-api</module>
|
<module>open-api</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
@ -27,6 +32,10 @@
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter</artifactId>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-lang3</artifactId>
|
<artifactId>commons-lang3</artifactId>
|
||||||
|
|
|
||||||
|
|
@ -1,15 +1,19 @@
|
||||||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
<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">
|
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>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<!-- <parent>-->
|
||||||
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
|
<!-- <artifactId>spring-boot-starter-parent</artifactId>-->
|
||||||
|
<!-- <version>3.0.2</version>-->
|
||||||
|
<!-- <relativePath/>-->
|
||||||
|
<!-- </parent>-->
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>cn.qihangerp.api</groupId>
|
||||||
<artifactId>spring-boot-starter-parent</artifactId>
|
<artifactId>api</artifactId>
|
||||||
<version>3.0.2</version>
|
<version>2.12.0</version>
|
||||||
<relativePath/>
|
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>cn.qihangerp.api</groupId>
|
<groupId>cn.qihangerp.api</groupId>
|
||||||
<artifactId>sys-api</artifactId>
|
<artifactId>sys-api</artifactId>
|
||||||
<version>1.0</version>
|
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>sys-api</name>
|
<name>sys-api</name>
|
||||||
|
|
@ -26,24 +30,24 @@
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter</artifactId>
|
<!-- <artifactId>spring-boot-starter</artifactId>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter-web</artifactId>
|
<!-- <artifactId>spring-boot-starter-web</artifactId>-->
|
||||||
<exclusions>
|
<!-- <exclusions>-->
|
||||||
<exclusion>
|
<!-- <exclusion>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter-tomcat</artifactId>
|
<!-- <artifactId>spring-boot-starter-tomcat</artifactId>-->
|
||||||
</exclusion>
|
<!-- </exclusion>-->
|
||||||
</exclusions>
|
<!-- </exclusions>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>org.springframework.boot</groupId>
|
<!-- <groupId>org.springframework.boot</groupId>-->
|
||||||
<artifactId>spring-boot-starter-undertow</artifactId>
|
<!-- <artifactId>spring-boot-starter-undertow</artifactId>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-security</artifactId>
|
<artifactId>spring-boot-starter-security</artifactId>
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -23,7 +23,7 @@
|
||||||
<artifactId>open-sdk</artifactId>
|
<artifactId>open-sdk</artifactId>
|
||||||
<version>1.0.2</version>
|
<version>1.0.2</version>
|
||||||
<scope>system</scope>
|
<scope>system</scope>
|
||||||
<systemPath>${project.basedir}/libs/open-sdk-1.10.4.jar</systemPath>
|
<systemPath>${project.basedir}/libs/open-sdk-1.10.9.3.jar</systemPath>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>cn.qihangerp.service</groupId>
|
<groupId>cn.qihangerp.service</groupId>
|
||||||
|
|
|
||||||
3
pom.xml
3
pom.xml
|
|
@ -14,9 +14,6 @@
|
||||||
<module>core</module>
|
<module>core</module>
|
||||||
<module>serviceImpl</module>
|
<module>serviceImpl</module>
|
||||||
<module>microservices</module>
|
<module>microservices</module>
|
||||||
<module>core/model</module>
|
|
||||||
<module>core/interfaces</module>
|
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<version>2.0.0</version>
|
<version>2.0.0</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>module</name>
|
<name>serviceImpl</name>
|
||||||
<url>http://maven.apache.org</url>
|
<url>http://maven.apache.org</url>
|
||||||
<modules>
|
<modules>
|
||||||
<module>sys</module>
|
<module>sys</module>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue