|
@@ -66,7 +66,7 @@ public class CmsGoodsDonWholeSaleController {
|
|
|
/**
|
|
/**
|
|
|
* 编辑批发平台
|
|
* 编辑批发平台
|
|
|
*/
|
|
*/
|
|
|
- @PostMapping("/post")
|
|
|
|
|
|
|
+ @PostMapping("/update")
|
|
|
public Result<String> updateWholesale(@RequestBody GoodsWholesale wholesale) throws Exception {
|
|
public Result<String> updateWholesale(@RequestBody GoodsWholesale wholesale) throws Exception {
|
|
|
goodsWholesaleService.saveOrUpdateWholesale(wholesale);
|
|
goodsWholesaleService.saveOrUpdateWholesale(wholesale);
|
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult();
|
|
return GatewayResponse.SUCCESS.newBuilder().toResult();
|