Sfoglia il codice sorgente

更新为生产的配置

qingyang_zhang 7 mesi fa
parent
commit
72521a3428

BIN
app/workSheetSystem/lib/shr_sso_client.jar


+ 2 - 2
app/workSheetSystem/src/main/java/com/qy/worksheetsystem/config/Swagger2Config.java

@@ -25,8 +25,8 @@ import static com.google.common.collect.Lists.newArrayList;
  * @description Swagger2配置类
  * 访问路径:http://localhost:9092/swagger-ui.html
  */
-@Configuration
-@EnableSwagger2
+//@Configuration
+//@EnableSwagger2
 public class Swagger2Config extends WebMvcConfigurationSupport {
     //api接口包扫描路径
     private static final String SWAGGER_SCAN_BASE_PACKAGE_controller = "com.qy.worksheetsystem.controller";

+ 9 - 9
app/workSheetSystem/src/main/resources/application.yml

@@ -14,11 +14,11 @@ spring:
     #    url: jdbc:sqlserver://127.0.01:1433;DatabaseName=test;allowMultiQueries=true
     #    username: sa
     #    password: lhbj
-    url: jdbc:oracle:thin:@//10.3.119.205:1521/orcl
+    url: jdbc:oracle:thin:@//172.20.1.211:1521/shr
     # url: jdbc:sqlserver://192.168.1.250:1433;DatabaseName=demo0708;allowMultiQueries=true;encrypt=true;trustServerCertificate=true
-    username: HTYSHRTEST
+    username: htyshr
     #password: ENC(ksqle:xq5lQYb8beOCrxhD494xPHahBtX/hQeS)
-    password: ENC(ksqle:PUQZ6yEPxnYmwhq8Kdp65+8KJgk3JJZ8)
+    password: ENC(ksqle:jvfwVZzYRnsQuqDKCMr/OTBl+uoJKlWY)
     initialSize: 5
     minIdle: 5
     maxActive: 20
@@ -67,7 +67,7 @@ server:
 mybatis:
   mapper-locations: classpath:model/mapper/**/*.xml
 pagehelper:
-  helper-dialect: sqlServer
+  helper-dialect: oracle
   reasonable: true
   support-methods-arguments: false
   params: count=countSql
@@ -89,9 +89,9 @@ HR:
   tripType: eBUAADAXEjtyrXZI
   #密钥
   ais:
-    password: htyshrtest
+    password: htyshr
     effective: 300000
-    url: https://10.3.119.205:80/shr
+    url: https://172.20.1.210:8080/shr
     serviceName: workHoursReportService
 #企业微信
 weixin:
@@ -118,9 +118,9 @@ yunzhijia:
   #  url: https://oa.ysstech.com:19000/
   #审批消息企微消息推送
   ks:
-    corpsecret: CmzzYQ4evcyBjzyjYwl2ycDOk3tNm8DDiUv0gfysPls
-    corpid: wwad966bd4d6a788ce
-    AgentId: 1000036
+    corpsecret:
+    corpid:
+    AgentId:
     # corpsecret: r_dthG2V-w6g6tpoEgjnNJS_dv5_SCAQl0PfV8z_H4U
     #corpid: wwbfa0b02a7ede338c
     #AgentId: 1000006

+ 1 - 1
app/workSheetSystem/src/main/resources/logback-spring.xml

@@ -6,7 +6,7 @@
     <!-- debug     :当此属性设置为true时,将打印出logback内部日志信息,实时查看logback运行状态。默认值为false。 -->
     <!-- ================================================= 定义变量 ================================================= -->
     <!-- name的值是变量的名称,value的值时变量定义的值。定义的值会被插入到logger上下文中。定义变量后,可以使“${}”来使用变量。 -->
-    <property name="log.path" value="logs" />
+    <property name="log.path" value="../logs" />
     <!--    <property name="log.path" value="logs"/>-->
     <!-- 彩色日志 -->
     <!-- 彩色日志依赖的渲染类 -->