bug
This commit is contained in:
@@ -79,6 +79,19 @@ public class BookLabelAndMarketController {
|
||||
return R.ok().put("result", marketTopList);
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑商品和营销标签的排序权重
|
||||
* @param map
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("/editMarketSort")
|
||||
public R editMarketSort(@RequestBody Map<String,Integer> map){
|
||||
ShopProductToBookMarket toMarket = toMarketService.getById(map.get("id"));
|
||||
toMarket.setSort(map.get("sort"));
|
||||
toMarketService.updateById(toMarket);
|
||||
return R.ok().put("result",toMarket);
|
||||
}
|
||||
|
||||
@RequestMapping(path = "/getLabelById")
|
||||
public R getLabelById(String id) {
|
||||
return R.ok().put("result",labelService.getById(id));
|
||||
|
||||
Reference in New Issue
Block a user