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
81b267b0
Commit
81b267b0
authored
Dec 13, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改应用编码校验
parent
02513f42
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
...mortals/xhx/module/site/service/impl/SiteServiceImpl.java
+1
-1
base-manager/src/main/java/com/mortals/xhx/module/site/web/SiteController.java
.../java/com/mortals/xhx/module/site/web/SiteController.java
+1
-1
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
...test/java/com/mortals/httpclient/site/SiteController.http
+5
-0
No files found.
base-manager/src/main/java/com/mortals/xhx/module/site/service/impl/SiteServiceImpl.java
View file @
81b267b0
...
...
@@ -271,7 +271,7 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
if
(!
ObjectUtils
.
isEmpty
(
siteTreeSelects
))
{
return
siteTreeSelects
;
}
else
{
return
siteTreeMap
.
get
(
0
);
return
siteTreeMap
.
get
(
1
);
}
}
...
...
base-manager/src/main/java/com/mortals/xhx/module/site/web/SiteController.java
View file @
81b267b0
...
...
@@ -127,7 +127,7 @@ public class SiteController extends BaseCRUDJsonBodyMappingController<SiteServic
try
{
Context
context
=
new
Context
();
UserEntity
userEntity
=
new
UserEntity
();
userEntity
.
setId
(
-
1L
);
userEntity
.
setId
(
1L
);
context
.
setUser
(
userEntity
);
List
<
SiteTreeSelect
>
siteTree
=
this
.
service
.
getSiteTree
(
context
);
model
.
put
(
"siteTree"
,
siteTree
);
...
...
base-manager/src/test/java/com/mortals/httpclient/site/SiteController.http
View file @
81b267b0
...
...
@@ -70,6 +70,11 @@ Authorization: eyJhbGciOiJIUzI1NiJ9.eyJsb2dpbl91c2VyX2tleSI6IjM1OmVjZTkyMWQ1MzY2
Accept: application/json
###构建站点树
GET {{baseUrl}}/site/getAllSiteTree
Accept: application/json
###站点列表
POST {{baseUrl}}/site/getFlatSitesByAreaCode
Authorization: {{authToken}}
...
...
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