修改用户收货地址
This commit is contained in:
@@ -207,17 +207,17 @@ class OrderProductService extends BaseService
|
||||
}
|
||||
|
||||
// 检测商品订单退款状态
|
||||
if ($order_product['order_product_status'] == 2){
|
||||
if ($order_product['refund_status'] == 2){
|
||||
// 商品订单退款状态(0:无退款 1:申请退款 2:退款中 3:退款成功 4:拒绝退款 5:退款关闭 6:退款异常)
|
||||
throw new BusinessException("订单退款中");
|
||||
}
|
||||
|
||||
if ($order_product['order_product_status'] == 3){
|
||||
if ($order_product['refund_status'] == 3){
|
||||
// 商品订单退款状态(0:无退款 1:申请退款 2:退款中 3:退款成功 4:拒绝退款 5:退款关闭 6:退款异常)
|
||||
throw new BusinessException("订单已退款成功");
|
||||
}
|
||||
|
||||
if ($order_product['order_product_status'] == 5){
|
||||
if ($order_product['refund_status'] == 5){
|
||||
// 商品订单退款状态(0:无退款 1:申请退款 2:退款中 3:退款成功 4:拒绝退款 5:退款关闭 6:退款异常)
|
||||
throw new BusinessException("订单退款关闭");
|
||||
}
|
||||
|
||||
@@ -367,7 +367,7 @@ class UserService extends BaseService
|
||||
$data['consignee_tel'] = $request_params['consignee_tel'];
|
||||
$data['consignee_tel_mask'] = Mask::maskPhoneStr($request_params['consignee_tel']);
|
||||
$data['is_default'] = $request_params['is_default'];
|
||||
$data['tag'] = $request_params['tag'] ?? "";
|
||||
$data['tag'] = $request_params['tag'] ?? 4;
|
||||
$user_ship_address = UserShipAddress::addUserShipAddress($data);
|
||||
if (empty($user_ship_address)) {
|
||||
Db::rollBack();
|
||||
|
||||
Reference in New Issue
Block a user