时长信息转到video主体 增加多线程获取时间方法
This commit is contained in:
@@ -40,4 +40,16 @@ public class ShopProductController {
|
||||
return R.ok().put("result", res);
|
||||
}
|
||||
|
||||
@RequestMapping("/getProductDetail")
|
||||
public R getProductDetail(@RequestBody Map<String,Integer> map){
|
||||
Map<String, Object> detail = shopProductService.getProductDetail(map.get("productId"));
|
||||
return R.ok().put("detail",detail);
|
||||
}
|
||||
|
||||
@RequestMapping("/editProductDetail")
|
||||
public R editProductDetail(@RequestBody ShopProduct shopProduct){
|
||||
shopProductService.updateById(shopProduct);
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user