Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-webapp-plug
Overview
Overview
Details
Activity
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
base_platform_enterprise
gic-webapp-plug
Commits
e9a4ac45
Commit
e9a4ac45
authored
Mar 11, 2020
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c0d1bf75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
ScreeningController.java
...java/com/gic/plug/web/controller/ScreeningController.java
+13
-11
No files found.
src/main/java/com/gic/plug/web/controller/ScreeningController.java
View file @
e9a4ac45
...
@@ -131,17 +131,19 @@ public class ScreeningController {
...
@@ -131,17 +131,19 @@ public class ScreeningController {
@RequestMapping
(
"get-user-store-resource"
)
@RequestMapping
(
"get-user-store-resource"
)
@ResponseBody
@ResponseBody
public
RestResponse
getUserStoreResouce
()
throws
ClassNotFoundException
{
public
RestResponse
getUserStoreResouce
()
throws
ClassNotFoundException
{
Long
storeResource
=
UserDetailUtils
.
getUserDetail
().
getUserResourceInfo
().
getStoreResource
();
if
(
UserDetailUtils
.
getUserDetail
().
getUserInfo
().
getSuperAdmin
()
!=
1
){
if
(
storeResource
==
null
){
Long
storeResource
=
UserDetailUtils
.
getUserDetail
().
getUserResourceInfo
().
getStoreResource
();
return
RestResponse
.
success
(
new
StoreResourceVO
());
if
(
storeResource
==
null
){
}
return
RestResponse
.
success
(
new
StoreResourceVO
());
ServiceResponse
<
StoreWidgetDTO
>
storeWidget
=
this
.
storeWidgetApiService
.
getStoreWidget
(
storeResource
.
intValue
());
}
if
(
storeWidget
.
isSuccess
()
&&
storeWidget
.
getResult
()
!=
null
){
ServiceResponse
<
StoreWidgetDTO
>
storeWidget
=
this
.
storeWidgetApiService
.
getStoreWidget
(
storeResource
.
intValue
());
StoreResourceVO
vo
=
new
StoreResourceVO
();
if
(
storeWidget
.
isSuccess
()
&&
storeWidget
.
getResult
()
!=
null
){
vo
.
setAuthMode
(
storeWidget
.
getResult
().
getAuthMode
());
StoreResourceVO
vo
=
new
StoreResourceVO
();
vo
.
setSearchJson
(
storeWidget
.
getResult
().
getSearchParam
());
vo
.
setAuthMode
(
storeWidget
.
getResult
().
getAuthMode
());
vo
.
setSceenBack
(
this
.
getScreenBack
(
storeWidget
.
getResult
().
getSearchParam
()));
vo
.
setSearchJson
(
storeWidget
.
getResult
().
getSearchParam
());
return
RestResponse
.
success
(
vo
);
vo
.
setSceenBack
(
this
.
getScreenBack
(
storeWidget
.
getResult
().
getSearchParam
()));
return
RestResponse
.
success
(
vo
);
}
}
}
return
RestResponse
.
success
(
new
StoreResourceVO
());
return
RestResponse
.
success
(
new
StoreResourceVO
());
}
}
...
...
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