增加小程序商品修改接口
This commit is contained in:
parent
94f62d3fe2
commit
bbd5e6ae5c
|
|
@ -387,6 +387,14 @@ public class GoodsController extends BaseController {
|
||||||
return toAjax(goodsService.updateGoods(goods));
|
return toAjax(goodsService.updateGoods(goods));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@PostMapping("/app/edit")
|
||||||
|
@ResponseBody
|
||||||
|
public AjaxResult appEditSave(@RequestBody @Validated Goods goods) {
|
||||||
|
// goods.setUpdateBy(getLoginName());
|
||||||
|
// return toAjax(goodsService.updateGoods(goods));
|
||||||
|
return AjaxResult.success();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 校验商品名称
|
* 校验商品名称
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue