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
e85e6e0e
Commit
e85e6e0e
authored
Sep 19, 2019
by
何文超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新获取商品选择器数据的接口
parent
29f2c09b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 deletions
+10
-15
GoodsSelectorController.java
...ic/plug/web/controller/goods/GoodsSelectorController.java
+10
-0
GoodsSelectorVO.java
src/main/java/com/gic/plug/web/vo/goods/GoodsSelectorVO.java
+0
-15
No files found.
src/main/java/com/gic/plug/web/controller/goods/GoodsSelectorController.java
View file @
e85e6e0e
...
...
@@ -33,6 +33,16 @@ public class GoodsSelectorController {
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
}
@RequestMapping
(
"get-goods-selector"
)
public
RestResponse
getGoodsSelector
(
Long
goodsSelectorId
)
{
ServiceResponse
<
GoodsSelectorDTO
>
serviceResponse
=
goodsSelectorApiService
.
getGoodsSelector
(
goodsSelectorId
);
if
(
serviceResponse
.
isSuccess
())
{
GoodsSelectorVO
goodsSelectorVO
=
EntityUtil
.
changeEntityByOrika
(
GoodsSelectorVO
.
class
,
serviceResponse
.
getResult
());
return
RestResponse
.
success
(
goodsSelectorVO
);
}
return
RestResponse
.
failure
(
serviceResponse
.
getCode
(),
serviceResponse
.
getMessage
());
}
@RequestMapping
(
"goods-selector-edit-show-back"
)
public
RestResponse
goodsSelectorEditShowBack
(
Long
goodsSelectorId
)
{
...
...
src/main/java/com/gic/plug/web/vo/goods/GoodsSelectorVO.java
View file @
e85e6e0e
...
...
@@ -22,13 +22,6 @@ public class GoodsSelectorVO {
*/
private
String
useType
;
/**
* 搜索类型
* 1 skuCode
* 2 skuId
*/
private
Integer
searchResultType
;
private
Long
findCount
;
...
...
@@ -96,14 +89,6 @@ public class GoodsSelectorVO {
this
.
useType
=
useType
;
}
public
Integer
getSearchResultType
()
{
return
searchResultType
;
}
public
void
setSearchResultType
(
Integer
searchResultType
)
{
this
.
searchResultType
=
searchResultType
;
}
public
Long
getFindCount
()
{
return
findCount
;
}
...
...
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