yangzian %!s(int64=3) %!d(string=hai) anos
pai
achega
cc6d0c3c3e

+ 70 - 0
jeecg-boot-finance/pom.xml

@@ -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>jeecg-boot-parent</artifactId>
+        <groupId>org.jeecgframework.boot</groupId>
+        <version>2.4.5</version>
+    </parent>
+    <modelVersion>4.0.0</modelVersion>
+<!--
+    <groupId>org.jeecg.framework.boot</groupId>-->
+    <artifactId>jeecg-boot-finance</artifactId>
+
+
+    <dependencies>
+        <!--引入微服务启动依赖 starter-->
+        <dependency>
+            <groupId>org.jeecgframework.boot</groupId>
+            <artifactId>jeecg-boot-starter-cloud</artifactId>
+        </dependency>
+
+
+        <dependency>
+            <groupId>org.jeecgframework.boot</groupId>
+            <artifactId>jeecg-boot-base-core</artifactId>
+            <exclusions>
+                <exclusion>
+                    <groupId>org.jeecgframework.boot</groupId>
+                    <artifactId>hibernate-re</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+
+
+        <dependency>
+            <groupId>org.jeecgframework.boot</groupId>
+            <artifactId>jeecg-system-local-api</artifactId>
+        </dependency>
+
+
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+            </plugin>
+        </plugins>
+        <resources>
+            <!-- 解决MyBatis配置文件引入问题 -->
+            <resource>
+                <directory>src/main/java</directory>
+                <includes>
+                    <include>**/*.properties</include>
+                    <include>**/*.xml</include>
+                </includes>
+                <!-- 是否替换资源中的属性-->
+                <filtering>true</filtering>
+            </resource>
+            <resource>
+                <directory>src/main/resources</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+    </build>
+
+
+</project>

+ 24 - 0
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/JeecgBootFinanceApplication.java

@@ -0,0 +1,24 @@
+package org.jeecg.ctop.finance;
+
+import com.alibaba.dubbo.config.spring.context.annotation.EnableDubbo;
+import org.apache.shiro.spring.boot.autoconfigure.ShiroAnnotationProcessorAutoConfiguration;
+import org.apache.shiro.spring.boot.autoconfigure.ShiroAutoConfiguration;
+import org.apache.shiro.spring.boot.autoconfigure.ShiroBeanAutoConfiguration;
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.context.annotation.ComponentScan;
+
+/**
+ * zian Y
+ * 2021/7/26
+ **/
+
+@SpringBootApplication(exclude = {ShiroAnnotationProcessorAutoConfiguration.class, ShiroAutoConfiguration.class, ShiroBeanAutoConfiguration.class})
+@EnableDubbo
+@ComponentScan(basePackages = {"org.jeecg"})
+public class JeecgBootFinanceApplication {
+
+    public static void main(String[] args) {
+        SpringApplication.run(JeecgBootFinanceApplication.class, args);
+    }
+}

+ 32 - 0
jeecg-boot-finance/src/main/java/org/jeecg/ctop/finance/policy/controller/DemoController.java

@@ -0,0 +1,32 @@
+package org.jeecg.ctop.finance.policy.controller;
+
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.RequestMapping;
+
+import org.springframework.web.bind.annotation.RestController;
+
+/**
+ *
+ * @description: demo
+ *
+ * @author: zian Y
+ * @time: 2021/7/26
+ */
+@RestController
+@RequestMapping("/finance/policy")
+@Api(tags="头条-财务结算-demo")
+@Slf4j
+public class DemoController {
+
+    @ApiOperation(value="demo", notes="demo")
+    @GetMapping(value = "/demo")
+    public String queryPageList() {
+
+        return "this is test controller!";
+    }
+
+
+}

+ 7 - 0
jeecg-boot-finance/src/main/resources/application.yml

@@ -0,0 +1,7 @@
+server:
+  port: 7005
+spring:
+  application:
+    name: jeecg-boot-finance
+  main:
+    allow-bean-definition-overriding: true

+ 2 - 1
pom.xml

@@ -56,7 +56,8 @@
        <!-- 需要微服务,请打开注释-->
        <module>jeecg-boot-starter</module>
         <module>jeecg-cloud-module</module>
-	</modules>
+        <module>jeecg-boot-finance</module>
+    </modules>
 
 	<distributionManagement>
 	  	<repository>