diff --git a/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/pojo/vo/OrderSubmitResultVO.java b/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/pojo/vo/OrderSubmitResultVO.java new file mode 100644 index 000000000..c32950898 --- /dev/null +++ b/mall-oms/oms-api/src/main/java/com/youlai/mall/oms/pojo/vo/OrderSubmitResultVO.java @@ -0,0 +1,24 @@ +package com.youlai.mall.oms.pojo.vo; + +import com.youlai.common.core.base.BaseVO; +import lombok.Data; + +/** + * @author huawei + * @desc 订单创建响应结果VO + * @email huawei_code@163.com + * @date 2021/1/21 + */ +@Data +public class OrderSubmitResultVO extends BaseVO { + + /** + * 订单id + */ + private Long id; + + /** + * 订单号 + */ + private String orderSn; +} diff --git a/mall-pms/pms-api/src/main/java/com/youlai/mall/pms/api/ProductFeignService.java b/mall-pms/pms-api/src/main/java/com/youlai/mall/pms/api/ProductFeignService.java index d938ea0e6..a585bf774 100644 --- a/mall-pms/pms-api/src/main/java/com/youlai/mall/pms/api/ProductFeignService.java +++ b/mall-pms/pms-api/src/main/java/com/youlai/mall/pms/api/ProductFeignService.java @@ -42,7 +42,7 @@ public interface ProductFeignService { * @param skuStockVO * @return */ - @PostMapping("/api.admin/v1/sku/stock/lock") + @PostMapping("/api.app/v1/sku/stock/lock") Result lockStock(@RequestBody WareSkuStockVO skuStockVO); } diff --git a/mall-ums/ums-api/src/main/java/com/youlai/mall/ums/pojo/UmsUser.java b/mall-ums/ums-api/src/main/java/com/youlai/mall/ums/pojo/UmsUser.java index 8666cf5e9..b3262e695 100644 --- a/mall-ums/ums-api/src/main/java/com/youlai/mall/ums/pojo/UmsUser.java +++ b/mall-ums/ums-api/src/main/java/com/youlai/mall/ums/pojo/UmsUser.java @@ -49,6 +49,7 @@ public class UmsUser { @TableField(exist = false) private List addressList; + @TableField(exist = false) private Integer balance; }