@@ -25,7 +25,8 @@ public class GoodsCartInfoDto {
@NotNull(message = "商家ID必填")
private Long enterpriseId;
/** 店铺ID */
- @NotNull(message = "店铺ID必填")
+ //todo: 届时打开商铺ID必填
+// @NotNull(message = "店铺ID必填")
private Long shopId;
/** 购买地点ID */
@NotNull(message = "区域ID必填")
@@ -276,6 +276,7 @@ public class TbGoodsTransitService extends ServiceImpl<TbGoodsTransitMapper, TbG
if(tbEnterprise == null)throw new RuntimeException("商家不存在!");
//todo:通知短信
// return smsRetryService.sendSmsMsg(tbEnterprise.getContact());
+ return true;
}
throw new RuntimeException("订单预创建异常!");