修正取消未支付的订单
This commit is contained in:
@@ -821,7 +821,7 @@ class DetectionService extends BaseService
|
||||
* @param string|int $cancel_remarks 取消备注
|
||||
* @return array
|
||||
*/
|
||||
public function cancelUnpayDetectionOrder(string|int $order_id, string|int $cancel_reason, string|int $cancel_remarks): array
|
||||
public function cancelUnpayDetectionOrder(string|int $order_no, string|int $cancel_reason, string|int $cancel_remarks): array
|
||||
{
|
||||
$result = array();
|
||||
$result['status'] = 1;
|
||||
@@ -829,7 +829,7 @@ class DetectionService extends BaseService
|
||||
|
||||
// 获取检测订单数据
|
||||
$params = array();
|
||||
$params['order_id'] = $order_id;
|
||||
$params['detection_no'] = $order_no;
|
||||
$order_detection = OrderDetection::getOne($params);
|
||||
if (empty($order_detection)) {
|
||||
$result['status'] = 0;
|
||||
|
||||
Reference in New Issue
Block a user