Commit 223c9005 authored by liuzicheng's avatar liuzicheng

初始化项目

parent 248851ea
......@@ -75,7 +75,7 @@ public class JsonResult<T> implements Serializable {
throw new BizException(ExceptionCodeEnum.SYSTEM_REMOTE_ERROR, message);
}
if (this.getResult() == null) {
throw new BizException(ExceptionCodeEnum.SYSTEM_REMOTE_RESULT_ERROR, message);
throw new BizException(ExceptionCodeEnum.SYSTEM_REMOTE_ERROR, message);
}
}
......
nacos:
address: 172.16.59.137:8848
address: 47.118.42.164:8848
logstash:
address: 47.110.231.217:5000
server:
......@@ -8,7 +8,7 @@ spring:
application:
name: service-windows
profiles:
active: dev
active: test
main:
allow-bean-definition-overriding: true
task:
......@@ -47,7 +47,7 @@ mybatis:
mapper-locations: classpath:mybatis/mapper/*.xml
logaddress: ${nacos.address}
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:
com.jqtx.windows.infrastructure.feign.*: DEBUG
com.jqtx.windows.repository.mapper.*: DEBUG
\ No newline at end of file
......@@ -52,7 +52,6 @@
<springProfile name="local">
<root level="INFO">
<appender-ref ref="STDOUT"/>
<appender-ref ref="LOG_STASH"/>
<appender-ref ref="JSON_LOG"/>
<appender-ref ref="ERROR_FILE"/>
</root>
......@@ -63,7 +62,6 @@
<appender-ref ref="STDOUT"/>
<appender-ref ref="JSON_LOG"/>
<appender-ref ref="ERROR_FILE"/>
<appender-ref ref="LOG_STASH"/>
</root>
</springProfile>
......@@ -72,7 +70,6 @@
<appender-ref ref="STDOUT"/>
<appender-ref ref="JSON_LOG"/>
<appender-ref ref="ERROR_FILE"/>
<appender-ref ref="LOG_STASH"/>
</root>
</springProfile>
......@@ -80,7 +77,6 @@
<root level="INFO">
<appender-ref ref="JSON_LOG"/>
<appender-ref ref="ERROR_FILE"/>
<appender-ref ref="LOG_STASH"/>
</root>
<logger name="com.xxl.job" 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