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
8d307e34
Commit
8d307e34
authored
Dec 13, 2019
by
陶光胜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
9f3acc2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
StoreController.java
...ain/java/com/gic/plug/web/controller/StoreController.java
+7
-1
StoreWidgetQO.java
src/main/java/com/gic/plug/web/qo/StoreWidgetQO.java
+5
-5
No files found.
src/main/java/com/gic/plug/web/controller/StoreController.java
View file @
8d307e34
...
...
@@ -80,7 +80,7 @@ public class StoreController {
@RequestMapping
(
"save-store-widget"
)
public
RestResponse
saveStoreWidget
(
@RequestBody
StoreWidgetQO
storeWidgetQO
){
StoreWidgetDTO
storeWidgetDTO
=
new
StoreWidgetDTO
();
storeWidgetDTO
.
setAuth
Mode
(
storeWidgetQO
.
getAuthMode
());
storeWidgetDTO
.
setAuth
SearchParam
(
storeWidgetQO
.
getAuthSearchParam
());
storeWidgetDTO
.
setSearchParam
(
storeWidgetQO
.
getSearchParam
());
storeWidgetDTO
.
setStoreWidgetId
(
storeWidgetQO
.
getStoreWidgetId
());
storeWidgetDTO
.
setWriteBackParam
(
storeWidgetQO
.
getWriteBackParam
());
...
...
@@ -90,4 +90,10 @@ public class StoreController {
}
return
RestResponse
.
success
();
}
@RequestMapping
(
"get-store-widget"
)
public
RestResponse
getStoreWidget
(
Integer
storeWidgetId
){
ServiceResponse
<
StoreWidgetDTO
>
response
=
this
.
storeWidgetApiService
.
getStoreWidget
(
storeWidgetId
);
return
RestResponse
.
success
(
response
.
getResult
());
}
}
src/main/java/com/gic/plug/web/qo/StoreWidgetQO.java
View file @
8d307e34
...
...
@@ -4,7 +4,7 @@ import java.io.Serializable;
public
class
StoreWidgetQO
implements
Serializable
{
private
Integer
storeWidgetId
;
private
Integer
authMode
;
private
String
authSearchParam
;
private
String
searchParam
;
private
String
writeBackParam
;
...
...
@@ -16,12 +16,12 @@ public class StoreWidgetQO implements Serializable {
this
.
storeWidgetId
=
storeWidgetId
;
}
public
Integer
getAuthMode
()
{
return
auth
Mode
;
public
String
getAuthSearchParam
()
{
return
auth
SearchParam
;
}
public
void
setAuth
Mode
(
Integer
authMode
)
{
this
.
auth
Mode
=
authMode
;
public
void
setAuth
SearchParam
(
String
authSearchParam
)
{
this
.
auth
SearchParam
=
authSearchParam
;
}
public
String
getSearchParam
()
{
...
...
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