Commit 1315bc8d authored by Junling Bu's avatar Junling Bu
Browse files

fix[litemall-wx-api]: 商品排序字段支持name

parent a697e696
......@@ -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) {
//添加到搜索历史
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment