diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml new file mode 100644 index 0000000..0aead26 --- /dev/null +++ b/src/main/resources/application-prod.yml @@ -0,0 +1,133 @@ +server: + port: 8003 + url: http://114.115.205.53:8003/servicecity + title: 稀土高新区社会治理综合管理平台 + servlet: + context-path: /servicecity + tomcat: + uri-encoding: UTF-8 + max-threads: 500 + max-connections: 10000 + +spring: + thymeleaf: + prefix: classpath:/templates/ + suffix: .html + mode: HTML5 + encoding: UTF-8 + cache: false + main: + allow-bean-definition-overriding: true + servlet: + multipart: + max-file-size: 1GB + max-request-size: 1GB + datasource: + druid: + url: jdbc:mysql://127.0.0.1:3309/db_cloud?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false + db-type: mysql + driver-class-name: com.mysql.jdbc.Driver + username: root + password: @WSX1qaz + initial-size: 2 + min-idle: 2 + max-active: 10 + max-wait: 60000 + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 300000 + validation-query: SELECT 1 FROM DUAL + test-while-idle: true + test-on-borrow: false + test-on-return: false + pool-prepared-statements: true + max-pool-prepared-statement-per-connection-size: 10 + filter: + commons-log: + connection-logger-name: stat,wall,log4j + stat: + log-slow-sql: true + slow-sql-millis: 2000 + connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 + use-global-data-source-stat: true + + cache: + type: ehcache + ehcache: + config: classpath:ehcache.xml + +# 数据库 +mybatis: + config-location: classpath:mybatis/mybatis-config.xml + mapper-locations: classpath*:mybatis/mapper/**/*.xml + +# 文档 +swagger: + title: 接口文档 + description: 城市管理系统相关接口文档 + service-url: http://http://www.sucstep.com/ + version: 1.0 + swagger-base-package: com.cm + +# 文件 +file: + uploadPath: D:\project\uploadFiles\ + imageTypes: png,jpg,jpeg,gif,blob + videoTypes: mp4,rmvb + audioTypes: mp3,wmv,wav + fileTypes: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk + +# 安全 +security: + oauth2: + oauth-server: http://114.115.205.53:8002 + oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} + client: + client-id: c024a89b35b04d4d8b5b4ea4d66a8acb + client-secret: MlMzaC9sYkxKMDZtQzlRLzJwVGVMbnhaVmhTZEJQR1BiT0c4SDgrRjd5VW1ac2wwZTJHWk5NbXh3L3h3U2c4Rg== + user-authorization-uri: ${security.oauth2.oauth-server}/oauth/authorize + access-token-uri: ${security.oauth2.oauth-server}/oauth/token + grant-type: authorization_code + resource: + jwt: + key-uri: ${security.oauth2.oauth-server}/oauth/token_key + token-info-uri: ${security.oauth2.oauth-server}/oauth/check_token + user-info-uri: ${security.oauth2.oauth-server}/user + authorization: + check-token-access: ${security.oauth2.oauth-server}/oauth/token_key + +api-path: + user-center: ${security.oauth2.oauth-server} + +# 访问控制 +access-control: + pass-paths: + - /index + - /index.html + - /logout.html + - /default.html + - /app/** + - /assets/** + save-paths: + - /save*/** + - /add*/** + delete-paths: + - /delete*/** + - /remove*/** + update-paths: + - /update*/** + - /edit*/** + query-paths: + - /get*/** + - /query*/** + - /find*/** + - /list*/** + - /count*/** + - /map*/** + - /select*/** + +# 日志 +logging: + file: D:\project\logs\city\servicecity-logs.log + level: + root: error + com.cm: debug diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml new file mode 100644 index 0000000..eecd749 --- /dev/null +++ b/src/main/resources/application-test.yml @@ -0,0 +1,134 @@ +server: + port: 8085 + url: http://192.168.0.111:8085/partybuilding + title: 稀土高新区党建平台 + servlet: + context-path: /partybuilding + tomcat: + uri-encoding: UTF-8 + max-threads: 500 + max-connections: 10000 + +spring: + thymeleaf: + prefix: classpath:/templates/ + suffix: .html + mode: HTML5 + encoding: UTF-8 + cache: false + main: + allow-bean-definition-overriding: true + servlet: + multipart: + max-file-size: 1GB + max-request-size: 1GB + datasource: + druid: + url: jdbc:mysql://127.0.0.1:3306/db_party?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&autoReconnect=true&failOverReadOnly=false&useSSL=false + db-type: mysql + driver-class-name: com.mysql.jdbc.Driver + username: root + password: 123456 + initial-size: 2 + min-idle: 2 + max-active: 10 + max-wait: 60000 + time-between-eviction-runs-millis: 60000 + min-evictable-idle-time-millis: 300000 + validation-query: SELECT 1 FROM DUAL + test-while-idle: true + test-on-borrow: false + test-on-return: false + pool-prepared-statements: true + max-pool-prepared-statement-per-connection-size: 10 + filter: + commons-log: + connection-logger-name: stat,wall,log4j + stat: + log-slow-sql: true + slow-sql-millis: 2000 + connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000 + use-global-data-source-stat: true + + cache: + type: ehcache + ehcache: + config: classpath:ehcache.xml + +# 数据库 +mybatis: + config-location: classpath:mybatis/mybatis-config.xml + mapper-locations: classpath*:mybatis/mapper/**/*.xml + +# 文档 +swagger: + title: 接口文档 + description: 城市管理系统相关接口文档 + service-url: http://http://www.sucstep.com/ + version: 1.0 + swagger-base-package: com.cm + +# 文件 +file: + uploadPath: /Users/wenc/Desktop/filetest/ + imageTypes: png,jpg,jpeg,gif,blob + videoTypes: mp4,rmvb + audioTypes: mp3,wmv,wav + fileTypes: doc,docx,xls,xlsx,ppt,pptx,txt,zip,rar,apk + +# 安全 +security: + oauth2: + oauth-server: http://49.233.36.36:8868/usercenter + oauth-logout: ${security.oauth2.oauth-server}/logout?redirect_uri=${server.url} + client: + client-id: bdbc8252b02d48abb42a800774e02ef8 + client-secret: ZUl5bjJ5enNJSk9zMEVxSFRGYkttTzd4aWs3eDVDRVpvYjJ4VC9Rem1Gc21ac2wwZTJHWk5NbXh3L3h3U2c4Rg== + user-authorization-uri: ${security.oauth2.oauth-server}/oauth_client/authorize + access-token-uri: ${security.oauth2.oauth-server}/oauth_client/token + grant-type: authorization_code + resource: + jwt: + key-uri: ${security.oauth2.oauth-server}/oauth_client/token_key + token-info-uri: ${security.oauth2.oauth-server}/oauth_client/check_token + user-info-uri: ${security.oauth2.oauth-server}/user + authorization: + check-token-access: ${security.oauth2.oauth-server}/oauth_client/token_key + +api-path: + user-center: ${security.oauth2.oauth-server} + +# 访问控制 +access-control: + pass-paths: + - /index + - /index.html + - /logout.html + - /default.html + - /app/** + - /assets/** + save-paths: + - /save*/** + - /add*/** + delete-paths: + - /delete*/** + - /remove*/** + update-paths: + - /update*/** + - /edit*/** + query-paths: + - /get*/** + - /query*/** + - /find*/** + - /list*/** + - /count*/** + - /map*/** + - /select*/** + +# 日志 +logging: + # file: C:\\services\\logs\\servicecity-logs.log + # file: D:\project\logs\city\servicecity-logs.log + level: + root: error + com.cm: debug diff --git a/src/main/resources/static/assets/fonts/font-awesome/fonts/FontAwesome.otf b/src/main/resources/static/assets/fonts/font-awesome/fonts/FontAwesome.otf index 401ec0f..e69de29 100644 Binary files a/src/main/resources/static/assets/fonts/font-awesome/fonts/FontAwesome.otf and b/src/main/resources/static/assets/fonts/font-awesome/fonts/FontAwesome.otf differ diff --git a/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.eot b/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.eot index e9f60ca..e69de29 100644 Binary files a/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.eot and b/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.eot differ diff --git a/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.ttf b/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.ttf index 35acda2..e69de29 100644 Binary files a/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.ttf and b/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.ttf differ diff --git a/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff b/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff index 400014a..e69de29 100644 Binary files a/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff and b/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff differ diff --git a/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff2 b/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff2 index 4d13fc6..e69de29 100644 Binary files a/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff2 and b/src/main/resources/static/assets/fonts/font-awesome/fonts/fontawesome-webfont.woff2 differ diff --git a/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot b/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot index b93a495..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot and b/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.eot differ diff --git a/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf b/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf index 1413fc6..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf and b/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.ttf differ diff --git a/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff b/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff index 9e61285..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff and b/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff differ diff --git a/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 b/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 index 64539b5..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 and b/src/main/resources/static/assets/js/vendor/bootstrap/fonts/glyphicons-halflings-regular.woff2 differ diff --git a/src/main/resources/static/assets/js/vendor/ckplayer/ckplayer/ckplayer.swf b/src/main/resources/static/assets/js/vendor/ckplayer/ckplayer/ckplayer.swf index 7899393..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ckplayer/ckplayer/ckplayer.swf and b/src/main/resources/static/assets/js/vendor/ckplayer/ckplayer/ckplayer.swf differ diff --git a/src/main/resources/static/assets/js/vendor/ckplayer/material/mydream_en1800_1010_01.png b/src/main/resources/static/assets/js/vendor/ckplayer/material/mydream_en1800_1010_01.png index 40d677e..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ckplayer/material/mydream_en1800_1010_01.png and b/src/main/resources/static/assets/js/vendor/ckplayer/material/mydream_en1800_1010_01.png differ diff --git a/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.eot b/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.eot index c861caa..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.eot and b/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.eot differ diff --git a/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.ttf b/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.ttf index 0bd6c4a..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.ttf and b/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.ttf differ diff --git a/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.woff b/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.woff index bfe5599..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.woff and b/src/main/resources/static/assets/js/vendor/laydate/theme/default/font/iconfont.woff differ diff --git a/src/main/resources/static/assets/js/vendor/template/antistopExcel.xls b/src/main/resources/static/assets/js/vendor/template/antistopExcel.xls index f4de5c9..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/template/antistopExcel.xls and b/src/main/resources/static/assets/js/vendor/template/antistopExcel.xls differ diff --git a/src/main/resources/static/assets/js/vendor/ueditor/dialogs/wordimage/fClipboard_ueditor.swf b/src/main/resources/static/assets/js/vendor/ueditor/dialogs/wordimage/fClipboard_ueditor.swf index ac5d27f..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ueditor/dialogs/wordimage/fClipboard_ueditor.swf and b/src/main/resources/static/assets/js/vendor/ueditor/dialogs/wordimage/fClipboard_ueditor.swf differ diff --git a/src/main/resources/static/assets/js/vendor/ueditor/dialogs/wordimage/imageUploader.swf b/src/main/resources/static/assets/js/vendor/ueditor/dialogs/wordimage/imageUploader.swf index 2a554ca..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ueditor/dialogs/wordimage/imageUploader.swf and b/src/main/resources/static/assets/js/vendor/ueditor/dialogs/wordimage/imageUploader.swf differ diff --git a/src/main/resources/static/assets/js/vendor/ueditor/third-party/snapscreen/UEditorSnapscreen.exe b/src/main/resources/static/assets/js/vendor/ueditor/third-party/snapscreen/UEditorSnapscreen.exe index db68508..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ueditor/third-party/snapscreen/UEditorSnapscreen.exe and b/src/main/resources/static/assets/js/vendor/ueditor/third-party/snapscreen/UEditorSnapscreen.exe differ diff --git a/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.eot b/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.eot index a075c19..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.eot and b/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.eot differ diff --git a/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.ttf b/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.ttf index eb24637..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.ttf and b/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.ttf differ diff --git a/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.woff b/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.woff index c3f0f1d..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.woff and b/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/font/vjs.woff differ diff --git a/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/video-js.swf b/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/video-js.swf index 9cf537a..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/video-js.swf and b/src/main/resources/static/assets/js/vendor/ueditor/third-party/video-js/video-js.swf differ diff --git a/src/main/resources/static/assets/js/vendor/ueditor/third-party/webuploader/Uploader.swf b/src/main/resources/static/assets/js/vendor/ueditor/third-party/webuploader/Uploader.swf index 7c37835..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ueditor/third-party/webuploader/Uploader.swf and b/src/main/resources/static/assets/js/vendor/ueditor/third-party/webuploader/Uploader.swf differ diff --git a/src/main/resources/static/assets/js/vendor/ueditor/third-party/zeroclipboard/ZeroClipboard.swf b/src/main/resources/static/assets/js/vendor/ueditor/third-party/zeroclipboard/ZeroClipboard.swf index ed1c9d2..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/ueditor/third-party/zeroclipboard/ZeroClipboard.swf and b/src/main/resources/static/assets/js/vendor/ueditor/third-party/zeroclipboard/ZeroClipboard.swf differ diff --git a/src/main/resources/static/assets/js/vendor/wangEditor/fonts/w-e-icon.woff b/src/main/resources/static/assets/js/vendor/wangEditor/fonts/w-e-icon.woff index 6dc5b5a..e69de29 100644 Binary files a/src/main/resources/static/assets/js/vendor/wangEditor/fonts/w-e-icon.woff and b/src/main/resources/static/assets/js/vendor/wangEditor/fonts/w-e-icon.woff differ diff --git a/src/main/resources/static/assets/layuiadmin/layui/css/modules/layim/voice/default.mp3 b/src/main/resources/static/assets/layuiadmin/layui/css/modules/layim/voice/default.mp3 index 90013c5..e69de29 100644 Binary files a/src/main/resources/static/assets/layuiadmin/layui/css/modules/layim/voice/default.mp3 and b/src/main/resources/static/assets/layuiadmin/layui/css/modules/layim/voice/default.mp3 differ diff --git a/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.eot b/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.eot index 93b3d5a..e69de29 100644 Binary files a/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.eot and b/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.eot differ diff --git a/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.ttf b/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.ttf index 0c8b0a5..e69de29 100644 Binary files a/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.ttf and b/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.ttf differ diff --git a/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.woff b/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.woff index 786bb2a..e69de29 100644 Binary files a/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.woff and b/src/main/resources/static/assets/layuiadmin/layui/font/iconfont.woff differ