Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
self-service
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖旭伟
self-service
Commits
1b15c3d8
Commit
1b15c3d8
authored
Feb 21, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改添加部署文件
parent
2f606cd6
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
1216 deletions
+21
-1216
sst-manager/src/main/resources/application.yml
sst-manager/src/main/resources/application.yml
+4
-1
sst-manager/src/main/resources/logback-spring.xml
sst-manager/src/main/resources/logback-spring.xml
+17
-6
sst-manager/src/main/resources/static/doc/AllInOne.css
sst-manager/src/main/resources/static/doc/AllInOne.css
+0
-13
sst-manager/src/main/resources/static/doc/AllInOne.md.md
sst-manager/src/main/resources/static/doc/AllInOne.md.md
+0
-796
sst-manager/src/main/resources/static/doc/index.html
sst-manager/src/main/resources/static/doc/index.html
+0
-238
sst-manager/src/main/resources/static/doc/search.js
sst-manager/src/main/resources/static/doc/search.js
+0
-162
No files found.
sst-manager/src/main/resources/application.yml
View file @
1b15c3d8
spring
:
main
:
allow-bean-definition-overriding
:
true
application
:
log
:
level
:
@
profiles.log.level@
path
:
@
profiles.log.path@
sst-manager/src/main/resources/logback-spring.xml
View file @
1b15c3d8
...
...
@@ -23,8 +23,9 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<!-- 文件保存策略-->
<fileNamePattern>
${logFilePath}/${springApplicationName:-default}/${springApplicationName:-default}-info.log.%d{yyyyMMdd}
</fileNamePattern>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
<!--日志文件保留天数-->
<MaxHistory>
7
</MaxHistory>
<MaxHistory>
15
</MaxHistory>
</rollingPolicy>
</appender>
<!-- 异常文件输出策略-->
...
...
@@ -39,11 +40,12 @@
<rollingPolicy
class=
"ch.qos.logback.core.rolling.TimeBasedRollingPolicy"
>
<fileNamePattern>
${logFilePath}/${springApplicationName:-default}/${springApplicationName:-default}-error.log.%d{yyyyMMdd}
</fileNamePattern>
<!--日志文件保留天数-->
<MaxHistory>
7
</MaxHistory>
<cleanHistoryOnStart>
true
</cleanHistoryOnStart>
<MaxHistory>
15
</MaxHistory>
</rollingPolicy>
</appender>
<root
level=
"
info
"
>
<root
level=
"
${logLevel}
"
>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"fileInfo"
/>
<appender-ref
ref=
"fileError"
/>
...
...
@@ -51,16 +53,25 @@
<!--TRACE < DEBUG < INFO < WARN < ERROR < FATAL -->
<!--用来设置某一个包或者具体的某一个类的日志打印级别、以及指定<appender>。
<logger>仅有一个name属性,一个可选的level和一个可选的additivity属性。-->
<!--用来设置某一个包或者具体的某一个类的日志打印级别、以及指定<appender>。<logger>仅有一个name属性,一个可选的level和一个可选的additivity属性。-->
<!-- name 用来指定受此loger约束的某一个包或者具体的某一个类-->
<!-- level 用来设置打印级别,大小写无关:TRACE, DEBUG, INFO, WARN, ERROR, ALL 和 OFF,还有一个特俗值INHERITED或者同义词NULL,代表强制执行上级的级别。如果未设置此属性,那么当前logger将会继承上级的级别-->
<!-- additivity 是否向上级logger传递打印信息。默认是true。false:表示只用当前logger的appender-ref。true:表示当前logger的appender-ref和rootLogger的appender-ref都有效。-->
<logger
name=
"com.mortals
.xhx.module"
level=
"debug
"
additivity=
"false"
>
<logger
name=
"com.mortals
"
level=
"${logLevel}
"
additivity=
"false"
>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"fileInfo"
/>
<appender-ref
ref=
"fileError"
/>
</logger>
<logger
name=
"com.mortals.xhx.module"
level=
"${logLevel}"
additivity=
"false"
>
<appender-ref
ref=
"console"
/>
<appender-ref
ref=
"fileInfo"
/>
<appender-ref
ref=
"fileError"
/>
</logger>
<!-- <logger name="com.mortals.xhx.module">
<level value="debug"/>
</logger>-->
</configuration>
\ No newline at end of file
sst-manager/src/main/resources/static/doc/AllInOne.css
deleted
100644 → 0
View file @
2f606cd6
This diff is collapsed.
Click to expand it.
sst-manager/src/main/resources/static/doc/AllInOne.md.md
deleted
100644 → 0
View file @
2f606cd6
This diff is collapsed.
Click to expand it.
sst-manager/src/main/resources/static/doc/index.html
deleted
100644 → 0
View file @
2f606cd6
This source diff could not be displayed because it is too large. You can
view the blob
instead.
sst-manager/src/main/resources/static/doc/search.js
deleted
100644 → 0
View file @
2f606cd6
let
api
=
[];
api
.
push
({
alias
:
'
WxOneThingApiController
'
,
order
:
'
1
'
,
link
:
'
一件事微信对外服务接口
'
,
desc
:
'
一件事微信对外服务接口
'
,
list
:
[]
})
api
[
0
].
list
.
push
({
order
:
'
1
'
,
desc
:
'
一件事主题包列表
'
,
});
api
[
0
].
list
.
push
({
order
:
'
2
'
,
desc
:
'
一件事主题列表(包含主题包)
'
,
});
api
[
0
].
list
.
push
({
order
:
'
3
'
,
desc
:
'
一件事列表
'
,
});
api
[
0
].
list
.
push
({
order
:
'
4
'
,
desc
:
'
问题详细
'
,
});
api
[
0
].
list
.
push
({
order
:
'
5
'
,
desc
:
'
问答答案提交后返回的详细结果
'
,
});
api
[
0
].
list
.
push
({
order
:
'
6
'
,
desc
:
'
上传附件
'
,
});
api
[
0
].
list
.
push
({
order
:
'
7
'
,
desc
:
'
删除附件
'
,
});
api
[
0
].
list
.
push
({
order
:
'
8
'
,
desc
:
'
查询用户信息
'
,
});
api
[
0
].
list
.
push
({
order
:
'
9
'
,
desc
:
'
一件事办理资料提交
'
,
});
api
[
0
].
list
.
push
({
order
:
'
10
'
,
desc
:
'
我的办理
'
,
});
api
.
push
({
alias
:
'
WxWechatApiController
'
,
order
:
'
2
'
,
link
:
'
微信认证
'
,
desc
:
'
微信认证
'
,
list
:
[]
})
api
[
1
].
list
.
push
({
order
:
'
1
'
,
desc
:
'
微信注册认证
'
,
});
api
.
push
({
alias
:
'
error
'
,
order
:
'
3
'
,
link
:
'
error_code_list
'
,
desc
:
'
错误码列表
'
,
list
:
[]
})
api
.
push
({
alias
:
'
dict
'
,
order
:
'
4
'
,
link
:
'
dict_list
'
,
desc
:
'
数据字典
'
,
list
:
[]
})
document
.
onkeydown
=
keyDownSearch
;
function
keyDownSearch
(
e
)
{
const
theEvent
=
e
;
const
code
=
theEvent
.
keyCode
||
theEvent
.
which
||
theEvent
.
charCode
;
if
(
code
==
13
)
{
const
search
=
document
.
getElementById
(
'
search
'
);
const
searchValue
=
search
.
value
;
let
searchArr
=
[];
for
(
let
i
=
0
;
i
<
api
.
length
;
i
++
)
{
let
apiData
=
api
[
i
];
const
desc
=
apiData
.
desc
;
if
(
desc
.
indexOf
(
searchValue
)
>
-
1
)
{
searchArr
.
push
({
order
:
apiData
.
order
,
desc
:
apiData
.
desc
,
link
:
apiData
.
link
,
list
:
apiData
.
list
});
}
else
{
let
methodList
=
apiData
.
list
||
[];
let
methodListTemp
=
[];
for
(
let
j
=
0
;
j
<
methodList
.
length
;
j
++
)
{
const
methodData
=
methodList
[
j
];
const
methodDesc
=
methodData
.
desc
;
if
(
methodDesc
.
indexOf
(
searchValue
)
>
-
1
)
{
methodListTemp
.
push
(
methodData
);
break
;
}
}
if
(
methodListTemp
.
length
>
0
)
{
const
data
=
{
order
:
apiData
.
order
,
desc
:
apiData
.
desc
,
link
:
apiData
.
link
,
list
:
methodListTemp
};
searchArr
.
push
(
data
);
}
}
}
let
html
;
if
(
searchValue
==
''
)
{
const
liClass
=
""
;
const
display
=
"
display: none
"
;
html
=
buildAccordion
(
api
,
liClass
,
display
);
document
.
getElementById
(
'
accordion
'
).
innerHTML
=
html
;
}
else
{
const
liClass
=
"
open
"
;
const
display
=
"
display: block
"
;
html
=
buildAccordion
(
searchArr
,
liClass
,
display
);
document
.
getElementById
(
'
accordion
'
).
innerHTML
=
html
;
}
const
Accordion
=
function
(
el
,
multiple
)
{
this
.
el
=
el
||
{};
this
.
multiple
=
multiple
||
false
;
const
links
=
this
.
el
.
find
(
'
.dd
'
);
links
.
on
(
'
click
'
,
{
el
:
this
.
el
,
multiple
:
this
.
multiple
},
this
.
dropdown
);
};
Accordion
.
prototype
.
dropdown
=
function
(
e
)
{
const
$el
=
e
.
data
.
el
;
$this
=
$
(
this
),
$next
=
$this
.
next
();
$next
.
slideToggle
();
$this
.
parent
().
toggleClass
(
'
open
'
);
if
(
!
e
.
data
.
multiple
)
{
$el
.
find
(
'
.submenu
'
).
not
(
$next
).
slideUp
(
"
20
"
).
parent
().
removeClass
(
'
open
'
);
}
};
new
Accordion
(
$
(
'
#accordion
'
),
false
);
}
}
function
buildAccordion
(
apiData
,
liClass
,
display
)
{
let
html
=
""
;
let
doc
;
if
(
apiData
.
length
>
0
)
{
for
(
let
j
=
0
;
j
<
apiData
.
length
;
j
++
)
{
html
+=
'
<li class="
'
+
liClass
+
'
">
'
;
html
+=
'
<a class="dd" href="#_
'
+
apiData
[
j
].
link
+
'
">
'
+
apiData
[
j
].
order
+
'
.
'
+
apiData
[
j
].
desc
+
'
</a>
'
;
html
+=
'
<ul class="sectlevel2" style="
'
+
display
+
'
">
'
;
doc
=
apiData
[
j
].
list
;
for
(
let
m
=
0
;
m
<
doc
.
length
;
m
++
)
{
html
+=
'
<li><a href="#_
'
+
apiData
[
j
].
order
+
'
_
'
+
doc
[
m
].
order
+
'
_
'
+
doc
[
m
].
desc
+
'
">
'
+
apiData
[
j
].
order
+
'
.
'
+
doc
[
m
].
order
+
'
.
'
+
doc
[
m
].
desc
+
'
</a> </li>
'
;
}
html
+=
'
</ul>
'
;
html
+=
'
</li>
'
;
}
}
return
html
;
}
\ No newline at end of file
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