增加小程序商品修改接口

This commit is contained in:
donqi 2023-02-14 23:47:00 +08:00
parent 94f62d3fe2
commit bbd5e6ae5c
1 changed files with 8 additions and 0 deletions

View File

@ -387,6 +387,14 @@ public class GoodsController extends BaseController {
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();
}
/**
* 校验商品名称
*/