Browse Source

sunguidong

zhangguidong 2 years ago
parent
commit
02d7422245
1 changed files with 1 additions and 0 deletions
  1. 1 0
      application/api/controller/Order.php

+ 1 - 0
application/api/controller/Order.php

@@ -495,6 +495,7 @@ class Order extends Api
             ]);
 
             if($result['return_code']=='FAIL'||$result['result_code']=='FAIL'){
+                $good_order_model->save(['status' => 5], ['id' => $order_id, 'user_id' => $user_id]);
                 $this->error('退款出错请联系商家');
             }
             $good_order_model->save(['status' => 7], ['id' => $order_id, 'user_id' => $user_id]);