6 files added
3 files modified
| | |
| | | urlPrefix="http://192.168.0.100/resource/static/upload";
|
| | | }else if(SpringUtil.isCheck()){
|
| | | urlPrefix="https://wxtest.cnxzx.com/resource/static/upload";
|
| | | } else{
|
| | | } else if (SpringUtil.isXc()) {
|
| | | urlPrefix="https://xcfiletest.cnxzx.com/static/upload";
|
| | | }else{
|
| | | // urlPrefix="http://192.168.0.18/static/upload";
|
| | | urlPrefix="http://120.27.238.55:8002/static/upload";
|
| | | }
|
| | |
| | | return applicationContext.getEnvironment().getActiveProfiles()[0].equals("check");
|
| | | }
|
| | |
|
| | | public static boolean isXc(){
|
| | | return applicationContext.getEnvironment().getActiveProfiles()[0].equals("xc");
|
| | | }
|
| | |
|
| | | public HttpServletRequest getCurrentRequest(){
|
| | | ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
|
| | | if(attributes!=null) {
|
| | |
| | |
|
| | |
|
| | | #log
|
| | | project.log.path=xzx/logs
|
| | | project.log.path=/xzx/logs
|
| | | logstash.server.url=localhost:4560
|
| | |
|
| | | #spring
|
New file |
| | |
| | | spring: |
| | | rabbitmq: |
| | | host: 120.27.238.55 |
| | | port: 5672 |
| | | username: ct_rabbit |
| | | password: 123456 |
| | | virtual-host: / |
| | | datasource: |
| | | url: jdbc:mysql://120.27.238.55:3306/db_xzx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useAffectedRows=true |
| | | username: ct_test |
| | | password: 123456 |
| | | redis: |
| | | database: 5 |
| | | host: 121.37.162.173 |
| | | password: d32ncxe@i3#!dV |
| | | port: 6379 |
| | | # cluster: |
| | | # nodes: 127.0.0.1:6379 |
| | | lettuce: |
| | | pool: |
| | | max-active: 200 |
| | | max-idle: 10 |
| | | max-wait: -1ms |
| | | min-idle: 5 |
| | | timeout: 5000ms |
| | | |
| | | #机器ID编号用于生成分布式ID |
| | | workerId: 0 |
| | | |
| | | #极光推送 |
| | | jg: |
| | | appkey: 2a733c0c2aad9be329d5be04 |
| | | secret: ec70e5f8db9324b27cb8f0df |
| | | |
| | | |
New file |
| | |
| | | spring: |
| | | rabbitmq: |
| | | host: 120.27.238.55 |
| | | port: 5672 |
| | | username: ct_rabbit |
| | | password: 123456 |
| | | virtual-host: / |
| | | datasource: |
| | | url: jdbc:mysql://120.27.238.55:3306/db_xzx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useAffectedRows=true |
| | | username: ct_test |
| | | password: 123456 |
| | | redis: |
| | | database: 5 |
| | | host: 121.37.162.173 |
| | | password: d32ncxe@i3#!dV |
| | | port: 6379 |
| | | # cluster: |
| | | # nodes: 127.0.0.1:6379 |
| | | lettuce: |
| | | pool: |
| | | max-active: 200 |
| | | max-idle: 10 |
| | | max-wait: -1ms |
| | | min-idle: 5 |
| | | timeout: 5000ms |
| | | |
| | | #机器ID编号用于生成分布式ID |
| | | workerId: 0 |
| | | |
| | | noticeUrl: https://app.cnxzx.com/gc-pay/pay/new/wxProPayNotify/anon |
| | | |
| | | #极光推送 |
| | | jg: |
| | | appkey: 2a733c0c2aad9be329d5be04 |
| | | secret: ec70e5f8db9324b27cb8f0df |
| | | |
| | | |
New file |
| | |
| | | spring: |
| | | rabbitmq: |
| | | host: 120.27.238.55 |
| | | port: 5672 |
| | | username: ct_rabbit |
| | | password: 123456 |
| | | virtual-host: / |
| | | datasource: |
| | | url: jdbc:mysql://120.27.238.55:3306/db_xzx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useAffectedRows=true |
| | | username: ct_test |
| | | password: 123456 |
| | | redis: |
| | | database: 5 |
| | | host: 121.37.162.173 |
| | | password: d32ncxe@i3#!dV |
| | | port: 6379 |
| | | # cluster: |
| | | # nodes: 127.0.0.1:6379 |
| | | lettuce: |
| | | pool: |
| | | max-active: 200 |
| | | max-idle: 10 |
| | | max-wait: -1ms |
| | | min-idle: 5 |
| | | timeout: 5000ms |
| | | |
| | | #机器ID编号用于生成分布式ID |
| | | workerId: 0 |
| | | |
| | | #极光推送 |
| | | jg: |
| | | appkey: 2a733c0c2aad9be329d5be04 |
| | | secret: ec70e5f8db9324b27cb8f0df |
| | | |
| | | |
New file |
| | |
| | | spring: |
| | | rabbitmq: |
| | | host: 120.27.238.55 |
| | | port: 5672 |
| | | username: ct_rabbit |
| | | password: 123456 |
| | | virtual-host: / |
| | | datasource: |
| | | url: jdbc:mysql://120.27.238.55:3306/db_xzx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useAffectedRows=true |
| | | username: ct_test |
| | | password: 123456 |
| | | redis: |
| | | database: 5 |
| | | host: 121.37.162.173 |
| | | password: d32ncxe@i3#!dV |
| | | port: 6379 |
| | | # cluster: |
| | | # nodes: 127.0.0.1:6379 |
| | | lettuce: |
| | | pool: |
| | | max-active: 200 |
| | | max-idle: 10 |
| | | max-wait: -1ms |
| | | min-idle: 5 |
| | | timeout: 5000ms |
| | | |
| | | #机器ID编号用于生成分布式ID |
| | | workerId: 0 |
| | | |
| | | #极光推送 |
| | | jg: |
| | | appkey: 2a733c0c2aad9be329d5be04 |
| | | secret: ec70e5f8db9324b27cb8f0df |
| | | |
| | | |
New file |
| | |
| | | spring: |
| | | rabbitmq: |
| | | host: 120.27.238.55 |
| | | port: 5672 |
| | | username: ct_rabbit |
| | | password: 123456 |
| | | virtual-host: / |
| | | datasource: |
| | | url: jdbc:mysql://120.27.238.55:3306/db_xzx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useAffectedRows=true |
| | | username: ct_test |
| | | password: 123456 |
| | | redis: |
| | | database: 5 |
| | | host: 121.37.162.173 |
| | | password: d32ncxe@i3#!dV |
| | | port: 6379 |
| | | # cluster: |
| | | # nodes: 127.0.0.1:6379 |
| | | lettuce: |
| | | pool: |
| | | max-active: 200 |
| | | max-idle: 10 |
| | | max-wait: -1ms |
| | | min-idle: 5 |
| | | timeout: 5000ms |
| | | |
| | | #机器ID编号用于生成分布式ID |
| | | workerId: 0 |
| | | |
| | | #极光推送 |
| | | jg: |
| | | appkey: 2a733c0c2aad9be329d5be04 |
| | | secret: ec70e5f8db9324b27cb8f0df |
| | | |
| | | |
New file |
| | |
| | | spring: |
| | | rabbitmq: |
| | | host: 120.27.238.55 |
| | | port: 5672 |
| | | username: ct_rabbit |
| | | password: 123456 |
| | | virtual-host: / |
| | | datasource: |
| | | url: jdbc:mysql://120.27.238.55:3306/db_xzx?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useAffectedRows=true |
| | | username: ct_test |
| | | password: 123456 |
| | | redis: |
| | | database: 5 |
| | | host: 121.37.162.173 |
| | | password: d32ncxe@i3#!dV |
| | | port: 6379 |
| | | # cluster: |
| | | # nodes: 127.0.0.1:6379 |
| | | lettuce: |
| | | pool: |
| | | max-active: 200 |
| | | max-idle: 10 |
| | | max-wait: -1ms |
| | | min-idle: 5 |
| | | timeout: 5000ms |
| | | |
| | | #机器ID编号用于生成分布式ID |
| | | workerId: 0 |
| | | |
| | | #极光推送 |
| | | jg: |
| | | appkey: 2a733c0c2aad9be329d5be04 |
| | | secret: ec70e5f8db9324b27cb8f0df |
| | | |
| | | |