zouxuan vor 5 Jahren
Ursprung
Commit
16a2883852

+ 26 - 1
mec-auth/mec-auth-server/src/main/resources/application.yml

@@ -64,4 +64,29 @@ management:
         include: "*"
   endpoint:
     health:
-      show-details: ALWAYS
+      show-details: ALWAYS
+
+
+
+system:
+  #客户端配置
+  client:
+    clients[0]:
+      clientId: lvhaibao
+      clientSecret: 123456
+    clients[1]:
+      clientId: lhb
+      clientSecret: 123456
+    clients[2]:
+      clientId: app
+      clientSecret: app
+  social:
+    qq:
+      app-id: xxxx
+      app-secret: xxxx
+      providerId: callback.do
+
+    filterProcessesUrl: /qqLogin
+    weixin:
+      app-id: xxxx
+      app-secret: xxxxx

+ 3 - 3
mec-task/src/main/resources/application.yml

@@ -12,9 +12,9 @@ spring:
     
   datasource:
     name: test
-    url: jdbc:mysql://localhost:3306/ag_auth_v1?useUnicode=true&characterEncoding=UTF8
-    username: root
-    password: 123456QWE
+    url: jdbc:mysql://120.26.238.168:3306/mec_dev?useUnicode=true&characterEncoding=UTF8
+    username: mec_dev
+    password: mec_dev
     # 使用druid数据源
     type: com.alibaba.druid.pool.DruidDataSource
     driver-class-name: com.mysql.cj.jdbc.Driver