| @@ -1,5 +0,0 @@ | |||
| #Generated by Maven | |||
| #Tue Jan 10 23:40:16 CST 2023 | |||
| version=1.0 | |||
| groupId=com.iformall | |||
| artifactId=suimang-mybatis | |||
| @@ -31,8 +31,28 @@ public class VideoSchedule { | |||
| @Autowired | |||
| String videoType; | |||
| /** | |||
| * 上传阿里云 | |||
| */ | |||
| @Scheduled(cron = "0 30 */1 * * *?") // 每小时检查一次 | |||
| public void couponVideoUploadSchedule() { | |||
| List<UserMouldVideo> videos = userMouldVideoService.getVideoIdNullList(); | |||
| if (videos != null && videos.size() > 0) { | |||
| for (UserMouldVideo video : videos) { | |||
| try { | |||
| userMouldVideoService.uploadVideo(video); | |||
| } catch (Exception e) { | |||
| logger.error("TtCouponVideoSchedule error.couponVideoSchedule:"+video.getId(),e); | |||
| } | |||
| } | |||
| } | |||
| } | |||
| /** | |||
| * 获取时长和大小 | |||
| */ | |||
| @Scheduled(cron = "0 0 */1 * * *?") // 每小时检查一次 | |||
| public void couponVideoSchedule() { | |||
| public void couponVideoDetailSchedule() { | |||
| List<UserMouldVideo> videos = userMouldVideoService.getVideoTimeNullList(); | |||
| if (videos != null && videos.size() > 0) { | |||
| for (UserMouldVideo video : videos) { | |||
| @@ -1,32 +0,0 @@ | |||
| { | |||
| "groups": [ | |||
| { | |||
| "name": "aws", | |||
| "type": "com.iformall.config.AwsProperty", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| } | |||
| ], | |||
| "properties": [ | |||
| { | |||
| "name": "aws.access", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.bucket-name", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.client-region", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.secret", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| } | |||
| ], | |||
| "hints": [] | |||
| } | |||
| @@ -1,189 +0,0 @@ | |||
| spring: | |||
| profiles: | |||
| #include: aliyunRocketMQ | |||
| include: rabbitMQ | |||
| # JDBC | |||
| datasource: | |||
| url: jdbc:mysql://101.200.130.134:3306/malink_suimang?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useUnicode=true&useSSL=false&useAffectedRows=true | |||
| username: root | |||
| password: fm2020test | |||
| type: com.alibaba.druid.pool.DruidDataSource | |||
| driver-class-name: com.mysql.cj.jdbc.Driver | |||
| filters: stat | |||
| maxActive: 20 | |||
| initialSize: 1 | |||
| maxWait: 60000 | |||
| minIdle: 1 | |||
| timeBetweenEvictionRunsMillis: 28000 | |||
| minEvictableIdleTimeMillis: 28000 | |||
| validationQuery: select 'x' | |||
| testWhileIdle: true | |||
| testOnBorrow: false | |||
| testOnReturn: false | |||
| poolPreparedStatements: true | |||
| maxOpenPreparedStatements: 20 | |||
| connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" | |||
| #jackson: | |||
| #date-format: yyyy-MM-dd HH:mm:ss | |||
| # REDIS | |||
| redis: | |||
| host: 101.200.130.134 | |||
| port: 6379 | |||
| password: iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 5 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 100 | |||
| max-idle: 500 | |||
| max-wait: -1 | |||
| min-idle: 10 | |||
| # SMS | |||
| aliyun: | |||
| sms: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| product: Dysmsapi | |||
| domain: dysmsapi.aliyuncs.com | |||
| regionId: cn-hangzhou | |||
| dateFormat: yyyyMMdd | |||
| endpointName: cn-hangzhou | |||
| oss: | |||
| endpoint: oss-cn-beijing.aliyuncs.com | |||
| keyid: LTAI4G7ixY4AhvM35F8o3W3V | |||
| keysecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| bucketname: formall | |||
| filehost: malinkcallback | |||
| filedomain: https://formall.oss-accelerate.aliyuncs.com | |||
| mail: | |||
| host: smtp.exmail.qq.com | |||
| username: zhengfangyuan@iformall.com | |||
| password: 2hSeppFRaw7KZZyf # 授权密码 | |||
| properties: | |||
| mail: | |||
| smtp: | |||
| auth: true | |||
| starttls: | |||
| enable: true | |||
| socketFactory: | |||
| port: 465 | |||
| class: javax.net.ssl.SSLSocketFactory | |||
| # ROCKETMQ | |||
| rocketmq: | |||
| nameServer: 127.0.0.1:9876 | |||
| producer: | |||
| retry-times-when-send-async-failed: 0 | |||
| send-msg-timeout: 300000 | |||
| compress-msg-body-over-howmuch: 4096 | |||
| max-message-size: 4194304 | |||
| retry-another-broker-when-not-store-ok: false | |||
| retry-times-when-send-failed: 2 | |||
| # RABBITMQ | |||
| rabbitmq: | |||
| host: 101.200.130.134 | |||
| port: 5672 | |||
| username: fumao | |||
| password: f9l98 | |||
| publisher-confirms: true | |||
| publisher-returns: false | |||
| virtual-host: / | |||
| aliyunRocketmq: | |||
| accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V" | |||
| accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry" | |||
| groupId: "GID_P_1" | |||
| namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080" | |||
| aws: | |||
| clientRegion: cn-northwest-1 | |||
| bucketName: iformall-net | |||
| access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=) | |||
| secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=) | |||
| #wechat: | |||
| # web: | |||
| # appId: "wxe31beafbfd8295ba" | |||
| # secret: "c689fabf3c4c9f5b6424ff2a36a26727" | |||
| # url: "https://mall.youlane.cn" | |||
| # open: | |||
| # componentAppId: "wx897e4673286c915d" | |||
| # componentSecret: "cdfdfda65c45689beb6766c4c427eed2" | |||
| # componentToken: "formall2018" | |||
| # componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN" | |||
| # redis: | |||
| # host: 101.201.103.81 | |||
| # port: 6379 | |||
| # password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk) | |||
| # timeout: 3600 | |||
| # expire: 1800 #30分钟 | |||
| # database: 2 | |||
| # defaultExpiration: 2592000 # 默认生命周期30天 | |||
| # jedis: | |||
| # pool: | |||
| # max-active: 100 | |||
| # max-idle: 500 | |||
| # max-wait: -1 | |||
| # min-idle: 10 | |||
| wechat: | |||
| web: | |||
| appId: "wx091907dd0bfd3f6b" | |||
| secret: "2a2ca10738998b9ef92c1fe8a4d366a6" | |||
| url: "https://admintest.malls.iformall.com" | |||
| open: | |||
| componentAppId: wxdfc8fb4e62d6b52b | |||
| componentSecret: 98daa62b316dd6feabaad708327ce233 | |||
| componentToken: formall2018 | |||
| componentAesKey: htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN | |||
| redis: | |||
| host: 101.200.130.134 | |||
| port: 6379 | |||
| password: iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 2 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 100 | |||
| max-idle: 100 | |||
| max-wait: -1 | |||
| min-idle: 10 | |||
| alipay: | |||
| open: | |||
| appId: 2021002137663024 | |||
| appPrivateKey: MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCUfymV5J73QQMG52PVIGUbowkloYCO4B7TQoKbrTZf2YeYsg/To/o4PiXPMNwEUfEUU8NYQ6WwNhCd2fa1ei8WFXJUf3bfgswtBk1aOmHLeY9yoXFxIKMTQ9RcobnmBzKQZlaAPMTSr7t1QtKZKPuc2gEHGRFYKO/ZuL8gIpnsVidVtmi52yd7hzao/pI3ThLA0lreg4L3rYP5ESQZRytxIPgUQ4KI11pZxFgbe+uy28AGDYIQscSIb+SWOHPYKLvOEqqepIZ8M18w/U0lZzpzepzi/V/llekvXJ6UEf1lzl7x/4UIA3WPN1B40+NzbD/OxEGTuM0UctOG6ZTd4Te9AgMBAAECggEAPYksnHbvARspu/SrRCh2fatkIPn6Ijrxyy3mnch7neCw9i/jqxpqmF/4nxFqO0gRlRDZBHyT7p+Y5zDpsW5+kLI2fJmNkzXKkmXoLBnBaOZo8WHBdtXFfjg/iltig9Y7t+cQtXd5QK2eCwuz5dA75FXa0ywqKdRdAGY0nYZ5LpwrHVU8RXheUDCJyhKNj2+W6lIaSKDxLZU3laO1oBrv1agcy7Crd5E2ndb8O3Enga+z7wSz2h7A1BasC/Yl/Ro0Y21wLCH3s/R6qA0Paq12+WEF+xdodM7SrP43CCTVFGbC1TfEOdanJfixop8QuYsIp7pHrL925+vP4eY9RfckgQKBgQDQqLdpDzzU7Ot/L9Vc/r8d4iwXXbX8+HwVFV4oBuausgFyv8eJJpfrI+IlEoB1ubJcPpJBFqfmeYTW6/v6ioFljJAlWfFvesUVt/HszBMIOsU0Bzt7ex6WlwKOagb0q0ZPA4T0OY0K0lg0loaaaR8ZTr4ivDymaGBtTBYhslpc7QKBgQC2MBznGEc5r2dhyENvdPOR20PnXQcevGnPdqSus8m0VmDcHE72RVcckcZtwczsb3NaLSqmjAcWTn51/VFmlvhB3F34FcFTPZGq6sj7fWK8HuFq7l7mu5OzYuVr73zy9ggsUuaw10IqvvwIVxszNAF0hiRnSGH3z27CoRmz3s+8EQKBgQCK3o7atBJ3X4rIJiypbL4DhIB1uJ+jUjk6yvLUTut+fufp1+tTw0S+cS5UIAEw2Lr1G4u5F/v8rwmTBJG6SC4gSLGyui6uVBYRA1BWmedcxchzfRDAeMt9y9kesUAZ3Fe5xIzbAeZ1ulKMBVZmM+pHrJlsgr0Wv0bV1xqvqITtbQKBgBIsIGXopQoa9dvqBtfyOW1eCprkS5aEQqWf9vM6Ga90QjsSU8n6xqKh48IE57TZtQ7UnIF6TCasc66/MsRh4KdpHLJnMR5lcMc0nhF/wz5ychehaTPol+X3wlyOyc7OPah2KG6ROhdbb3ZBggQMduyxiKYIsUTvmuOtAAxR+DSRAoGADtuDzGQDOJYWiO2uuP6FpA5IJaiwlSfu3xncJVfhO8SVr6VBJFg88igbIB3w6nk/sv7j9VTXqXre9HMvp1flxaaLsdxM4HcTSALS9q6t/ajaveqte6S5kAtWx0WW8C6PtgWXHbxcD7LXARSsKLoEl2JXXyUVS/m2l/RzHBQ8GJI= | |||
| appPublicKeyCertPath: /opt/iformall/service/alipay/appCertPublicKey_2021002137663024.crt | |||
| alipayCertPath: /opt/iformall/service/alipay/alipayCertPublicKey_RSA2.crt | |||
| alipayRootCertPath: /opt/iformall/service/alipay/alipayRootCert.crt | |||
| callback: https://callbacktest.malls.iformall.com/api/alipay/notify/callback | |||
| video: | |||
| aliyun: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| regionId: cn-beijing | |||
| jasypt: | |||
| encryptor: | |||
| password: oRqdnDbK5pj3eMmB | |||
| fm: | |||
| exception: true | |||
| exception_emails: xuxiaohu@iformall.com | |||
| deploy: 1 | |||
| open: true | |||
| upload_dir: /home/test/server/uploads/ | |||
| videoType: aliyun | |||
| logging: | |||
| level: | |||
| com.iformall: debug | |||
| path: ./logs/admin | |||
| @@ -1,148 +0,0 @@ | |||
| spring: | |||
| profiles: | |||
| include: aliyunRocketMQ | |||
| # JDBC | |||
| datasource: | |||
| url: jdbc:mysql://zc349w82qvn56ftl5e64-rw4rm.rwlb.rds.aliyuncs.com:3306/malink_suimang?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true | |||
| username: ENC(nUefcxWYlMS/1cDxikIKwA==) | |||
| password: ENC(neToS+hzeFjgSFB/7UEl5qYnW2rUjrPq) | |||
| type: com.alibaba.druid.pool.DruidDataSource | |||
| driver-class-name: com.mysql.cj.jdbc.Driver | |||
| filters: stat | |||
| maxActive: 200 | |||
| initialSize: 1 | |||
| maxWait: 60000 | |||
| minIdle: 1 | |||
| timeBetweenEvictionRunsMillis: 28000 | |||
| minEvictableIdleTimeMillis: 28000 | |||
| validationQuery: select 'x' | |||
| testWhileIdle: true | |||
| testOnBorrow: false | |||
| testOnReturn: false | |||
| poolPreparedStatements: true | |||
| maxOpenPreparedStatements: 20 | |||
| connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" | |||
| # REDIS | |||
| redis: | |||
| host: r-2zeaglwf13qqmnllj5.redis.rds.aliyuncs.com | |||
| port: 6379 | |||
| password: mallone:iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 1 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 100 | |||
| max-idle: 20 | |||
| max-wait: -1 | |||
| min-idle: 0 | |||
| # SMS | |||
| aliyun: | |||
| sms: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| product: Dysmsapi | |||
| domain: dysmsapi.aliyuncs.com | |||
| regionId: cn-hangzhou | |||
| dateFormat: yyyyMMdd | |||
| endpointName: cn-hangzhou | |||
| oss: | |||
| endpoint: oss-cn-beijing.aliyuncs.com | |||
| keyid: LTAI4G7ixY4AhvM35F8o3W3V | |||
| keysecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| bucketname: formall | |||
| filehost: malinkadmin | |||
| filedomain: https://formall.oss-accelerate.aliyuncs.com | |||
| mail: | |||
| host: smtp.exmail.qq.com | |||
| username: zhengfangyuan@iformall.com | |||
| password: 2hSeppFRaw7KZZyf # 授权密码 | |||
| properties: | |||
| mail: | |||
| smtp: | |||
| auth: true | |||
| starttls: | |||
| enable: true | |||
| socketFactory: | |||
| port: 465 | |||
| class: javax.net.ssl.SSLSocketFactory | |||
| # RABBITMQ | |||
| rabbitmq: | |||
| host: localhost | |||
| port: 5672 | |||
| username: ENC(lRmLd6EzgeY1RT5ktcHv9g==) | |||
| password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=) | |||
| publisher-confirms: true | |||
| publisher-returns: false | |||
| virtual-host: / | |||
| aliyunRocketmq: | |||
| accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V" | |||
| accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry" | |||
| groupId: "GID_P_1" | |||
| namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080" | |||
| aws: | |||
| clientRegion: cn-northwest-1 | |||
| bucketName: iformall-net | |||
| access: ENC(a6SN1sZ1enNL49ypiOXkg/pPPAnZD8H4buQFTTKN08s=) | |||
| secret: ENC(5P5ff4bTMJUbXVR4ZsM03UHzOKZ4+Zg5Iutcdkyp/Quny/oXg+A4KpfwEyGarlLu3vQMJahGP5M=) | |||
| wechat: | |||
| web: | |||
| appId: "wx9cc4ca09eb20fe03" | |||
| secret: "af1d7f7a1268022a73cb4ce0b9cf0985" | |||
| url: "https://admin.malls.iformall.com" | |||
| open: | |||
| componentAppId: ENC(b3JG0MUZgQfz5Zj+DC2ZM1zDeLOiGTmmeokfe2O8kaM=) | |||
| componentSecret: ENC(QVyc4BPGdnSjXGs2ivgpDBE1v8wPWHLLRMYI7Vv8uYwC0SiZHQz0QpyyQV/b48Pb) | |||
| componentToken: ENC(rkxj0733WxFFDLgA9x01m2s5Fi2L+0PC) | |||
| componentAesKey: ENC(EIbJUBpbYOrLb4YQ/HXLQmxlxgAqIp2ZmpnGICC8pu5xiTz3Cqfkbwd2S8raCcK/IvYcX2GmedI=) | |||
| redis: | |||
| host: r-2zeaglwf13qqmnllj5.redis.rds.aliyuncs.com | |||
| port: 6379 | |||
| password: mallone:iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 2 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 100 | |||
| max-idle: 100 | |||
| max-wait: -1 | |||
| min-idle: 10 | |||
| alipay: | |||
| open: | |||
| appId: 2021002140616334 | |||
| appPrivateKey: MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCEJmHIlS0luIH7zJRRVlypCcgiSkqpSlnmgyCEM7nu8IerV8Yf7dMBitBklTpJB+4URV1bW+q6Ijzo8RsCyjm1Kx+EFiKf1PiJXlT0h1+bF3fYdDr6r5GK0/TtB8O80p774NcRD3HgbzUS8AEe/GcBvhiXbDRgJh7yAngW9vxl9u1o5UcaxOXVLWDrjlQGF6qyXUlycCNIdPXj3LduP3PBK5daVZwJm33Pr7kmSI0agZvV267HaTpSKaiXI7Zwo+nFMqx9g9kpzmYRfOgHx3DWpQUFI646IB8nEpLpQp3/0eDocuqiHXYgEpLpPoFKoVE228v74YSFh3Y4fFGX+qtjAgMBAAECggEAIJK9Y42xtSyHjaNdo7bf3CK3HAyn3pafFjyYFT4SxJyxNEDMay5Z5nVq7IAD/+BehMycOFqtvveVf+1+NO/XzZo1iH9URYVfRazkz+lWXYopVkdACm6gN1ILeymAy9g2q+s918ywyxteP668+ABK+5j5wsk/F7wNwKVvKGn0yMT7DP0FAL1e0KWndZCZlF79VnFpBLscDJq28GqRzqYop4CWqHHTA6DBvIqkfQV4U3IzqnzOsxNLEMBwhnbK08XfYZ3DxCPH0jQdA2Jj/aABrntq2EpWjzW5H9iZqrVo33rmsNHUSQvla/333RkbpwGyNhI6kcPBRq4cVSAa3y7dMQKBgQDVfyDUPWKXVwIJUgO1my8WIUu2p6nhuT7Mfnpk4X7ewdFaRVjb/r0KvhLgoz2/KOwkqtWTlEvNaCDDycpLXk+V5ZH833kYsDEmxY7ikOUjCcrfYJgT7P77//cZ4Kx8a5X45SiKAZT2GQv7BTtIfNhrfTUj6AQx/3MP3sa2QAWeNQKBgQCedWoF7t+qyck2hctqtTFC7fRkEk7RNJVph1ZOeTqOIAKhmhkwaOE3joxQ/VqHDy212YdW4hI0BWUzbEdMy0Idz2G3y9ERVD84hZehf5GGRdiSrY9EEQgHlcI6Qb8/AnDdpy1DlKUMwTYjVNzkDL3AzeWn61JS1XQaOzZBsJy2NwKBgFa+pJQXrOtYytcGn8M2Hlebh6vbS8cPAVkNOqWqiWXw0iMfcg9Q3XZz7C+hpAD7m5b6YnToGDSJTma+opck5qk88agRFJ7XV+Es+/VKcg9edzNzh9bwwFmbksbM5shW3kSWt3X7Vo73dkqzwXaeY0CpSuIf7zRxWkrkdVCvipjRAoGAMcJlPN+6VQNwsDJromKryXy31gT5wzBkCvN44sOm46KhsOWXK2CD+NJGtdgZaXgWvphEq7/qP3PCR9ekvDTH2lyZLwJN8Mcn4zPwXcKVjDi6vbTK3HEMuHUKvQiQadT2ZGRvDl3LRqoVuhqYEvT9UWJWz9hRzblB8ErPyukPDRkCgYB7bMv2iflpaGE1J3gkTlVJB+2QSfnAXaUDMLWsZN4gYjwEBVCEJ+mhWL1/GeEIBjSs5/qZIeRsYzlxGEcnsJzRfog6ITBF14AeZ+xNkHq83ja87OGVKMypiccGwRehijDhJi6tgMJ0u0w6PiqcJvh0SX4jBhDDPjuWzK2XD+lx8A== | |||
| appPublicKeyCertPath: /opt/iformall/service/alipay/appCertPublicKey_2021002140616334.crt | |||
| alipayCertPath: /opt/iformall/service/alipay/alipayCertPublicKey_RSA2.crt | |||
| alipayRootCertPath: /opt/iformall/service/alipay/alipayRootCert.crt | |||
| callback: https://callback.malls.iformall.com/api/alipay/notify/callback | |||
| video: | |||
| aliyun: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| regionId: cn-beijing | |||
| endPoint: https://oss-cn-beijing.aliyuncs.com | |||
| corePoolSize: 6 | |||
| maxPoolSize: 20 | |||
| queueCapacity: 1000 | |||
| namePrefix: aliyun-video-upload | |||
| fm: | |||
| exception: true | |||
| exception_emails: houtaikaifa@iformall.com | |||
| deploy: 3 | |||
| open: true | |||
| upload_dir: /root/uploads/ | |||
| videoType: aliyun | |||
| logging: | |||
| level: | |||
| com.iformall.mapper: debug | |||
| path: ./logs/admin | |||
| @@ -1,73 +0,0 @@ | |||
| server: | |||
| port: 9300 | |||
| servlet: | |||
| context-path: / | |||
| spring: | |||
| application: | |||
| name: suimang | |||
| profiles: | |||
| active: dev | |||
| jackson: | |||
| date-format: yyyy-MM-dd HH:mm:ss | |||
| time-zone: GMT+8 | |||
| default-property-inclusion: non_null | |||
| servlet: | |||
| multipart: | |||
| max-file-size: 2MB | |||
| max-request-size: 2MB | |||
| cache: | |||
| type: REDIS | |||
| cache-names: redis_cache #缓存的名字(可以不指定) | |||
| redis: | |||
| time-to-live: 60000ms #很重要,缓存的有效时间,以便缓存的过期(单位为毫秒) | |||
| # rocketmq: | |||
| # nameServer: 202.165.179.86:9876 | |||
| # producer: | |||
| # retry-times-when-send-async-failed: 0 | |||
| # send-msg-timeout: 300000 | |||
| # compress-msg-body-over-howmuch: 4096 | |||
| # max-message-size: 4194304 | |||
| # retry-another-broker-when-not-store-ok: false | |||
| # retry-times-when-send-failed: 2 | |||
| # rabbitmq: | |||
| # host: 202.165.179.86 | |||
| # port: 5672 | |||
| # username: guest | |||
| # password: guest | |||
| # publisher-confirms: true | |||
| # virtual-host: / | |||
| aop: | |||
| proxy-target-class: true | |||
| auto: true | |||
| # MybatisPlus | |||
| mybatis-plus: | |||
| mapper-locations: classpath:mapper/*Mapper.xml | |||
| global-config: | |||
| db-config: | |||
| id-type: id_worker | |||
| field-strategy: not_null | |||
| db-type: mysql | |||
| configuration: | |||
| jdbc-type-for-null: 'null' | |||
| cache-enabled: false | |||
| call-setters-on-nulls: true | |||
| type-aliases-package: com.iformall.domain.po | |||
| type-enums-package: com.iformall.enums | |||
| # PageHelper | |||
| pagehelper: | |||
| helperDialect: mysql | |||
| reasonable: false | |||
| supportMethodsArguments: true | |||
| params: count=countSql | |||
| offset-as-page-num: true | |||
| page-size-zero: true | |||
| row-bounds-with-count: true | |||
| mapper: | |||
| mappers: | |||
| - com.iformall.common.CommonMapper | |||
| version: 1.0 | |||
| @@ -1,100 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <configuration scan="true" scanPeriod="10 seconds"> | |||
| <!-- 外部指定路径 --> | |||
| <springProperty scop="context" name="logPath" source="logging.path" /> | |||
| <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |||
| <encoder> | |||
| <Pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] --%mdc{client}%msg%n</Pattern> | |||
| </encoder> | |||
| </appender> | |||
| <appender name="TRACE_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/trace.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/trace.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| </appender> | |||
| <appender name="INFO_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/info.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/info.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>INFO</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <appender name="DEBUG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/debug.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/debug.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>DEBUG</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <appender name="WARN_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/warn.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/warn.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>WARN</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <appender name="ERROR_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/error.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/error.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>ERROR</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <root level="TRACE"> | |||
| <appender-ref ref="TRACE_FILE" /> | |||
| <appender-ref ref="INFO_FILE" /> | |||
| <!-- <appender-ref ref="DEBUG_FILE" /> --> | |||
| <!-- <appender-ref ref="WARN_FILE" /> --> | |||
| <appender-ref ref="ERROR_FILE" /> | |||
| </root> | |||
| <root level="INFO"> | |||
| <appender-ref ref="STDOUT" /> | |||
| </root> | |||
| </configuration> | |||
| @@ -1,3 +0,0 @@ | |||
| version=1.0 | |||
| groupId=com.iformall | |||
| artifactId=suimangCallback | |||
| @@ -1,31 +0,0 @@ | |||
| com\iformall\utils\AlipayMsgPage.class | |||
| com\iformall\controller\HomeController.class | |||
| META-INF\spring-configuration-metadata.json | |||
| com\iformall\config\MyExecutorConfig.class | |||
| com\iformall\controller\base\BaseController$1.class | |||
| com\iformall\interceptor\HttpServletRequestWrapperFilter.class | |||
| com\iformall\config\ShiroLoginFilter.class | |||
| com\iformall\interceptor\RequestInterceptor$1.class | |||
| com\iformall\config\MyBatisConfiguration.class | |||
| com\iformall\config\WebConfig.class | |||
| com\iformall\config\RestFilter.class | |||
| com\iformall\annotation\SystemControllerLog.class | |||
| com\iformall\interceptor\RequestInterceptor.class | |||
| com\iformall\shiro\UserSession.class | |||
| com\iformall\shiro\PasswordHelper.class | |||
| com\iformall\config\RedisConfig.class | |||
| com\iformall\utils\ReportResult.class | |||
| com\iformall\shiro\UseriFormallToken.class | |||
| com\iformall\utils\UrlCheck.class | |||
| com\iformall\controller\base\BaseController.class | |||
| com\iformall\shiro\MyShiroRealm.class | |||
| com\iformall\config\RestTemplateConfig.class | |||
| com\iformall\config\ShiroConfig.class | |||
| com\iformall\interceptor\BodyReaderHttpServletRequestWrapper$1.class | |||
| com\iformall\annotation\SystemServiceLog.class | |||
| com\iformall\shiro\ShiroService.class | |||
| com\iformall\interceptor\BodyReaderHttpServletRequestWrapper.class | |||
| com\iformall\shiro\MyRetryLimitCredentialsMatcher.class | |||
| com\iformall\CallbackApplication.class | |||
| com\iformall\config\AwsProperty.class | |||
| com\iformall\interceptor\XssHttpServletRequestWrapper.class | |||
| @@ -1,27 +0,0 @@ | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\config\MyExecutorConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\controller\HomeController.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\shiro\ShiroService.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\interceptor\XssHttpServletRequestWrapper.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\shiro\MyShiroRealm.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\CallbackApplication.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\utils\UrlCheck.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\interceptor\HttpServletRequestWrapperFilter.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\config\AwsProperty.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\config\ShiroLoginFilter.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\controller\base\BaseController.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\interceptor\BodyReaderHttpServletRequestWrapper.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\config\RedisConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\config\ShiroConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\shiro\UseriFormallToken.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\shiro\MyRetryLimitCredentialsMatcher.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\annotation\SystemControllerLog.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\config\MyBatisConfiguration.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\utils\ReportResult.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\interceptor\RequestInterceptor.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\annotation\SystemServiceLog.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\config\RestTemplateConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\shiro\UserSession.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\config\RestFilter.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\shiro\PasswordHelper.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\utils\AlipayMsgPage.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangCallback\src\main\java\com\iformall\config\WebConfig.java | |||
| @@ -1,32 +0,0 @@ | |||
| { | |||
| "groups": [ | |||
| { | |||
| "name": "aws", | |||
| "type": "com.iformall.config.AwsProperty", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| } | |||
| ], | |||
| "properties": [ | |||
| { | |||
| "name": "aws.access", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.bucket-name", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.client-region", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.secret", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| } | |||
| ], | |||
| "hints": [] | |||
| } | |||
| @@ -1,183 +0,0 @@ | |||
| spring: | |||
| profiles: | |||
| #include: aliyunRocketMQ | |||
| include: rabbitMQ | |||
| # JDBC | |||
| datasource: | |||
| url: jdbc:mysql://101.200.130.134:3306/malink_suimang?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useUnicode=true&useSSL=false&useAffectedRows=true | |||
| username: root | |||
| password: fm2020test | |||
| type: com.alibaba.druid.pool.DruidDataSource | |||
| driver-class-name: com.mysql.cj.jdbc.Driver | |||
| filters: stat | |||
| maxActive: 20 | |||
| initialSize: 1 | |||
| maxWait: 60000 | |||
| minIdle: 1 | |||
| timeBetweenEvictionRunsMillis: 28000 | |||
| minEvictableIdleTimeMillis: 28000 | |||
| validationQuery: select 'x' | |||
| testWhileIdle: true | |||
| testOnBorrow: false | |||
| testOnReturn: false | |||
| poolPreparedStatements: true | |||
| maxOpenPreparedStatements: 20 | |||
| connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" | |||
| #jackson: | |||
| #date-format: yyyy-MM-dd HH:mm:ss | |||
| # REDIS | |||
| redis: | |||
| host: 101.200.130.134 | |||
| port: 6379 | |||
| password: iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 5 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 50 | |||
| max-idle: 50 | |||
| max-wait: -1 | |||
| min-idle: 10 | |||
| # SMS | |||
| aliyun: | |||
| sms: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| product: Dysmsapi | |||
| domain: dysmsapi.aliyuncs.com | |||
| regionId: cn-hangzhou | |||
| dateFormat: yyyyMMdd | |||
| endpointName: cn-hangzhou | |||
| oss: | |||
| endpoint: oss-cn-beijing.aliyuncs.com | |||
| keyid: LTAI4G7ixY4AhvM35F8o3W3V | |||
| keysecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| bucketname: formall | |||
| filehost: malinkmqconsumer | |||
| filedomain: https://formall.oss-accelerate.aliyuncs.com | |||
| mail: | |||
| host: smtp.exmail.qq.com | |||
| username: zhengfangyuan@iformall.com | |||
| password: 2hSeppFRaw7KZZyf # 授权密码 | |||
| properties: | |||
| mail: | |||
| smtp: | |||
| auth: true | |||
| starttls: | |||
| enable: true | |||
| socketFactory: | |||
| port: 465 | |||
| class: javax.net.ssl.SSLSocketFactory | |||
| rocketmq: | |||
| nameServer: 127.0.0.1:9876 | |||
| producer: | |||
| retry-times-when-send-async-failed: 0 | |||
| send-msg-timeout: 300000 | |||
| compress-msg-body-over-howmuch: 4096 | |||
| max-message-size: 4194304 | |||
| retry-another-broker-when-not-store-ok: false | |||
| retry-times-when-send-failed: 2 | |||
| rabbitmq: | |||
| host: 101.200.130.134 | |||
| port: 5672 | |||
| username: fumao | |||
| password: f9l98 | |||
| publisher-confirms: true | |||
| publisher-returns: false | |||
| virtual-host: / | |||
| aliyunRocketmq: | |||
| accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V" | |||
| accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry" | |||
| groupId: "GID_P_1" | |||
| namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080" | |||
| aws: | |||
| clientRegion: cn-northwest-1 | |||
| bucketName: iformall-net | |||
| access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=) | |||
| secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=) | |||
| #wechat: | |||
| # open: | |||
| # componentAppId: "wxdfc8fb4e62d6b52b" | |||
| # componentSecret: "98daa62b316dd6feabaad708327ce233" | |||
| # componentToken: "formall2018" | |||
| # componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN" | |||
| # redis: | |||
| # host: 101.201.103.81 | |||
| # port: 6379 | |||
| # password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk) | |||
| # timeout: 3600 | |||
| # expire: 1800 #30分钟 | |||
| # database: 2 | |||
| # defaultExpiration: 2592000 # 默认生命周期30天 | |||
| # jedis: | |||
| # pool: | |||
| # max-active: 100 | |||
| # max-idle: 500 | |||
| # max-wait: -1 | |||
| # min-idle: 10 | |||
| wechat: | |||
| web: | |||
| appId: "wx091907dd0bfd3f6b" | |||
| secret: "2a2ca10738998b9ef92c1fe8a4d366a6" | |||
| url: "https://admintest.malls.iformall.com" | |||
| open: | |||
| componentAppId: wxdfc8fb4e62d6b52b | |||
| componentSecret: 98daa62b316dd6feabaad708327ce233 | |||
| componentToken: formall2018 | |||
| componentAesKey: htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN | |||
| redis: | |||
| host: 101.200.130.134 | |||
| port: 6379 | |||
| password: iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 2 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 100 | |||
| max-idle: 100 | |||
| max-wait: -1 | |||
| min-idle: 10 | |||
| alipay: | |||
| open: | |||
| appId: 2021002137663024 | |||
| appPrivateKey: MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCUfymV5J73QQMG52PVIGUbowkloYCO4B7TQoKbrTZf2YeYsg/To/o4PiXPMNwEUfEUU8NYQ6WwNhCd2fa1ei8WFXJUf3bfgswtBk1aOmHLeY9yoXFxIKMTQ9RcobnmBzKQZlaAPMTSr7t1QtKZKPuc2gEHGRFYKO/ZuL8gIpnsVidVtmi52yd7hzao/pI3ThLA0lreg4L3rYP5ESQZRytxIPgUQ4KI11pZxFgbe+uy28AGDYIQscSIb+SWOHPYKLvOEqqepIZ8M18w/U0lZzpzepzi/V/llekvXJ6UEf1lzl7x/4UIA3WPN1B40+NzbD/OxEGTuM0UctOG6ZTd4Te9AgMBAAECggEAPYksnHbvARspu/SrRCh2fatkIPn6Ijrxyy3mnch7neCw9i/jqxpqmF/4nxFqO0gRlRDZBHyT7p+Y5zDpsW5+kLI2fJmNkzXKkmXoLBnBaOZo8WHBdtXFfjg/iltig9Y7t+cQtXd5QK2eCwuz5dA75FXa0ywqKdRdAGY0nYZ5LpwrHVU8RXheUDCJyhKNj2+W6lIaSKDxLZU3laO1oBrv1agcy7Crd5E2ndb8O3Enga+z7wSz2h7A1BasC/Yl/Ro0Y21wLCH3s/R6qA0Paq12+WEF+xdodM7SrP43CCTVFGbC1TfEOdanJfixop8QuYsIp7pHrL925+vP4eY9RfckgQKBgQDQqLdpDzzU7Ot/L9Vc/r8d4iwXXbX8+HwVFV4oBuausgFyv8eJJpfrI+IlEoB1ubJcPpJBFqfmeYTW6/v6ioFljJAlWfFvesUVt/HszBMIOsU0Bzt7ex6WlwKOagb0q0ZPA4T0OY0K0lg0loaaaR8ZTr4ivDymaGBtTBYhslpc7QKBgQC2MBznGEc5r2dhyENvdPOR20PnXQcevGnPdqSus8m0VmDcHE72RVcckcZtwczsb3NaLSqmjAcWTn51/VFmlvhB3F34FcFTPZGq6sj7fWK8HuFq7l7mu5OzYuVr73zy9ggsUuaw10IqvvwIVxszNAF0hiRnSGH3z27CoRmz3s+8EQKBgQCK3o7atBJ3X4rIJiypbL4DhIB1uJ+jUjk6yvLUTut+fufp1+tTw0S+cS5UIAEw2Lr1G4u5F/v8rwmTBJG6SC4gSLGyui6uVBYRA1BWmedcxchzfRDAeMt9y9kesUAZ3Fe5xIzbAeZ1ulKMBVZmM+pHrJlsgr0Wv0bV1xqvqITtbQKBgBIsIGXopQoa9dvqBtfyOW1eCprkS5aEQqWf9vM6Ga90QjsSU8n6xqKh48IE57TZtQ7UnIF6TCasc66/MsRh4KdpHLJnMR5lcMc0nhF/wz5ychehaTPol+X3wlyOyc7OPah2KG6ROhdbb3ZBggQMduyxiKYIsUTvmuOtAAxR+DSRAoGADtuDzGQDOJYWiO2uuP6FpA5IJaiwlSfu3xncJVfhO8SVr6VBJFg88igbIB3w6nk/sv7j9VTXqXre9HMvp1flxaaLsdxM4HcTSALS9q6t/ajaveqte6S5kAtWx0WW8C6PtgWXHbxcD7LXARSsKLoEl2JXXyUVS/m2l/RzHBQ8GJI= | |||
| appPublicKeyCertPath: /opt/iformall/service/alipay/appCertPublicKey_2021002137663024.crt | |||
| alipayCertPath: /opt/iformall/service/alipay/alipayCertPublicKey_RSA2.crt | |||
| alipayRootCertPath: /opt/iformall/service/alipay/alipayRootCert.crt | |||
| callback: https://callbacktest.malls.iformall.com/api/alipay/notify/callback | |||
| video: | |||
| aliyun: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| regionId: cn-beijing | |||
| jasypt: | |||
| encryptor: | |||
| password: oRqdnDbK5pj3eMmB | |||
| fm: | |||
| exception: true | |||
| exception_emails: xuxiaohu@iformall.com | |||
| deploy: 1 | |||
| open: true | |||
| upload_dir: /home/test/server/uploads/ | |||
| videoType: aliyun | |||
| logging: | |||
| level: | |||
| com.iformall.mapper: debug | |||
| path: ./logs/m | |||
| @@ -1,143 +0,0 @@ | |||
| spring: | |||
| profiles: | |||
| include: aliyunRocketMQ | |||
| # JDBC | |||
| datasource: | |||
| url: jdbc:mysql://zc349w82qvn56ftl5e64-rw4rm.rwlb.rds.aliyuncs.com:3306/malink_suimang?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true | |||
| username: ENC(nUefcxWYlMS/1cDxikIKwA==) | |||
| password: ENC(neToS+hzeFjgSFB/7UEl5qYnW2rUjrPq) | |||
| type: com.alibaba.druid.pool.DruidDataSource | |||
| driver-class-name: com.mysql.cj.jdbc.Driver | |||
| filters: stat | |||
| maxActive: 200 | |||
| initialSize: 1 | |||
| maxWait: 60000 | |||
| minIdle: 1 | |||
| timeBetweenEvictionRunsMillis: 28000 | |||
| minEvictableIdleTimeMillis: 28000 | |||
| validationQuery: select 'x' | |||
| testWhileIdle: true | |||
| testOnBorrow: false | |||
| testOnReturn: false | |||
| poolPreparedStatements: true | |||
| maxOpenPreparedStatements: 20 | |||
| connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" | |||
| # REDIS | |||
| redis: | |||
| host: r-2zeaglwf13qqmnllj5.redis.rds.aliyuncs.com | |||
| port: 6379 | |||
| password: mallone:iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 1 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 50 | |||
| max-idle: 50 | |||
| max-wait: -1 | |||
| min-idle: 0 | |||
| # SMS | |||
| aliyun: | |||
| sms: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| product: Dysmsapi | |||
| domain: dysmsapi.aliyuncs.com | |||
| regionId: cn-hangzhou | |||
| dateFormat: yyyyMMdd | |||
| endpointName: cn-hangzhou | |||
| oss: | |||
| endpoint: oss-cn-beijing.aliyuncs.com | |||
| keyid: LTAI4G7ixY4AhvM35F8o3W3V | |||
| keysecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| bucketname: formall | |||
| filehost: malinkadmin | |||
| filedomain: https://formall.oss-accelerate.aliyuncs.com | |||
| mail: | |||
| host: smtp.exmail.qq.com | |||
| username: zhengfangyuan@iformall.com | |||
| password: 2hSeppFRaw7KZZyf # 授权密码 | |||
| properties: | |||
| mail: | |||
| smtp: | |||
| auth: true | |||
| starttls: | |||
| enable: true | |||
| socketFactory: | |||
| port: 465 | |||
| class: javax.net.ssl.SSLSocketFactory | |||
| # RABBITMQ | |||
| rabbitmq: | |||
| host: localhost | |||
| port: 5672 | |||
| username: ENC(lRmLd6EzgeY1RT5ktcHv9g==) | |||
| password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=) | |||
| publisher-confirms: true | |||
| publisher-returns: false | |||
| virtual-host: / | |||
| aliyunRocketmq: | |||
| accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V" | |||
| accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry" | |||
| groupId: "GID_P_1" | |||
| namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080" | |||
| aws: | |||
| clientRegion: cn-northwest-1 | |||
| bucketName: iformall-net | |||
| access: ENC(a6SN1sZ1enNL49ypiOXkg/pPPAnZD8H4buQFTTKN08s=) | |||
| secret: ENC(5P5ff4bTMJUbXVR4ZsM03UHzOKZ4+Zg5Iutcdkyp/Quny/oXg+A4KpfwEyGarlLu3vQMJahGP5M=) | |||
| wechat: | |||
| open: | |||
| componentAppId: ENC(b3JG0MUZgQfz5Zj+DC2ZM1zDeLOiGTmmeokfe2O8kaM=) | |||
| componentSecret: ENC(QVyc4BPGdnSjXGs2ivgpDBE1v8wPWHLLRMYI7Vv8uYwC0SiZHQz0QpyyQV/b48Pb) | |||
| componentToken: ENC(rkxj0733WxFFDLgA9x01m2s5Fi2L+0PC) | |||
| componentAesKey: ENC(EIbJUBpbYOrLb4YQ/HXLQmxlxgAqIp2ZmpnGICC8pu5xiTz3Cqfkbwd2S8raCcK/IvYcX2GmedI=) | |||
| redis: | |||
| host: r-2zeaglwf13qqmnllj5.redis.rds.aliyuncs.com | |||
| port: 6379 | |||
| password: mallone:iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 2 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 100 | |||
| max-idle: 100 | |||
| max-wait: -1 | |||
| min-idle: 10 | |||
| alipay: | |||
| open: | |||
| appId: 2021002140616334 | |||
| appPrivateKey: MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCEJmHIlS0luIH7zJRRVlypCcgiSkqpSlnmgyCEM7nu8IerV8Yf7dMBitBklTpJB+4URV1bW+q6Ijzo8RsCyjm1Kx+EFiKf1PiJXlT0h1+bF3fYdDr6r5GK0/TtB8O80p774NcRD3HgbzUS8AEe/GcBvhiXbDRgJh7yAngW9vxl9u1o5UcaxOXVLWDrjlQGF6qyXUlycCNIdPXj3LduP3PBK5daVZwJm33Pr7kmSI0agZvV267HaTpSKaiXI7Zwo+nFMqx9g9kpzmYRfOgHx3DWpQUFI646IB8nEpLpQp3/0eDocuqiHXYgEpLpPoFKoVE228v74YSFh3Y4fFGX+qtjAgMBAAECggEAIJK9Y42xtSyHjaNdo7bf3CK3HAyn3pafFjyYFT4SxJyxNEDMay5Z5nVq7IAD/+BehMycOFqtvveVf+1+NO/XzZo1iH9URYVfRazkz+lWXYopVkdACm6gN1ILeymAy9g2q+s918ywyxteP668+ABK+5j5wsk/F7wNwKVvKGn0yMT7DP0FAL1e0KWndZCZlF79VnFpBLscDJq28GqRzqYop4CWqHHTA6DBvIqkfQV4U3IzqnzOsxNLEMBwhnbK08XfYZ3DxCPH0jQdA2Jj/aABrntq2EpWjzW5H9iZqrVo33rmsNHUSQvla/333RkbpwGyNhI6kcPBRq4cVSAa3y7dMQKBgQDVfyDUPWKXVwIJUgO1my8WIUu2p6nhuT7Mfnpk4X7ewdFaRVjb/r0KvhLgoz2/KOwkqtWTlEvNaCDDycpLXk+V5ZH833kYsDEmxY7ikOUjCcrfYJgT7P77//cZ4Kx8a5X45SiKAZT2GQv7BTtIfNhrfTUj6AQx/3MP3sa2QAWeNQKBgQCedWoF7t+qyck2hctqtTFC7fRkEk7RNJVph1ZOeTqOIAKhmhkwaOE3joxQ/VqHDy212YdW4hI0BWUzbEdMy0Idz2G3y9ERVD84hZehf5GGRdiSrY9EEQgHlcI6Qb8/AnDdpy1DlKUMwTYjVNzkDL3AzeWn61JS1XQaOzZBsJy2NwKBgFa+pJQXrOtYytcGn8M2Hlebh6vbS8cPAVkNOqWqiWXw0iMfcg9Q3XZz7C+hpAD7m5b6YnToGDSJTma+opck5qk88agRFJ7XV+Es+/VKcg9edzNzh9bwwFmbksbM5shW3kSWt3X7Vo73dkqzwXaeY0CpSuIf7zRxWkrkdVCvipjRAoGAMcJlPN+6VQNwsDJromKryXy31gT5wzBkCvN44sOm46KhsOWXK2CD+NJGtdgZaXgWvphEq7/qP3PCR9ekvDTH2lyZLwJN8Mcn4zPwXcKVjDi6vbTK3HEMuHUKvQiQadT2ZGRvDl3LRqoVuhqYEvT9UWJWz9hRzblB8ErPyukPDRkCgYB7bMv2iflpaGE1J3gkTlVJB+2QSfnAXaUDMLWsZN4gYjwEBVCEJ+mhWL1/GeEIBjSs5/qZIeRsYzlxGEcnsJzRfog6ITBF14AeZ+xNkHq83ja87OGVKMypiccGwRehijDhJi6tgMJ0u0w6PiqcJvh0SX4jBhDDPjuWzK2XD+lx8A== | |||
| appPublicKeyCertPath: /opt/iformall/service/alipay/appCertPublicKey_2021002140616334.crt | |||
| alipayCertPath: /opt/iformall/service/alipay/alipayCertPublicKey_RSA2.crt | |||
| alipayRootCertPath: /opt/iformall/service/alipay/alipayRootCert.crt | |||
| callback: https://callback.malls.iformall.com/api/alipay/notify/callback | |||
| video: | |||
| aliyun: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| regionId: cn-beijing | |||
| endPoint: https://oss-cn-beijing.aliyuncs.com | |||
| corePoolSize: 6 | |||
| maxPoolSize: 20 | |||
| queueCapacity: 1000 | |||
| namePrefix: aliyun-video-upload | |||
| fm: | |||
| exception: true | |||
| exception_emails: houtaikaifa@iformall.com | |||
| deploy: 3 | |||
| open: true | |||
| upload_dir: /root/uploads/ | |||
| videoType: aliyun | |||
| logging: | |||
| level: | |||
| com.iformall: debug | |||
| path: ./logs/m | |||
| @@ -1,71 +0,0 @@ | |||
| server: | |||
| port: 5100 | |||
| servlet: | |||
| context-path: /mq | |||
| spring: | |||
| application: | |||
| name: suimang | |||
| profiles: | |||
| active: dev | |||
| jackson: | |||
| date-format: yyyy-MM-dd HH:mm:ss | |||
| time-zone: GMT+8 | |||
| default-property-inclusion: non_null | |||
| servlet: | |||
| multipart: | |||
| max-file-size: 2MB | |||
| max-request-size: 2MB | |||
| cache: | |||
| type: REDIS | |||
| cache-names: redis_cache #缓存的名字(可以不指定) | |||
| redis: | |||
| time-to-live: 60000ms #很重要,缓存的有效时间,以便缓存的过期(单位为毫秒) | |||
| # rocketmq: | |||
| # nameServer: 127.0.0.1:9876 | |||
| # producer: | |||
| # retry-times-when-send-async-failed: 0 | |||
| # send-msg-timeout: 300000 | |||
| # compress-msg-body-over-howmuch: 4096 | |||
| # max-message-size: 4194304 | |||
| # retry-another-broker-when-not-store-ok: false | |||
| # retry-times-when-send-failed: 2 | |||
| # rabbitmq: | |||
| # host: 202.165.179.86 | |||
| # port: 5672 | |||
| # username: guest | |||
| # password: guest | |||
| # publisher-confirms: true | |||
| # virtual-host: / | |||
| # MybatisPlus | |||
| mybatis-plus: | |||
| mapper-locations: classpath:mapper/*Mapper.xml | |||
| global-config: | |||
| db-config: | |||
| id-type: id_worker | |||
| field-strategy: not_null | |||
| db-type: mysql | |||
| configuration: | |||
| jdbc-type-for-null: 'null' | |||
| cache-enabled: false | |||
| call-setters-on-nulls: true | |||
| type-aliases-package: com.iformall.domain.po | |||
| type-enums-package: com.iformall.enums | |||
| # PageHelper | |||
| pagehelper: | |||
| helperDialect: mysql | |||
| reasonable: false | |||
| supportMethodsArguments: true | |||
| params: count=countSql | |||
| offset-as-page-num: true | |||
| page-size-zero: true | |||
| row-bounds-with-count: true | |||
| mapper: | |||
| mappers: | |||
| - com.iformall.common.CommonMapper | |||
| version: 1.0 | |||
| @@ -1,100 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <configuration scan="true" scanPeriod="10 seconds"> | |||
| <!-- 外部指定路径 --> | |||
| <springProperty scop="context" name="logPath" source="logging.path" /> | |||
| <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |||
| <encoder> | |||
| <Pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] --%mdc{client}%msg%n</Pattern> | |||
| </encoder> | |||
| </appender> | |||
| <appender name="TRACE_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/trace.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/trace.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| </appender> | |||
| <appender name="INFO_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/info.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/info.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>INFO</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <appender name="DEBUG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/debug.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/debug.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>DEBUG</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <appender name="WARN_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/warn.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/warn.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>WARN</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <appender name="ERROR_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/error.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/error.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>ERROR</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <root level="TRACE"> | |||
| <appender-ref ref="TRACE_FILE" /> | |||
| <appender-ref ref="INFO_FILE" /> | |||
| <!-- <appender-ref ref="DEBUG_FILE" /> --> | |||
| <!-- <appender-ref ref="WARN_FILE" /> --> | |||
| <appender-ref ref="ERROR_FILE" /> | |||
| </root> | |||
| <root level="INFO"> | |||
| <appender-ref ref="STDOUT" /> | |||
| </root> | |||
| </configuration> | |||
| @@ -1,3 +0,0 @@ | |||
| version=1.0 | |||
| groupId=com.iformall | |||
| artifactId=suimangMQConsumer | |||
| @@ -1,14 +0,0 @@ | |||
| com\iformall\mq\MqBaseConsumer.class | |||
| com\iformall\controller\HomeController.class | |||
| com\iformall\mq\impl\RabbitMqConsumer.class | |||
| com\iformall\config\RedisConfig.class | |||
| com\iformall\mq\impl\AliyunRocketMqConsumer$1.class | |||
| com\iformall\ConsumerApplication.class | |||
| META-INF\spring-configuration-metadata.json | |||
| com\iformall\config\RestTemplateConfig.class | |||
| com\iformall\mq\impl\RocketMqConsumer.class | |||
| com\iformall\config\MyBatisConfiguration.class | |||
| com\iformall\config\WebConfig.class | |||
| com\iformall\config\RestFilter.class | |||
| com\iformall\mq\impl\AliyunRocketMqConsumer.class | |||
| com\iformall\config\AwsProperty.class | |||
| @@ -1,12 +0,0 @@ | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\config\AwsProperty.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\config\RestFilter.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\mq\MqBaseConsumer.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\config\MyBatisConfiguration.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\config\RestTemplateConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\config\WebConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\controller\HomeController.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\ConsumerApplication.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\mq\impl\RocketMqConsumer.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\config\RedisConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\mq\impl\AliyunRocketMqConsumer.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangMQConsumer\src\main\java\com\iformall\mq\impl\RabbitMqConsumer.java | |||
| @@ -1,32 +0,0 @@ | |||
| { | |||
| "groups": [ | |||
| { | |||
| "name": "aws", | |||
| "type": "com.iformall.config.AwsProperty", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| } | |||
| ], | |||
| "properties": [ | |||
| { | |||
| "name": "aws.access", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.bucket-name", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.client-region", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.secret", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| } | |||
| ], | |||
| "hints": [] | |||
| } | |||
| @@ -1,181 +0,0 @@ | |||
| spring: | |||
| profiles: | |||
| #include: aliyunRocketMQ | |||
| include: rabbitMQ | |||
| # JDBC | |||
| datasource: | |||
| url: jdbc:mysql://101.200.130.134:3306/malink_suimang?characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&useUnicode=true&useSSL=false&useAffectedRows=true | |||
| username: root | |||
| password: fm2020test | |||
| type: com.alibaba.druid.pool.DruidDataSource | |||
| driver-class-name: com.mysql.cj.jdbc.Driver | |||
| filters: stat | |||
| maxActive: 20 | |||
| initialSize: 1 | |||
| maxWait: 60000 | |||
| minIdle: 1 | |||
| timeBetweenEvictionRunsMillis: 28000 | |||
| minEvictableIdleTimeMillis: 28000 | |||
| validationQuery: select 'x' | |||
| testWhileIdle: true | |||
| testOnBorrow: false | |||
| testOnReturn: false | |||
| poolPreparedStatements: true | |||
| maxOpenPreparedStatements: 20 | |||
| connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" | |||
| #jackson: | |||
| #date-format: yyyy-MM-dd HH:mm:ss | |||
| # REDIS | |||
| redis: | |||
| host: 101.200.130.134 | |||
| port: 6379 | |||
| password: iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 5 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 50 | |||
| max-idle: 50 | |||
| max-wait: -1 | |||
| min-idle: 10 | |||
| # SMS | |||
| aliyun: | |||
| sms: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| product: Dysmsapi | |||
| domain: dysmsapi.aliyuncs.com | |||
| regionId: cn-hangzhou | |||
| dateFormat: yyyyMMdd | |||
| endpointName: cn-hangzhou | |||
| oss: | |||
| endpoint: oss-cn-beijing.aliyuncs.com | |||
| keyid: LTAI4G7ixY4AhvM35F8o3W3V | |||
| keysecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| bucketname: formall | |||
| filehost: malinkschedule | |||
| filedomain: https://formall.oss-accelerate.aliyuncs.com | |||
| mail: | |||
| host: smtp.exmail.qq.com | |||
| username: zhengfangyuan@iformall.com | |||
| password: 2hSeppFRaw7KZZyf # 授权密码 | |||
| properties: | |||
| mail: | |||
| smtp: | |||
| auth: true | |||
| starttls: | |||
| enable: true | |||
| socketFactory: | |||
| port: 465 | |||
| class: javax.net.ssl.SSLSocketFactory | |||
| rocketmq: | |||
| nameServer: 127.0.0.1:9876 | |||
| producer: | |||
| retry-times-when-send-async-failed: 0 | |||
| send-msg-timeout: 300000 | |||
| compress-msg-body-over-howmuch: 4096 | |||
| max-message-size: 4194304 | |||
| retry-another-broker-when-not-store-ok: false | |||
| retry-times-when-send-failed: 2 | |||
| rabbitmq: | |||
| host: 101.200.130.134 | |||
| port: 5672 | |||
| username: fumao | |||
| password: f9l98 | |||
| publisher-confirms: true | |||
| publisher-returns: false | |||
| virtual-host: / | |||
| aliyunRocketmq: | |||
| accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V" | |||
| accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry" | |||
| groupId: "GID_P_1" | |||
| namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080" | |||
| aws: | |||
| clientRegion: cn-northwest-1 | |||
| bucketName: iformall-net | |||
| access: ENC(3gx5ghDFBqGrEhO3Wf8aYmXsnwHO7Cj3HNKJGOeUj0o=) | |||
| secret: ENC(HVKIJwCJKVXLlUpGlQPwNqJOlnpxn4xYuy91SH0seTSm2uAttIQHvA49fXWWax90v5wloIk0QuU=) | |||
| #wechat: | |||
| # open: | |||
| # componentAppId: "wxdfc8fb4e62d6b52b" | |||
| # componentSecret: "98daa62b316dd6feabaad708327ce233" | |||
| # componentToken: "formall2018" | |||
| # componentAesKey: "htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN" | |||
| # redis: | |||
| # host: 101.201.103.81 | |||
| # port: 6379 | |||
| # password: ENC(xPFDlgd6v8zUhJMbcKc0KmmQiqs9qHtk) | |||
| # timeout: 3600 | |||
| # expire: 1800 #30分钟 | |||
| # database: 2 | |||
| # defaultExpiration: 2592000 # 默认生命周期30天 | |||
| # jedis: | |||
| # pool: | |||
| # max-active: 100 | |||
| # max-idle: 500 | |||
| # max-wait: -1 | |||
| # min-idle: 10 | |||
| wechat: | |||
| web: | |||
| appId: "wx091907dd0bfd3f6b" | |||
| secret: "2a2ca10738998b9ef92c1fe8a4d366a6" | |||
| url: "https://admintest.malls.iformall.com" | |||
| open: | |||
| componentAppId: wxdfc8fb4e62d6b52b | |||
| componentSecret: 98daa62b316dd6feabaad708327ce233 | |||
| componentToken: formall2018 | |||
| componentAesKey: htKq8EjBMPNndfZQK9JiFojFaqFwFpw42VfeWFtx7HN | |||
| redis: | |||
| host: 101.200.130.134 | |||
| port: 6379 | |||
| password: iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 2 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 100 | |||
| max-idle: 100 | |||
| max-wait: -1 | |||
| min-idle: 10 | |||
| alipay: | |||
| open: | |||
| appId:"2021002137663024" | |||
| appPrivateKey:"MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCUfymV5J73QQMG52PVIGUbowkloYCO4B7TQoKbrTZf2YeYsg/To/o4PiXPMNwEUfEUU8NYQ6WwNhCd2fa1ei8WFXJUf3bfgswtBk1aOmHLeY9yoXFxIKMTQ9RcobnmBzKQZlaAPMTSr7t1QtKZKPuc2gEHGRFYKO/ZuL8gIpnsVidVtmi52yd7hzao/pI3ThLA0lreg4L3rYP5ESQZRytxIPgUQ4KI11pZxFgbe+uy28AGDYIQscSIb+SWOHPYKLvOEqqepIZ8M18w/U0lZzpzepzi/V/llekvXJ6UEf1lzl7x/4UIA3WPN1B40+NzbD/OxEGTuM0UctOG6ZTd4Te9AgMBAAECggEAPYksnHbvARspu/SrRCh2fatkIPn6Ijrxyy3mnch7neCw9i/jqxpqmF/4nxFqO0gRlRDZBHyT7p+Y5zDpsW5+kLI2fJmNkzXKkmXoLBnBaOZo8WHBdtXFfjg/iltig9Y7t+cQtXd5QK2eCwuz5dA75FXa0ywqKdRdAGY0nYZ5LpwrHVU8RXheUDCJyhKNj2+W6lIaSKDxLZU3laO1oBrv1agcy7Crd5E2ndb8O3Enga+z7wSz2h7A1BasC/Yl/Ro0Y21wLCH3s/R6qA0Paq12+WEF+xdodM7SrP43CCTVFGbC1TfEOdanJfixop8QuYsIp7pHrL925+vP4eY9RfckgQKBgQDQqLdpDzzU7Ot/L9Vc/r8d4iwXXbX8+HwVFV4oBuausgFyv8eJJpfrI+IlEoB1ubJcPpJBFqfmeYTW6/v6ioFljJAlWfFvesUVt/HszBMIOsU0Bzt7ex6WlwKOagb0q0ZPA4T0OY0K0lg0loaaaR8ZTr4ivDymaGBtTBYhslpc7QKBgQC2MBznGEc5r2dhyENvdPOR20PnXQcevGnPdqSus8m0VmDcHE72RVcckcZtwczsb3NaLSqmjAcWTn51/VFmlvhB3F34FcFTPZGq6sj7fWK8HuFq7l7mu5OzYuVr73zy9ggsUuaw10IqvvwIVxszNAF0hiRnSGH3z27CoRmz3s+8EQKBgQCK3o7atBJ3X4rIJiypbL4DhIB1uJ+jUjk6yvLUTut+fufp1+tTw0S+cS5UIAEw2Lr1G4u5F/v8rwmTBJG6SC4gSLGyui6uVBYRA1BWmedcxchzfRDAeMt9y9kesUAZ3Fe5xIzbAeZ1ulKMBVZmM+pHrJlsgr0Wv0bV1xqvqITtbQKBgBIsIGXopQoa9dvqBtfyOW1eCprkS5aEQqWf9vM6Ga90QjsSU8n6xqKh48IE57TZtQ7UnIF6TCasc66/MsRh4KdpHLJnMR5lcMc0nhF/wz5ychehaTPol+X3wlyOyc7OPah2KG6ROhdbb3ZBggQMduyxiKYIsUTvmuOtAAxR+DSRAoGADtuDzGQDOJYWiO2uuP6FpA5IJaiwlSfu3xncJVfhO8SVr6VBJFg88igbIB3w6nk/sv7j9VTXqXre9HMvp1flxaaLsdxM4HcTSALS9q6t/ajaveqte6S5kAtWx0WW8C6PtgWXHbxcD7LXARSsKLoEl2JXXyUVS/m2l/RzHBQ8GJI=" | |||
| appPublicKeyCertPath:"/opt/iformall/service/alipay/appCertPublicKey_2021002137663024.crt" | |||
| alipayCertPath:"/opt/iformall/service/alipay/alipayCertPublicKey_RSA2.crt" | |||
| alipayRootCertPath:"/opt/iformall/service/alipay/alipayRootCert.crt" | |||
| callback:"https://callbacktest.malls.iformall.com/api/alipay/notify/callback" | |||
| jasypt: | |||
| encryptor: | |||
| password: oRqdnDbK5pj3eMmB | |||
| fm: | |||
| exception: true | |||
| exception_emails: xuxiaohu@iformall.com | |||
| deploy: 1 | |||
| open: true | |||
| upload_dir: /home/test/server/uploads/ | |||
| monitor_emails: houtaikaifa@iformall.com,xiaochengxufabu@iformall.com | |||
| monitor_enable: true | |||
| clear_data_before_msg_record: 1 | |||
| videoType: aliyun | |||
| logging: | |||
| level: | |||
| #tk.mybatis: debug | |||
| com.iformall.mapper: debug | |||
| path: ./logs/s | |||
| @@ -1,136 +0,0 @@ | |||
| spring: | |||
| profiles: | |||
| include: aliyunRocketMQ | |||
| # JDBC | |||
| datasource: | |||
| url: jdbc:mysql://zc349w82qvn56ftl5e64-rw4rm.rwlb.rds.aliyuncs.com:3306/malink_suimang?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=UTF-8&useSSL=false&useAffectedRows=true | |||
| username: ENC(nUefcxWYlMS/1cDxikIKwA==) | |||
| password: ENC(neToS+hzeFjgSFB/7UEl5qYnW2rUjrPq) | |||
| type: com.alibaba.druid.pool.DruidDataSource | |||
| driver-class-name: com.mysql.cj.jdbc.Driver | |||
| filters: stat | |||
| maxActive: 200 | |||
| initialSize: 1 | |||
| maxWait: 60000 | |||
| minIdle: 1 | |||
| timeBetweenEvictionRunsMillis: 28000 | |||
| minEvictableIdleTimeMillis: 28000 | |||
| validationQuery: select 'x' | |||
| testWhileIdle: true | |||
| testOnBorrow: false | |||
| testOnReturn: false | |||
| poolPreparedStatements: true | |||
| maxOpenPreparedStatements: 20 | |||
| connectionProperties: "druid.stat.mergeSql=true;druid.stat.slowSqlMillis=6000" | |||
| # REDIS | |||
| redis: | |||
| host: r-2zeaglwf13qqmnllj5.redis.rds.aliyuncs.com | |||
| port: 6379 | |||
| password: mallone:iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 1 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 8 | |||
| max-idle: 8 | |||
| max-wait: -1 | |||
| min-idle: 0 | |||
| # SMS | |||
| aliyun: | |||
| sms: | |||
| accessKeyId: LTAI4G7ixY4AhvM35F8o3W3V | |||
| accessKeySecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| product: Dysmsapi | |||
| domain: dysmsapi.aliyuncs.com | |||
| regionId: cn-hangzhou | |||
| dateFormat: yyyyMMdd | |||
| endpointName: cn-hangzhou | |||
| oss: | |||
| endpoint: oss-cn-beijing.aliyuncs.com | |||
| keyid: LTAI4G7ixY4AhvM35F8o3W3V | |||
| keysecret: VfWqGb83qIQrS9us45utskl8itd7ry | |||
| bucketname: formall | |||
| filehost: malinkadmin | |||
| filedomain: https://formall.oss-accelerate.aliyuncs.com | |||
| mail: | |||
| host: smtp.exmail.qq.com | |||
| username: zhengfangyuan@iformall.com | |||
| password: 2hSeppFRaw7KZZyf # 授权密码 | |||
| properties: | |||
| mail: | |||
| smtp: | |||
| auth: true | |||
| starttls: | |||
| enable: true | |||
| socketFactory: | |||
| port: 465 | |||
| class: javax.net.ssl.SSLSocketFactory | |||
| # RABBITMQ | |||
| rabbitmq: | |||
| host: localhost | |||
| port: 5672 | |||
| username: ENC(lRmLd6EzgeY1RT5ktcHv9g==) | |||
| password: ENC(gBI8mCjr3OC0v57jcnSb660Ux7mW03K2oePgvohhg7w=) | |||
| publisher-confirms: true | |||
| publisher-returns: false | |||
| virtual-host: / | |||
| aliyunRocketmq: | |||
| accessKeyId: "LTAI4G7ixY4AhvM35F8o3W3V" | |||
| accessKeySecret: "VfWqGb83qIQrS9us45utskl8itd7ry" | |||
| groupId: "GID_P_1" | |||
| namesrvAddr: "http://MQ_INST_1796289517488555_Bcqaq2is.cn-beijing.mq-internal.aliyuncs.com:8080" | |||
| aws: | |||
| clientRegion: cn-northwest-1 | |||
| bucketName: iformall-net | |||
| access: ENC(a6SN1sZ1enNL49ypiOXkg/pPPAnZD8H4buQFTTKN08s=) | |||
| secret: ENC(5P5ff4bTMJUbXVR4ZsM03UHzOKZ4+Zg5Iutcdkyp/Quny/oXg+A4KpfwEyGarlLu3vQMJahGP5M=) | |||
| wechat: | |||
| open: | |||
| componentAppId: ENC(b3JG0MUZgQfz5Zj+DC2ZM1zDeLOiGTmmeokfe2O8kaM=) | |||
| componentSecret: ENC(QVyc4BPGdnSjXGs2ivgpDBE1v8wPWHLLRMYI7Vv8uYwC0SiZHQz0QpyyQV/b48Pb) | |||
| componentToken: ENC(rkxj0733WxFFDLgA9x01m2s5Fi2L+0PC) | |||
| componentAesKey: ENC(EIbJUBpbYOrLb4YQ/HXLQmxlxgAqIp2ZmpnGICC8pu5xiTz3Cqfkbwd2S8raCcK/IvYcX2GmedI=) | |||
| redis: | |||
| host: r-2zeaglwf13qqmnllj5.redis.rds.aliyuncs.com | |||
| port: 6379 | |||
| password: mallone:iF0rm@2l2ol9 | |||
| timeout: 3600 | |||
| expire: 1800 #30分钟 | |||
| database: 2 | |||
| defaultExpiration: 2592000 # 默认生命周期30天 | |||
| jedis: | |||
| pool: | |||
| max-active: 100 | |||
| max-idle: 100 | |||
| max-wait: -1 | |||
| min-idle: 10 | |||
| alipay: | |||
| open: | |||
| appId: 2021002140616334 | |||
| appPrivateKey: MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDo4bm5ERQi4XvspahY5kgyAlT2Tq97JimXQLX9qhZwYRz21Q+aDOhAwIBLpHIet5tkffMjwysqui+FxtDkqDkIuFWUqTPOiJcE6EwViyQkSz96li5boNqUu541rVSDtIviWBbFcACeSkclI+eLJXb/QGztyOu8apSYqdG7EFwah6tDldfloTwm7fwhvZSg5TY1DRh0olkqnZVZtinMgeZ/dDssNpdu17jRnLwQ+z955VrXI7K5IvITgG6bWcHxcz14Y3OxvyvBsaZkYaepRpa3rNpw5hOtBs+uusSf40hpisW2vT3zVJUkhEM9PAN6h5p5WK91v0vTFbBW4+DMI9/PAgMBAAECggEAT16fLbPkaP7wfXb4KVRSxriEvG2U4SPgiOxFGm8dtq9ib72t05MSlP8GusERI+bvzxAeDdI2pBlQmQdpqoSq643nnQMN5RYoYkPJqo4Bg10iBWWp5xCrboWDJkgsxbaC9mGPYTsK+ufV15KlF4dtRxFuDpyru0uX2XAHSvoIagGspdl+BmY8mjqS1/iwKD4neGDU1qUkXgO5lAXnWhBcZI106WloyyDRCPkhX0N2zUse9Tp55C80iQxQ0srL3zkXr7ruxNsrEwN5mMn3/THrT8sS8uXWVBncd9/ts3gitqAEtHaVvb5L2TijRFFAG/wtCvzWtJko6VtUtY9n9euIAQKBgQD49Y1kCaKmy+mbbfb2dC7MM3y52QqdsBWSQp2zfKranB6dF/guzVFCgLFRzF6vLWrib0FmL2ZzLkdE/DA3Ddg1snXfoHzR4GNNlBd6eRt8arc16p6lSw9zSoYTFIOUK8tBjQLwQk0hQlYlps0BzJfEnDq+q6f/FC67DYShBQDvfwKBgQDvd8YGMt5GISt4si031lwCsAwvBsGZs0lkYHQ0qWzLdwbWqkTNQVLK7Qs0cO8y8vdlVIVVuPHCd+scy5c4QLTO0usHO7CQXXi/Lt+fiS2SlDi6jbJrhJ+DzGhX1QaxgTN3dVWxlai31OzfReCm7/8izTuhAI6GqlCbmmEcgfY3sQKBgQCTp2cNPt212Vias5R2RSAAQkUmIIC4V1fj4BiR/E2EzHUnrLCoaWNZcuQ35GL/uIsc8ukxxskXZQol8wBRlqd16XsZf6CoBVJAD6YBIFTZ7JzuoFEpLaRjN37fUBpdxb+OCCkG//uozyQyvoP2HjahCBubPEmt8nVowTK5ITOV1wKBgQDSRO+CvePi3HlZb8q4vuboDUGFgX85wO3uz6r6GtLHDerZT4U+Xd+fA+nU0F2Y9TM6rK6viMfwJHA0Rqiv4lFhUl7BaS4udYTzCuudIEz96lytooJKWpfemPv+M7W+414XxNXMK0eMs9CSdL9AlngHTQLQ6rY7lQ1WtIYVDCDw4QKBgFkVCjmMo4BWgCDz4+XoFY6GBipM6UlVK3Iwzq0lUnN8KJntU92GqlpOB6aw/dAd9FrX3dsBoMIMy3dMN7oVEP+wbUhGykR0rbDBjEMWJHMC+vVJ+L6YhUYBYDer4Nr46IOcExWcpWudIw1b+3zXpjCbIO8nbUG4pZW+tLxmp6IO | |||
| appPublicKeyCertPath: /opt/iformall/service/alipay/appCertPublicKey_2021002140616334.crt | |||
| alipayCertPath: /opt/iformall/service/alipay/alipayCertPublicKey_RSA2.crt | |||
| alipayRootCertPath: /opt/iformall/service/alipay/alipayRootCert.crt | |||
| callback: https://callback.malls.iformall.com/api/alipay/notify/callback | |||
| fm: | |||
| exception: true | |||
| exception_emails: houtaikaifa@iformall.com | |||
| deploy: 3 | |||
| open: true | |||
| upload_dir: /root/uploads/ | |||
| monitor_emails: houtaikaifa@iformall.com,xiaochengxufabu@iformall.com | |||
| monitor_enable: false | |||
| clear_data_before_msg_record: 1 | |||
| videoType: aliyun | |||
| logging: | |||
| level: | |||
| #tk.mybatis: debug | |||
| com.iformall: debug | |||
| path: ./logs/s | |||
| @@ -1,71 +0,0 @@ | |||
| server: | |||
| port: 5200 | |||
| servlet: | |||
| context-path: /S | |||
| spring: | |||
| application: | |||
| name: suimang | |||
| profiles: | |||
| active: dev | |||
| jackson: | |||
| date-format: yyyy-MM-dd HH:mm:ss | |||
| time-zone: GMT+8 | |||
| default-property-inclusion: non_null | |||
| servlet: | |||
| multipart: | |||
| max-file-size: 2MB | |||
| max-request-size: 2MB | |||
| cache: | |||
| type: REDIS | |||
| cache-names: redis_cache #缓存的名字(可以不指定) | |||
| redis: | |||
| time-to-live: 60000ms #很重要,缓存的有效时间,以便缓存的过期(单位为毫秒) | |||
| # rocketmq: | |||
| # nameServer: 127.0.0.1:9876 | |||
| # producer: | |||
| # retry-times-when-send-async-failed: 0 | |||
| # send-msg-timeout: 300000 | |||
| # compress-msg-body-over-howmuch: 4096 | |||
| # max-message-size: 4194304 | |||
| # retry-another-broker-when-not-store-ok: false | |||
| # retry-times-when-send-failed: 2 | |||
| # rabbitmq: | |||
| # host: 127.0.0.1 | |||
| # port: 5672 | |||
| # username: guest | |||
| # password: guest | |||
| # publisher-confirms: true | |||
| # virtual-host: / | |||
| # MybatisPlus | |||
| mybatis-plus: | |||
| mapper-locations: classpath:mapper/*Mapper.xml | |||
| global-config: | |||
| db-config: | |||
| id-type: id_worker | |||
| field-strategy: not_null | |||
| db-type: mysql | |||
| configuration: | |||
| jdbc-type-for-null: 'null' | |||
| cache-enabled: false | |||
| call-setters-on-nulls: true | |||
| type-aliases-package: com.iformall.domain.po | |||
| type-enums-package: com.iformall.enums | |||
| # PageHelper | |||
| pagehelper: | |||
| helperDialect: mysql | |||
| reasonable: false | |||
| supportMethodsArguments: true | |||
| params: count=countSql | |||
| offset-as-page-num: true | |||
| page-size-zero: true | |||
| row-bounds-with-count: true | |||
| mapper: | |||
| mappers: | |||
| - com.iformall.common.CommonMapper | |||
| version: 1.0 | |||
| @@ -1,100 +0,0 @@ | |||
| <?xml version="1.0" encoding="UTF-8"?> | |||
| <configuration scan="true" scanPeriod="10 seconds"> | |||
| <!-- 外部指定路径 --> | |||
| <springProperty scop="context" name="logPath" source="logging.path" /> | |||
| <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> | |||
| <encoder> | |||
| <Pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] --%mdc{client}%msg%n</Pattern> | |||
| </encoder> | |||
| </appender> | |||
| <appender name="TRACE_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/trace.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/trace.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| </appender> | |||
| <appender name="INFO_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/info.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/info.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>INFO</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <appender name="DEBUG_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/debug.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/debug.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>DEBUG</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <appender name="WARN_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/warn.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/warn.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>WARN</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <appender name="ERROR_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> | |||
| <file>${logPath}/error.log</file> | |||
| <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> | |||
| <FileNamePattern>${logPath}/daily/error.%d{yyyy-MM-dd}.log</FileNamePattern> | |||
| <maxHistory>30</maxHistory> <!-- 保留180天 --> | |||
| </rollingPolicy> | |||
| <layout> | |||
| <pattern>[%date{yyyy-MM-dd HH:mm:ss.SSS}] [%-5level] [%logger:%line]--%mdc{client} %msg%n</pattern> | |||
| </layout> | |||
| <filter class="ch.qos.logback.classic.filter.LevelFilter"> | |||
| <level>ERROR</level> | |||
| <onMatch>ACCEPT</onMatch> | |||
| <onMismatch>DENY</onMismatch> | |||
| </filter> | |||
| </appender> | |||
| <root level="TRACE"> | |||
| <appender-ref ref="TRACE_FILE" /> | |||
| <appender-ref ref="INFO_FILE" /> | |||
| <!-- <appender-ref ref="DEBUG_FILE" /> --> | |||
| <!-- <appender-ref ref="WARN_FILE" /> --> | |||
| <appender-ref ref="ERROR_FILE" /> | |||
| </root> | |||
| <root level="INFO"> | |||
| <appender-ref ref="STDOUT" /> | |||
| </root> | |||
| </configuration> | |||
| @@ -1,3 +0,0 @@ | |||
| version=1.0 | |||
| groupId=com.iformall | |||
| artifactId=suimangSchedule | |||
| @@ -1,9 +0,0 @@ | |||
| com\iformall\controller\HomeController.class | |||
| com\iformall\config\RedisConfig.class | |||
| META-INF\spring-configuration-metadata.json | |||
| com\iformall\ScheduleApplication.class | |||
| com\iformall\config\RestTemplateConfig.class | |||
| com\iformall\config\MyBatisConfiguration.class | |||
| com\iformall\config\WebConfig.class | |||
| com\iformall\config\RestFilter.class | |||
| com\iformall\config\AwsProperty.class | |||
| @@ -1,9 +0,0 @@ | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangSchedule\src\main\java\com\iformall\config\AwsProperty.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangSchedule\src\main\java\com\iformall\config\RestTemplateConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangSchedule\src\main\java\com\iformall\config\WebConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangSchedule\src\main\java\com\iformall\config\MyBatisConfiguration.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangSchedule\src\main\java\com\iformall\config\RedisConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangSchedule\src\main\java\com\iformall\config\RestFilter.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangSchedule\src\main\java\com\iformall\config\SchedulingConfig.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangSchedule\src\main\java\com\iformall\controller\HomeController.java | |||
| C:\Users\xiaohu\ideaSuimangProject\suimangServer\suimangSchedule\src\main\java\com\iformall\ScheduleApplication.java | |||
| @@ -20,6 +20,11 @@ | |||
| <scope>compile</scope> | |||
| </dependency> | |||
| --> | |||
| <dependency> | |||
| <groupId>com.iformall</groupId> | |||
| <artifactId>suimangVideo</artifactId> | |||
| <version>1.0</version> | |||
| </dependency> | |||
| <dependency> | |||
| <groupId>net.sf.dozer</groupId> | |||
| <artifactId>dozer</artifactId> | |||
| @@ -21,5 +21,7 @@ public interface UserMouldVideoMapper extends CommonMapper<UserMouldVideo, Long> | |||
| UserMouldVideo findVideo(@Param("id")Long id); | |||
| List<UserMouldVideo> getVideoIdNullList(); | |||
| List<UserMouldVideo> getVideoTimeNullList(); | |||
| } | |||
| @@ -44,8 +44,12 @@ public interface UserMouldVideoService { | |||
| void createVideo(UserMouldVideo mouldVideo); | |||
| void uploadVideo(UserMouldVideo mouldVideo); | |||
| UserMouldVideo findVideo(Long id); | |||
| List<UserMouldVideo> getVideoIdNullList(); | |||
| List<UserMouldVideo> getVideoTimeNullList(); | |||
| int updateById(UserMouldVideo video); | |||
| @@ -10,6 +10,8 @@ import com.iformall.mapper.UserMouldVideoMapper; | |||
| import com.iformall.service.sm.UserMouldVideoService; | |||
| import com.iformall.sm.AiVideoHelper; | |||
| import com.iformall.sm.AiVideoResult; | |||
| import com.iformall.video.VideoFactory; | |||
| import com.iformall.video.entity.VideUploadResult; | |||
| import org.apache.commons.lang3.StringUtils; | |||
| import org.slf4j.Logger; | |||
| import org.slf4j.LoggerFactory; | |||
| @@ -17,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired; | |||
| import org.springframework.scheduling.annotation.Async; | |||
| import org.springframework.stereotype.Service; | |||
| import java.net.URL; | |||
| import java.util.Date; | |||
| import java.util.List; | |||
| @@ -28,6 +31,12 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { | |||
| @Autowired | |||
| UserMouldVideoMapper userMouldVideoMapper; | |||
| @Autowired | |||
| VideoFactory videoFactory; | |||
| @Autowired | |||
| String videoType; | |||
| @Override | |||
| public PageInfo<UserMouldVideo> listAsPage(UserMouldVideo record, Integer pageIndex, Integer pageSize) { | |||
| @@ -96,6 +105,7 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { | |||
| videoUpd.setVideoMsg(video.getMsg()); | |||
| videoUpd.setCreateVideoDate(new Date()); | |||
| this.saveOrUpdate(videoUpd); | |||
| this.uploadVideo(videoUpd); | |||
| return; | |||
| } | |||
| videoUpd.setVideoStatus(EnumVideoStatus.fail.getCode()); | |||
| @@ -113,11 +123,31 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { | |||
| } | |||
| @Override | |||
| public void uploadVideo(UserMouldVideo mouldVideo){ | |||
| if(EnumVideoStatus.success.getCode().equals(mouldVideo.getVideoStatus()) | |||
| && StringUtils.isBlank(mouldVideo.getVideoId())){ | |||
| String url = mouldVideo.getVideoPathUri() + mouldVideo.getVideoPath(); | |||
| VideUploadResult result = videoFactory.getExcutor(videoType).uploadVideoPath(mouldVideo.getTitle(), url); | |||
| if(result.isSuccess()){ | |||
| UserMouldVideo videoUpd = new UserMouldVideo(); | |||
| videoUpd.setId(mouldVideo.getId()); | |||
| videoUpd.setVideoId(result.getVideoId()); | |||
| this.saveOrUpdate(videoUpd); | |||
| } | |||
| } | |||
| } | |||
| @Override | |||
| public UserMouldVideo findVideo(Long id) { | |||
| return userMouldVideoMapper.findVideo(id); | |||
| } | |||
| @Override | |||
| public List<UserMouldVideo> getVideoIdNullList() { | |||
| return userMouldVideoMapper.getVideoIdNullList(); | |||
| } | |||
| @Override | |||
| public List<UserMouldVideo> getVideoTimeNullList() { | |||
| return userMouldVideoMapper.getVideoTimeNullList(); | |||
| @@ -123,10 +123,20 @@ | |||
| where `id` = #{id} | |||
| </select> | |||
| <select id="getVideoIdNullList" resultMap="BaseResultMap"> | |||
| select id,title,video_id,video_path,video_status | |||
| from user_mould_video | |||
| where `is_del` = 0 | |||
| and video_path is not null and video_path != '' | |||
| and (video_id is null or video_id == '') | |||
| </select> | |||
| <select id="getVideoTimeNullList" resultMap="BaseResultMap"> | |||
| select id,video_id videoId | |||
| select id,video_id | |||
| from user_mould_video | |||
| where video_id is not null and video_time is null | |||
| where `is_del` = 0 | |||
| and video_id is not null and video_path != '' | |||
| and (video_time is null or video_time == '') | |||
| </select> | |||
| </mapper> | |||
| @@ -1,339 +0,0 @@ | |||
| { | |||
| "groups": [ | |||
| { | |||
| "name": "alipay.open", | |||
| "type": "com.iformall.service.pay.alipay.config.AliPayConfig", | |||
| "sourceType": "com.iformall.service.pay.alipay.config.AliPayConfig" | |||
| }, | |||
| { | |||
| "name": "aws", | |||
| "type": "com.iformall.config.AwsProperty", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.oss", | |||
| "type": "com.iformall.file.aliyun.bean.AliyunOSSConfig", | |||
| "sourceType": "com.iformall.file.aliyun.bean.AliyunOSSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.sms", | |||
| "type": "com.iformall.sms.aliyun.bean.AliyunSMSConfig", | |||
| "sourceType": "com.iformall.sms.aliyun.bean.AliyunSMSConfig" | |||
| }, | |||
| { | |||
| "name": "wechat.open", | |||
| "type": "com.iformall.config.WechatOpenProperties", | |||
| "sourceType": "com.iformall.config.WechatOpenProperties" | |||
| }, | |||
| { | |||
| "name": "wechat.redis", | |||
| "type": "com.iformall.config.WechatRedisProperies", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| } | |||
| ], | |||
| "properties": [ | |||
| { | |||
| "name": "alipay.open.alipay-cert-path", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.service.pay.alipay.config.AliPayConfig" | |||
| }, | |||
| { | |||
| "name": "alipay.open.alipay-root-cert-path", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.service.pay.alipay.config.AliPayConfig" | |||
| }, | |||
| { | |||
| "name": "alipay.open.app-id", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.service.pay.alipay.config.AliPayConfig" | |||
| }, | |||
| { | |||
| "name": "alipay.open.app-private-key", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.service.pay.alipay.config.AliPayConfig" | |||
| }, | |||
| { | |||
| "name": "alipay.open.app-public-key-cert-path", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.service.pay.alipay.config.AliPayConfig" | |||
| }, | |||
| { | |||
| "name": "alipay.open.callback", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.service.pay.alipay.config.AliPayConfig" | |||
| }, | |||
| { | |||
| "name": "aws.access", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.bucket-name", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.client-region", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "aws.secret", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.AwsProperty" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.oss.bucketname", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.file.aliyun.bean.AliyunOSSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.oss.endpoint", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.file.aliyun.bean.AliyunOSSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.oss.filedomain", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.file.aliyun.bean.AliyunOSSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.oss.filehost", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.file.aliyun.bean.AliyunOSSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.oss.keyid", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.file.aliyun.bean.AliyunOSSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.oss.keysecret", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.file.aliyun.bean.AliyunOSSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.sms.access-key-id", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.sms.aliyun.bean.AliyunSMSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.sms.access-key-secret", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.sms.aliyun.bean.AliyunSMSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.sms.date-format", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.sms.aliyun.bean.AliyunSMSConfig", | |||
| "defaultValue": "yyyyMMdd" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.sms.domain", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.sms.aliyun.bean.AliyunSMSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.sms.endpoint-name", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.sms.aliyun.bean.AliyunSMSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.sms.product", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.sms.aliyun.bean.AliyunSMSConfig" | |||
| }, | |||
| { | |||
| "name": "spring.aliyun.sms.region-id", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.sms.aliyun.bean.AliyunSMSConfig" | |||
| }, | |||
| { | |||
| "name": "wechat.open.component-aes-key", | |||
| "type": "java.lang.String", | |||
| "description": "设置微信三方平台的EncodingAESKey", | |||
| "sourceType": "com.iformall.config.WechatOpenProperties" | |||
| }, | |||
| { | |||
| "name": "wechat.open.component-app-id", | |||
| "type": "java.lang.String", | |||
| "description": "设置微信三方平台的appid", | |||
| "sourceType": "com.iformall.config.WechatOpenProperties" | |||
| }, | |||
| { | |||
| "name": "wechat.open.component-secret", | |||
| "type": "java.lang.String", | |||
| "description": "设置微信三方平台的app secret", | |||
| "sourceType": "com.iformall.config.WechatOpenProperties" | |||
| }, | |||
| { | |||
| "name": "wechat.open.component-token", | |||
| "type": "java.lang.String", | |||
| "description": "设置微信三方平台的token", | |||
| "sourceType": "com.iformall.config.WechatOpenProperties" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.block-when-exhausted", | |||
| "type": "java.lang.Boolean", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.client-name", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.connection-timeout", | |||
| "type": "java.lang.Integer", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.database", | |||
| "type": "java.lang.Integer", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies", | |||
| "defaultValue": 1 | |||
| }, | |||
| { | |||
| "name": "wechat.redis.eviction-policy", | |||
| "type": "org.apache.commons.pool2.impl.EvictionPolicy<java.lang.Object>", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.eviction-policy-class-name", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.evictor-shutdown-timeout-millis", | |||
| "type": "java.lang.Long", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.fairness", | |||
| "type": "java.lang.Boolean", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.host", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.hostname-verifier", | |||
| "type": "javax.net.ssl.HostnameVerifier", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.jmx-enabled", | |||
| "type": "java.lang.Boolean", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.jmx-name-base", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.jmx-name-prefix", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.lifo", | |||
| "type": "java.lang.Boolean", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.max-idle", | |||
| "type": "java.lang.Integer", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.max-total", | |||
| "type": "java.lang.Integer", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.max-wait-millis", | |||
| "type": "java.lang.Long", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.min-evictable-idle-time-millis", | |||
| "type": "java.lang.Long", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.min-idle", | |||
| "type": "java.lang.Integer", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.num-tests-per-eviction-run", | |||
| "type": "java.lang.Integer", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.password", | |||
| "type": "java.lang.String", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.port", | |||
| "type": "java.lang.Integer", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.so-timeout", | |||
| "type": "java.lang.Integer", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.soft-min-evictable-idle-time-millis", | |||
| "type": "java.lang.Long", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.ssl", | |||
| "type": "java.lang.Boolean", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies", | |||
| "defaultValue": false | |||
| }, | |||
| { | |||
| "name": "wechat.redis.ssl-parameters", | |||
| "type": "javax.net.ssl.SSLParameters", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.ssl-socket-factory", | |||
| "type": "javax.net.ssl.SSLSocketFactory", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.test-on-borrow", | |||
| "type": "java.lang.Boolean", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.test-on-create", | |||
| "type": "java.lang.Boolean", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.test-on-return", | |||
| "type": "java.lang.Boolean", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.test-while-idle", | |||
| "type": "java.lang.Boolean", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| }, | |||
| { | |||
| "name": "wechat.redis.time-between-eviction-runs-millis", | |||
| "type": "java.lang.Long", | |||
| "sourceType": "com.iformall.config.WechatRedisProperies" | |||
| } | |||
| ], | |||
| "hints": [] | |||
| } | |||