Browse Source

lechong query add order state noexist

haru haru 3 years ago
parent
commit
edb2660b7e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      helper/refill/api/xyz/lechong/RefillPhone.php

+ 2 - 0
helper/refill/api/xyz/lechong/RefillPhone.php

@@ -95,6 +95,8 @@ class RefillPhone extends refill\IRefillPhone
                     $order_state = ORDER_STATE_SEND;
                 }
                 return [true, $order_state];
+            } elseif ($resp['recode'] == 'q106' && (time() - $refill_info['commit_time'] >= 600)){
+                return [true, ORDER_STATE_NOEXIST];
             } else {
                 return [false, $resp['msg']];
             }