chengxiaowen 1 ano atrás
pai
commit
7be6dea1ee

+ 1 - 0
src/main/resources/mapper/statistics/OrderMapper.xml

@@ -68,6 +68,7 @@
         and (region_area_code like '37%' or
         region_area_code like '32%' or
         region_area_code like '11%' or
+        region_area_code like '34%' or
         region_area_code like '13%' or
         region_area_code like '21%' or
          region_area_code like '41%' or

+ 112 - 0
src/main/resources/zd/application.yml

@@ -0,0 +1,112 @@
+# server basic config
+server:
+  port: 12011
+  servlet:
+    context-path: /
+# eureka server connect config
+eureka:
+  client:
+    service-url:
+      defaultZone: http://10.4.34.14:12006/eureka/
+  instance:
+    appname: cgp-statistics
+    prefer-ip-address: true
+spring:
+  # 安全配置,请以实际方式代替
+  security:
+    user:
+      name: admin
+      password: admin
+  application:
+    # 请保持和POM GAV一致
+    name: cgp-statistics
+  #database operation config
+  datasource:
+    type: com.alibaba.druid.pool.DruidDataSource
+    druid:
+      url: jdbc:mysql://10.4.34.16:3306/rz_face?characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai
+      username: szyl
+      password: g@0IuVfJ
+      filter: stat
+      max-active: 100
+      initial-size: 5
+      max-wait: 60000
+      min-idle: 1
+      validation-query: SELECT 1
+      test-while-idle: true
+      driver-class-name: com.mysql.cj.jdbc.Driver
+  data:
+    elasticsearch:
+      cluster-name: my-application
+      cluster-nodes: 10.4.34.14:12019
+      repositories:
+        enabled: true
+      local: false
+  elasticsearch:
+    rest:
+      uris: ["http://10.4.34.14:12018"]
+  redis:
+    ################### redis 单机版  ##########################
+    host: ${REDIS_IP:10.4.34.12}
+    port: ${REDIS_PORT:6379}
+    database: ${REDIS_DB:1}
+    password: ${REDIS_PASSWORD:MGc8$F36}
+    # 使用jedis连接池
+    jedis:
+      pool:
+        max-active: 8
+        max-wait: -1
+        max-idle: 8
+        min-idle: 0
+    timeout: 5000
+#mybatis plus配置
+mybatis-plus:
+  config-location: classpath:mybatis-config.xml
+  mapper-locations: classpath:/mapper/statistics/*.xml
+
+logging:
+  level:
+    com.poteviohealth.cgp.statistics.mapper: DEBUG
+  config: classpath:logback-spring.xml
+
+
+  ### xxl-job admin address list, such as "http://address" or "http://address01,http://address02"
+xxl:
+  job:
+    #      admin:
+    addresses: http://10.4.34.14:12010/xxl-job-admin
+    #      executor:
+    appname: xxl-job-statistics
+    ip:
+    port: 9996
+    accessToken:
+    logretentiondays: -1
+    logpath: ./logs/xxl-job
+
+common:
+  minio:
+    apiUri: http://10.4.34.14:12020/
+    uri: https://zkycy.cdp.edu.cn/
+    bucket: cgpimage
+    accessKey: admin
+    secretKey: r^iiP6o1
+
+jpush:
+  app_key: c61567cde175728a73a4f9d2
+  master_secret: 1c8973c67c6ca7100259830c
+  apnsProduction: true
+
+ribbon:
+ ReadTimeout: 5000
+ ConnectTimeout: 5000
+
+sync:
+  dbName: rz
+
+aliyun:
+  oss:
+    endpoint: oss-cn-beijing.aliyuncs.com # oss对外服务的访问域名
+    accessKeyId: LTAIKYgOt8D3W9kz # 访问身份验证中用到用户标识
+    accessKeySecret: yHszJ0sEyQXq90Ad7cxRh4Ake0qfbd # 用户用于加密签名字符串和oss用来验证签名字符串的密钥
+    bucketName: ptsubsidy # oss的存储空间
+    dir: yqaa/