|
@@ -17,6 +17,7 @@ import com.gree.mall.miniapp.enums.PayOrderTypeEnum;
|
|
|
import com.gree.mall.miniapp.enums.PayTypeEnum;
|
|
|
import com.gree.mall.miniapp.enums.material.WebsitGoodsTypeEnum;
|
|
|
import com.gree.mall.miniapp.exception.RemoteServiceException;
|
|
|
+import com.gree.mall.miniapp.helper.ResponseHelper;
|
|
|
import com.gree.mall.miniapp.logic.common.AllInPayLogic;
|
|
|
import com.gree.mall.miniapp.logic.common.CommonLogic;
|
|
|
import com.gree.mall.miniapp.logic.common.outside.WechatLogic;
|
|
@@ -320,7 +321,7 @@ public class WebsitSalesLogic {
|
|
|
CurrentCompanyWechat wechat = commonLogic.getCurrentCompanyWechat(request);
|
|
|
|
|
|
if (StringUtils.isBlank(wechat.getUser().getMobile())) {
|
|
|
- throw new RemoteServiceException("未发现手机号, 不能提交订单");
|
|
|
+ throw new RemoteServiceException(ResponseHelper.ResponseCode_NOT_PHONE, "未发现手机号, 不能提交订单");
|
|
|
}
|
|
|
|
|
|
List<WebsitShoppingCartList> shoppingCartLists = this.queryShoppingCart(wechat.getUserId(), websitId, goodsType);
|