...
|
...
|
@@ -579,6 +579,9 @@ class CartModel |
|
|
do {
|
|
|
/* 调接口订单确认接口 */
|
|
|
$pay = CartData::cartPay($uid, $cartType);
|
|
|
//获取用户手机号码用于发票接收人
|
|
|
$userInfo = UserData::getUserInfo($uid);
|
|
|
|
|
|
if (!$pay || empty($pay['data']['goods_list'])) {
|
|
|
break;
|
|
|
}
|
...
|
...
|
@@ -703,7 +706,7 @@ class CartModel |
|
|
$build['name'] = $value['invoices_type_name'];
|
|
|
$result['piaoTypes'][] = $build;
|
|
|
}
|
|
|
$result['receiverMobile'] = isset($pay['data']['delivery_address']['mobile']) ? $pay['data']['delivery_address']['mobile'] : '';
|
|
|
$result['receiverMobile'] = isset($userInfo['data']['mobile']) && $userInfo['data']['mobile'] ? $userInfo['data']['mobile'] : '';
|
|
|
}
|
|
|
|
|
|
/* 需购买的商品 */
|
...
|
...
|
|