|
@@ -319,6 +319,10 @@ public class WebsitSalesLogic {
|
|
public String add(String websitId, String goodsType, String remark, HttpServletRequest request) {
|
|
public String add(String websitId, String goodsType, String remark, HttpServletRequest request) {
|
|
CurrentCompanyWechat wechat = commonLogic.getCurrentCompanyWechat(request);
|
|
CurrentCompanyWechat wechat = commonLogic.getCurrentCompanyWechat(request);
|
|
|
|
|
|
|
|
+ if (StringUtils.isBlank(wechat.getUser().getMobile())) {
|
|
|
|
+ throw new RemoteServiceException("未发现手机号, 不能提交订单");
|
|
|
|
+ }
|
|
|
|
+
|
|
List<WebsitShoppingCartList> shoppingCartLists = this.queryShoppingCart(wechat.getUserId(), websitId, goodsType);
|
|
List<WebsitShoppingCartList> shoppingCartLists = this.queryShoppingCart(wechat.getUserId(), websitId, goodsType);
|
|
|
|
|
|
//订单
|
|
//订单
|