记得上下班打卡 | git大法好,push需谨慎

Commit 97a19ec2 authored by zhengfuxin's avatar zhengfuxin

修改精选商品问题

parent c61886a4
...@@ -91,10 +91,10 @@ public class GoblinFrontSelectGoodsController extends BaseController { ...@@ -91,10 +91,10 @@ public class GoblinFrontSelectGoodsController extends BaseController {
* @Description:精选商品修改 * @Description:精选商品修改
* @date 2022/1/4 下午2:49 * @date 2022/1/4 下午2:49
*/ */
@PostMapping("update") @PostMapping("createOrUpdate")
@ApiOperation(value = "精选商品修改") @ApiOperation(value = "精选商品修改或者增加")
@ResponseBody @ResponseBody
public AjaxResult update( @RequestBody GoblinFrontSelectGoodsParam goblinFrontSelectGoodsParam) { public AjaxResult createOrUpdate( @RequestBody GoblinFrontSelectGoodsParam goblinFrontSelectGoodsParam) {
GoblinFrontSelectGoods goblinFrontSelectGoods =new GoblinFrontSelectGoods(); GoblinFrontSelectGoods goblinFrontSelectGoods =new GoblinFrontSelectGoods();
BeanUtils.copyProperties(goblinFrontSelectGoodsParam,goblinFrontSelectGoods); BeanUtils.copyProperties(goblinFrontSelectGoodsParam,goblinFrontSelectGoods);
logger.info("精选商品修改{}", JSON.toJSONString(goblinFrontSelectGoods)); logger.info("精选商品修改{}", JSON.toJSONString(goblinFrontSelectGoods));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment