Browse Source

Merge branch 'rperform' of 39.97.239.116:gyfl/xyzshop into rperform

haru haru 3 years ago
parent
commit
67e35c929b

+ 2 - 0
global.php

@@ -122,6 +122,8 @@ define('ORDER_STATE_SUCCESS', 40);
 
 define('ORDER_STATE_QUEUE', 50);
 
+define('ORDER_STATE_NOEXIST', 60);
+
 //未付款订单,自动取消的分钟
 define('VRORDER_AUTO_CANCEL_MINUTE', 10); //
 //未付款订单,自动取消的天数

+ 4 - 1
helper/refill/api/xyz/yinteng/RefillPhone.php

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

+ 7 - 7
helper/refill/api/xyz/yinteng/接口地址.txt

@@ -1,9 +1,9 @@
-正式环境:
-话费下单地址:http://121.41.208.107:10186/plat/api/old/submitorder
-查询地址:http://121.41.208.107:10186/plat/api/old/queryorder
-查询余额地址:http://121.41.208.107:10186/plat/api/old/queryBalance
+锟斤拷式锟斤拷锟斤拷锟斤拷
+锟斤拷锟斤拷锟铰碉拷锟斤拷址锟斤拷http://121.41.208.107:10186/plat/api/old/submitorder
+锟斤拷询锟斤拷址锟斤拷http://121.41.208.107:10186/plat/api/old/queryorder
+锟斤拷询锟斤拷锟斤拷址锟斤拷http://121.41.208.107:10186/plat/api/old/queryBalance
 
-测试ID:200000
-钥:2a7533687d974571a2051ad555bfd2f5
+锟斤拷锟斤拷ID:200000
+锟斤拷钥:2a7533687d974571a2051ad555bfd2f5
 
-对接文档地址:https://docs.qq.com/doc/DWkV1VkxQVk13eEtQ
+锟皆斤拷锟侥碉拷锟斤拷址锟斤拷https://docs.qq.com/doc/DWkV1VkxQVk13eEtQ