|
@@ -1,50 +1,51 @@
|
|
|
-# 配置项目信息
|
|
|
+# 閰嶇疆椤圭洰淇℃伅
|
|
|
server.servlet.context-path=/
|
|
|
server.port=8089
|
|
|
-# 获取pom文件中project.version值
|
|
|
+# 鑾峰彇pom鏂囦欢涓璸roject.version鍊�
|
|
|
version=@project.version@
|
|
|
-# 配置数据源
|
|
|
-spring.profiles.active=test
|
|
|
-# 配置时区
|
|
|
+# 閰嶇疆鏁版嵁婧�
|
|
|
+spring.profiles.active=prod
|
|
|
+# 閰嶇疆鏃跺尯
|
|
|
spring.jackson.time-zone=GMT+8
|
|
|
-# 配置文件请求大小设置
|
|
|
+# 閰嶇疆鏂囦欢璇锋眰澶у皬璁剧疆
|
|
|
spring.servlet.multipart.max-file-size=50MB
|
|
|
spring.servlet.multipart.max-request-size=50MB
|
|
|
-# page helper分页插件配置
|
|
|
+
|
|
|
+# page helper鍒嗛〉鎻掍欢閰嶇疆
|
|
|
pagehelper.helperDialect=mysql
|
|
|
pagehelper.reasonable=true
|
|
|
pagehelper.supportMethodsArguments=true
|
|
|
pagehelper.params=count=countSql
|
|
|
-# 配置日志
|
|
|
-logging.level.com.sw=debug
|
|
|
-logging.file.path=./logs/pmp
|
|
|
-# ***解决swagger2.9.2版本“@ApiModelProperty”注解“example”属性不填时的报错问题
|
|
|
+# 閰嶇疆鏃ュ織
|
|
|
+logging.level.com.sw=info
|
|
|
+logging.file.path=./logs/ips
|
|
|
+# ***瑙e喅swagger2.9.2鐗堟湰鈥淍ApiModelProperty鈥濇敞瑙b€渆xample鈥濆睘鎬т笉濉�椂鐨勬姤閿欓棶棰�
|
|
|
logging.level.io.swagger.models.parameters.AbstractSerializableParameter:error
|
|
|
-# 配置请求信息
|
|
|
+# 閰嶇疆璇锋眰淇℃伅
|
|
|
spring.session.timeout=0
|
|
|
server.max-http-header-size=1024000
|
|
|
-# thymeleaf的基本配置
|
|
|
+# thymeleaf鐨勫熀鏈�厤缃�
|
|
|
spring.thymeleaf.encoding=UTF-8
|
|
|
spring.thymeleaf.cache=false
|
|
|
spring.thymeleaf.mode=HTML
|
|
|
spring.thymeleaf.servlet.content-type=text/html
|
|
|
spring.thymeleaf.prefix=classpath:/view/
|
|
|
spring.thymeleaf.suffix=.html
|
|
|
-############# 配置mybatis #############
|
|
|
-# 驼峰转换
|
|
|
+############# 閰嶇疆mybatis #############
|
|
|
+# 椹煎嘲杞�崲
|
|
|
mybatis-plus.configuration.map-underscore-to-camel-case=true
|
|
|
-# 实体类地址
|
|
|
+# 瀹炰綋绫诲湴鍧€
|
|
|
mybatis-plus.typeAliasesPackage=com.sunwin.robot2ips.beans.dto
|
|
|
-# xml文件地址
|
|
|
+# xml鏂囦欢鍦板潃
|
|
|
mybatis-plus.mapper-locations=classpath:/mapper/*.xml
|
|
|
-# 接收null字段
|
|
|
+# 鎺ユ敹null瀛楁�
|
|
|
mybatis-plus.configuration.call-setters-on-nulls=true
|
|
|
-# 删除值
|
|
|
+# 鍒犻櫎鍊�
|
|
|
mybatis-plus.global-config.db-config.logic-delete-value=1
|
|
|
mybatis-plus.global-config.db-config.logic-not-delete-value=0
|
|
|
-#服务器设备号(localhost)
|
|
|
+#鏈嶅姟鍣ㄨ�澶囧彿锛坙ocalhost锛�
|
|
|
com.sunwin.server.id=421aa9eF7F9fa326b6494f812ad13e79
|
|
|
-#IPS提供机器人传输巡检结果接口地址
|
|
|
+#IPS涓婁紶鍦板潃
|
|
|
ips.connect.url=http://localhost:10006/api/IpsRecord/RobotRecordsResult
|
|
|
ips.point.fileName=IPSModule.xls
|
|
|
ips.query.count=5
|