Browse Source

fix aming jd query order state error.

stanley-king 4 years ago
parent
commit
5885562247
1 changed files with 2 additions and 1 deletions
  1. 2 1
      helper/refill/api/lingzh/amingjd/RefillPhone.php

+ 2 - 1
helper/refill/api/lingzh/amingjd/RefillPhone.php

@@ -72,8 +72,9 @@ class RefillPhone extends refill\IRefillPhone
                 } elseif ($resp['status'] == 4) {
                     $order_state = ORDER_STATE_CANCEL;
                 } elseif (in_array($resp['status'] , [1 , 2])) {
-                    $order_state = ORDER_STATE_CANCEL;
+                    $order_state = ORDER_STATE_SEND;
                 }
+                
                 if ($order_state == -1) {
                     return [false, $resp['msg']];
                 }