Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
赵啸非
smart_gov_platform
Commits
48603e77
Commit
48603e77
authored
Oct 13, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改假期同步
parent
0935f672
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
base-manager/src/main/java/com/mortals/xhx/module/site/web/SiteController.java
.../java/com/mortals/xhx/module/site/web/SiteController.java
+5
-4
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
...test/java/com/mortals/httpclient/site/SiteController.http
+1
-1
base-manager/src/test/java/com/mortals/httpclient/system/system.http
...r/src/test/java/com/mortals/httpclient/system/system.http
+2
-2
No files found.
base-manager/src/main/java/com/mortals/xhx/module/site/web/SiteController.java
View file @
48603e77
...
@@ -97,15 +97,16 @@ public class SiteController extends BaseCRUDJsonBodyMappingController<SiteServic
...
@@ -97,15 +97,16 @@ public class SiteController extends BaseCRUDJsonBodyMappingController<SiteServic
JSONObject
jsonObject
=
new
JSONObject
();
JSONObject
jsonObject
=
new
JSONObject
();
Map
<
String
,
Object
>
model
=
new
HashMap
<>();
Map
<
String
,
Object
>
model
=
new
HashMap
<>();
String
busiDesc
=
this
.
getModuleDesc
()
+
"构建站点树"
;
String
busiDesc
=
this
.
getModuleDesc
()
+
"构建站点树"
;
Context
context
=
getContext
();
try
{
try
{
List
<
SiteTreeSelect
>
siteTree
=
this
.
service
.
getSiteTree
(
getContext
()
);
List
<
SiteTreeSelect
>
siteTree
=
this
.
service
.
getSiteTree
(
context
);
if
(
ObjectUtils
.
isEmpty
(
siteTree
))
{
if
(
ObjectUtils
.
isEmpty
(
siteTree
))
{
log
.
info
(
"为初始化站点树,重新构建!"
);
log
.
info
(
"为初始化站点树,重新构建!"
);
siteTree
=
this
.
service
.
siteTree
(
getContext
()
);
siteTree
=
this
.
service
.
siteTree
(
context
);
}
}
model
.
put
(
"siteTree"
,
siteTree
);
model
.
put
(
"siteTree"
,
siteTree
);
this
.
init
(
model
,
getContext
()
);
this
.
init
(
model
,
context
);
if
(!
ObjectUtils
.
isEmpty
(
getContext
())
&&
!
ObjectUtils
.
isEmpty
(
getContext
()
.
getUser
()))
{
if
(!
ObjectUtils
.
isEmpty
(
context
)
&&
!
ObjectUtils
.
isEmpty
(
context
.
getUser
()))
{
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
recordSysLog
(
request
,
busiDesc
+
" 【成功】"
);
}
}
jsonObject
.
put
(
KEY_RESULT_DATA
,
model
);
jsonObject
.
put
(
KEY_RESULT_DATA
,
model
);
...
...
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
View file @
48603e77
...
@@ -65,7 +65,7 @@ Accept: application/json
...
@@ -65,7 +65,7 @@ Accept: application/json
###构建站点树
###构建站点树
GET {{baseUrl}}/site/siteTree
GET {{baseUrl}}/site/siteTree
#Authorization: {{authToken}}
#Authorization: {{authToken}}
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6Ij
E6NTgyNzRlMWM1MDlhNDQ2YzhmYjVlMDRkNjNlM2JmOTAifQ.dLq6-GLVOPvxq66pbqpj0K5qx1y3FzbKzbKq-wCxOr4
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6Ij
IwNjY6ZThiZjhiZjU4ZTZmNGU5OGI0OTI2NDdhYjNmMGUyN2UifQ.qg66SOWLIgYoIzQKmTczhqgL-8SMBqEmY1UUCd0nN4A
Accept: application/json
Accept: application/json
...
...
base-manager/src/test/java/com/mortals/httpclient/system/system.http
View file @
48603e77
...
@@ -4,8 +4,8 @@ POST {{baseUrl}}/login/login
...
@@ -4,8 +4,8 @@ POST {{baseUrl}}/login/login
Content-Type: application/json
Content-Type: application/json
{
{
"loginName":"
admin
",
"loginName":"
banana
",
"password":"
admin
",
"password":"
gxjG123!@#
",
"securityCode":"8888"
"securityCode":"8888"
}
}
...
...
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