Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
windows
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhanhai
windows
Commits
223c9005
Commit
223c9005
authored
Sep 14, 2023
by
liuzicheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化项目
parent
248851ea
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
JsonResult.java
src/main/java/com/jqtx/windows/web/response/JsonResult.java
+1
-1
bootstrap.yml
src/main/resources/bootstrap.yml
+3
-3
logback-custom.xml
src/main/resources/logback-custom.xml
+0
-4
No files found.
src/main/java/com/jqtx/windows/web/response/JsonResult.java
View file @
223c9005
...
@@ -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
);
}
}
}
}
...
...
src/main/resources/bootstrap.yml
View file @
223c9005
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
src/main/resources/logback-custom.xml
View file @
223c9005
...
@@ -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"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment