|
@@ -171,7 +171,7 @@ public class UserExchangeController extends BaseApiController {
|
|
|
public AjaxResult listBanner(@RequestBody JSONObject param) {
|
|
|
String location = param.getString("location");
|
|
|
List<ExchangeBanner> bannerList = exchangeBannerService.list(new LambdaQueryWrapper<ExchangeBanner>()
|
|
|
- .eq(ExchangeBanner::getLocation, location).orderByAsc(ExchangeBanner::getSort));
|
|
|
+ .eq(ExchangeBanner::getLocation, location).orderByDesc(ExchangeBanner::getSort));
|
|
|
return AjaxResult.success(bannerList);
|
|
|
}
|
|
|
|
|
@@ -182,7 +182,7 @@ public class UserExchangeController extends BaseApiController {
|
|
|
@ApiOperation(value = "查询分类列表" , notes = "分类列表")
|
|
|
public AjaxResult listCategory(@RequestBody JSONObject param) {
|
|
|
List<GoodsCategory> categoryList = goodsCategoryService.list(new LambdaQueryWrapper<GoodsCategory>()
|
|
|
- .eq(GoodsCategory::getIsShow, 1).orderByAsc(GoodsCategory::getSort));
|
|
|
+ .eq(GoodsCategory::getIsShow, 1).orderByDesc(GoodsCategory::getSort));
|
|
|
return AjaxResult.success(categoryList);
|
|
|
}
|
|
|
|
|
@@ -193,7 +193,7 @@ public class UserExchangeController extends BaseApiController {
|
|
|
@ApiOperation(value = "查询标签列表" , notes = "标签列表")
|
|
|
public AjaxResult listActivity(@RequestBody JSONObject param) {
|
|
|
List<GoodsTag> tagList = goodsTagService.list(new LambdaQueryWrapper<GoodsTag>()
|
|
|
- .eq(GoodsTag::getIsShow, 1).orderByAsc(GoodsTag::getSort));
|
|
|
+ .eq(GoodsTag::getIsShow, 1).orderByDesc(GoodsTag::getSort));
|
|
|
return AjaxResult.success(tagList);
|
|
|
}
|
|
|
|