|
@@ -124,6 +124,7 @@ public class GoodsShopController {
|
|
|
@PostMapping("/updateGoodsShop")
|
|
@PostMapping("/updateGoodsShop")
|
|
|
public Result updateGoodsShop(@RequestBody GoodsShop goodsShop){
|
|
public Result updateGoodsShop(@RequestBody GoodsShop goodsShop){
|
|
|
goodsShop.setStatus(0);
|
|
goodsShop.setStatus(0);
|
|
|
|
|
+ goodsShop.setIsSupplier(1);
|
|
|
goodsShopService.updateById(goodsShop);
|
|
goodsShopService.updateById(goodsShop);
|
|
|
return Result.success();
|
|
return Result.success();
|
|
|
}
|
|
}
|