Commit 223c9005 authored by liuzicheng's avatar liuzicheng

初始化项目

parent 248851ea
...@@ -75,7 +75,7 @@ public class JsonResult<T> implements Serializable { ...@@ -75,7 +75,7 @@ public class JsonResult<T> implements Serializable {
throw new BizException(ExceptionCodeEnum.SYSTEM_REMOTE_ERROR, message); throw new BizException(ExceptionCodeEnum.SYSTEM_REMOTE_ERROR, message);
} }
if (this.getResult() == null) { if (this.getResult() == null) {
throw new BizException(ExceptionCodeEnum.SYSTEM_REMOTE_RESULT_ERROR, message); throw new BizException(ExceptionCodeEnum.SYSTEM_REMOTE_ERROR, message);
} }
} }
......
nacos: nacos:
address: 172.16.59.137:8848 address: 47.118.42.164:8848
logstash: logstash:
address: 47.110.231.217:5000 address: 47.110.231.217:5000
server: server:
...@@ -8,7 +8,7 @@ spring: ...@@ -8,7 +8,7 @@ spring:
application: application:
name: service-windows name: service-windows
profiles: profiles:
active: dev active: test
main: main:
allow-bean-definition-overriding: true allow-bean-definition-overriding: true
task: task:
...@@ -47,7 +47,7 @@ mybatis: ...@@ -47,7 +47,7 @@ mybatis:
mapper-locations: classpath:mybatis/mapper/*.xml mapper-locations: classpath:mybatis/mapper/*.xml
logaddress: ${nacos.address} logaddress: ${nacos.address}
logging: logging:
config: http://${nacos.address}/nacos/v1/cs/configs?group=${spring.cloud.nacos.config.group}&tenant=log&dataId=${spring.application.name}.xml config: classpath:logback-custom.xml
level: level:
com.jqtx.windows.infrastructure.feign.*: DEBUG com.jqtx.windows.infrastructure.feign.*: DEBUG
com.jqtx.windows.repository.mapper.*: DEBUG com.jqtx.windows.repository.mapper.*: DEBUG
\ No newline at end of file
...@@ -52,7 +52,6 @@ ...@@ -52,7 +52,6 @@
<springProfile name="local"> <springProfile name="local">
<root level="INFO"> <root level="INFO">
<appender-ref ref="STDOUT"/> <appender-ref ref="STDOUT"/>
<appender-ref ref="LOG_STASH"/>
<appender-ref ref="JSON_LOG"/> <appender-ref ref="JSON_LOG"/>
<appender-ref ref="ERROR_FILE"/> <appender-ref ref="ERROR_FILE"/>
</root> </root>
...@@ -63,7 +62,6 @@ ...@@ -63,7 +62,6 @@
<appender-ref ref="STDOUT"/> <appender-ref ref="STDOUT"/>
<appender-ref ref="JSON_LOG"/> <appender-ref ref="JSON_LOG"/>
<appender-ref ref="ERROR_FILE"/> <appender-ref ref="ERROR_FILE"/>
<appender-ref ref="LOG_STASH"/>
</root> </root>
</springProfile> </springProfile>
...@@ -72,7 +70,6 @@ ...@@ -72,7 +70,6 @@
<appender-ref ref="STDOUT"/> <appender-ref ref="STDOUT"/>
<appender-ref ref="JSON_LOG"/> <appender-ref ref="JSON_LOG"/>
<appender-ref ref="ERROR_FILE"/> <appender-ref ref="ERROR_FILE"/>
<appender-ref ref="LOG_STASH"/>
</root> </root>
</springProfile> </springProfile>
...@@ -80,7 +77,6 @@ ...@@ -80,7 +77,6 @@
<root level="INFO"> <root level="INFO">
<appender-ref ref="JSON_LOG"/> <appender-ref ref="JSON_LOG"/>
<appender-ref ref="ERROR_FILE"/> <appender-ref ref="ERROR_FILE"/>
<appender-ref ref="LOG_STASH"/>
</root> </root>
<logger name="com.xxl.job" level="WARN"/> <logger name="com.xxl.job" level="WARN"/>
<logger name="io" level="WARN"/> <logger name="io" level="WARN"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment