Prechádzať zdrojové kódy

/* 淘宝订单抓取 优化
1.新建 订单插入 mvc类
2.日志记录
1.服务挂掉
2.确实没有录入订单
3.新增单号字段, 录入日期记录当天 ,淘宝订单ID,修改了订单表 alter table sale add sa_tradeid number;
4.增加定时任务 每隔10分钟自动执行一次
author by shenl 2020-11-16 */

sl 5 rokov pred
rodič
commit
8bbe03e7cf
1 zmenil súbory, kde vykonal 79 pridanie a 0 odobranie
  1. 79 0
      src/main/resources/application-prod.yml

+ 79 - 0
src/main/resources/application-prod.yml

@@ -0,0 +1,79 @@
+#生产环境
+spring:
+    datasource:
+#        type: com.alibaba.druid.pool.DruidDataSource
+        driverClassName: oracle.jdbc.OracleDriver
+        username: UAS_MAKE
+        password: select!#%*(
+         url: jdbc:oracle:thin:@erp.hlktech.com:1521:orcl
+    #              url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
+        initialSize: 10
+        maxActive: 80
+        minIdle: 10
+        maxWait: 60000
+        testOnBorrow: true
+        testOnReturn: false
+        testWhileIdle: true
+        validationQuery: SELECT 1 FROM DUAL
+        timeBetweenEvictionRunsMillis: 60000
+        minEvictableIdleTimeMillis: 300000
+        poolPreparedStatements: true
+        maxPoolPreparedStatementPerConnectionSize: 80
+        filters: stat
+        removeAbandoned: true
+        removeAbandonedTimeout: 1800
+     ## Redis 配置
+    redis:
+        ## Redis数据库索引(默认为0)
+        database: 1
+        ## Redis服务器地址
+        host: 10.1.80.37
+        ## Redis服务器连接端口
+        port: 6379
+        ## Redis服务器连接密码(默认为空)
+        password:
+        jedis:
+          pool:
+            ## 连接池最大连接数(使用负值表示没有限制)
+            #spring.redis.pool.max-active=8
+            max-active: 8
+            ## 连接池最大阻塞等待时间(使用负值表示没有限制)
+            #spring.redis.pool.max-wait=-1
+            max-wait: -1
+            ## 连接池中的最大空闲连接
+            #spring.redis.pool.max-idle=8
+            max-idle: 8
+            ## 连接池中的最小空闲连接
+            #spring.redis.pool.min-idle=0
+            min-idle: 0
+        ## 连接超时时间(毫秒)
+        timeout: 1200
+    http:
+        encoding:
+            force: true
+            charset: UTF-8
+            enabled: true
+    message:
+        encoding: UTF-8
+    jpa:
+      show-sql: false
+      hibernate:
+        ddl-auto: update
+      database: oracle
+
+server:
+    tomcat:
+        uri_encoding: UTF-8
+    port: 8009
+    context-path: /EIS
+action:
+    api_action: /EIS/api
+    public_actions: /EIS/logout,/EIS_T/hello1
+logging:
+  level:
+    org:
+      hibernate:
+        type: trace
+
+SECURITY_KEY: 435aMe9L5itTrckY35kfcOQvPkBGZtGo
+KEEP: 86400000