Commit 5cbd5147 authored by 黄毅's avatar 黄毅

1

parent b33ba441
...@@ -60,10 +60,11 @@ public class BrandController { ...@@ -60,10 +60,11 @@ public class BrandController {
Page page = new Page(); Page page = new Page();
page.setIndex(Long.valueOf(index)); page.setIndex(Long.valueOf(index));
page.setLimit(Long.valueOf(limit)); page.setLimit(Long.valueOf(limit));
page.setLimitKey("BannerID asc"); page.setLimitKey("BannerID desc");
List<Map<String, Object>> detailList = brandService.listBanner(param, page); List<Map<String, Object>> detailList = brandService.listBanner(param, page);
return Rjx.jsonOk().set("list", detailList).setPage(page).toString(); // return Rjx.jsonOk().set("list", detailList).setPage(page).toString();
return Rjx.jsonOk().set("list", detailList).toString();
} }
@ApiOperation("品牌列表接口按首字母") @ApiOperation("品牌列表接口按首字母")
......
Markdown is supported
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