修改取消药品订单
This commit is contained in:
parent
9fbf7c568f
commit
373ae9c816
@ -80,7 +80,7 @@ class OrderProductService extends BaseService
|
|||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($order_product['inquiry_pay_status'] == 2) {
|
if ($order_product['pay_status'] == 2) {
|
||||||
// 支付状态(1:未支付 2:已支付 3:支付中 4:支付失败 5:支付超时 6:支付关闭 7:已撤销 8:转入退款)
|
// 支付状态(1:未支付 2:已支付 3:支付中 4:支付失败 5:支付超时 6:支付关闭 7:已撤销 8:转入退款)
|
||||||
$result['status'] = 2;
|
$result['status'] = 2;
|
||||||
$result['message'] = "取消未支付的问诊订单:订单已支付";
|
$result['message'] = "取消未支付的问诊订单:订单已支付";
|
||||||
@ -92,7 +92,7 @@ class OrderProductService extends BaseService
|
|||||||
$data['order_product_status'] = 5;
|
$data['order_product_status'] = 5;
|
||||||
|
|
||||||
if ($cancel_reason == 3){
|
if ($cancel_reason == 3){
|
||||||
$data['inquiry_pay_status'] = 5; // 支付状态(1:未支付 2:已支付 3:支付中 4:支付失败 5:支付超时 6:支付关闭 7:已撤销 8:转入退款)
|
$data['pay_status'] = 5; // 支付状态(1:未支付 2:已支付 3:支付中 4:支付失败 5:支付超时 6:支付关闭 7:已撤销 8:转入退款)
|
||||||
}
|
}
|
||||||
|
|
||||||
$data['cancel_time'] = date("Y-m-d H:i:s",time());
|
$data['cancel_time'] = date("Y-m-d H:i:s",time());
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user