tuonina 6 jaren geleden
bovenliggende
commit
8d6dc3eb29

+ 3 - 3
build.gradle

@@ -105,15 +105,15 @@ subprojects {
         compile('org.springframework.boot:spring-boot-starter-data-redis')
         compile('redis.clients:jedis:2.9.0')
 
+        compile 'org.springframework.cloud:spring-cloud-starter-bus-amqp'
+        compile('org.springframework.cloud:spring-cloud-starter-config')
 
         testCompile('org.springframework.boot:spring-boot-starter-test')
         // mq
 
         // shiro
         compile("org.apache.shiro:shiro-spring:$shiro_version")
-
-        compile group: 'com.fasterxml.jackson.module', name: 'jackson-module-kotlin', version: '2.9.6'
-
+        compile('com.fasterxml.jackson.module:jackson-module-kotlin:2.9.6')
         // commons
         compile("commons-io:commons-io:$commons_io_version")
         compile("org.apache.commons:commons-lang3:$commons_lang3_version")

BIN
jwt-session-1.2.jar


+ 3 - 0
zen-api/src/main/java/cn/gygxzc/envir/biz/dao/Dao.java

@@ -1,9 +1,12 @@
 package cn.gygxzc.envir.biz.dao;
 
+import com.baomidou.mybatisplus.core.toolkit.IdWorker;
+
 /**
  * Created by niantuo on 2018/9/28.
  * 把 Dao 类写在该路径下
  */
 
 public class Dao {
+
 }

+ 6 - 0
zen-web/src/main/resources/application.yml

@@ -39,6 +39,12 @@ eureka:
 ---
 spring:
   profiles: dev
+  cloud:
+    config:
+      allow-override: true
+      discovery:
+        enabled: true
+        service-id: messager
 
 
 swagger: