stanley-king %!s(int64=3) %!d(string=hai) anos
pai
achega
6112bee1b8
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      helper/refill/api/xyz/qijutang/RefillPhone.php

+ 3 - 1
helper/refill/api/xyz/qijutang/RefillPhone.php

@@ -82,8 +82,10 @@ class RefillPhone extends refill\IRefillPhone
                 $order_state = ORDER_STATE_SUCCESS;
             } elseif ($status === 5013) {
                 $order_state = ORDER_STATE_CANCEL;
-            } elseif (in_array($status, [5011,5019])) {
+            } elseif (in_array($status, [5011, 5019])) {
                 $order_state = ORDER_STATE_SEND;
+            } elseif (in_array($status, [5005])) {
+                $order_state = ORDER_STATE_SUCCESS;
             } else {
                 return [false, $status];
             }