Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
1315bc8d
Commit
1315bc8d
authored
Aug 10, 2018
by
Junling Bu
Browse files
fix[litemall-wx-api]: 商品排序字段支持name
parent
a697e696
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx-api/src/main/java/org/linlinjava/litemall/wx/web/WxGoodsController.java
View file @
1315bc8d
...
...
@@ -236,7 +236,7 @@ public class WxGoodsController {
@LoginUser
Integer
userId
,
@RequestParam
(
defaultValue
=
"1"
)
Integer
page
,
@RequestParam
(
defaultValue
=
"10"
)
Integer
size
,
@Sort
(
accepts
=
{
"add_time"
,
"retail_price"
})
@RequestParam
(
defaultValue
=
"add_time"
)
String
sort
,
@Sort
(
accepts
=
{
"add_time"
,
"retail_price"
,
"name"
})
@RequestParam
(
defaultValue
=
"add_time"
)
String
sort
,
@Order
@RequestParam
(
defaultValue
=
"desc"
)
String
order
)
{
//添加到搜索历史
...
...
Write
Preview
Supports
Markdown
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