Commit 002562f6 by guojuxing

编辑店铺的时候也调用中间价接口

parent 451589be
......@@ -88,7 +88,16 @@ public class WmMallStoreController {
@RequestMapping("/edit-wm-store")
public RestResponse edit(WmStoreDTO dto) {
return OperationResultUtils.operationResult(wmStoreApiService.modifyWmStore(dto),
ServiceResponse<Void> result = wmStoreApiService.modifyWmStore(dto);
if (result.isSuccess()) {
//微盟gic关联
ServiceResponse<Void> saveStoreInfo = weimobMerchantService
.saveStoreInfo(dto.getWmMallStoreId(), dto.getEnterpriseId(),
dto.getWmMainAccount(), Long.valueOf(dto.getWmPid()), Long.valueOf(dto.getWmStoreId()),
MallModeEnum.mapToWm(dto.getMallMode()));
LOGGER.info("微盟商城店铺编辑-微盟结果:{}", JSON.toJSONString(saveStoreInfo));
}
return OperationResultUtils.operationResult(,
OperationResultUtils.LOG_EDIT + "微盟商城店铺", dto.getWmPidName());
}
......
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