瀏覽代碼

modify add interface

stanley-king 3 年之前
父節點
當前提交
651fe83d20
共有 95 個文件被更改,包括 108 次插入106 次删除
  1. 9 9
      core/framework/function/http.php
  2. 1 1
      helper/refill/IRefill.php
  3. 3 1
      helper/refill/RefillBase.php
  4. 1 1
      helper/refill/api/lingzh/aming/RefillPhone.php
  5. 1 1
      helper/refill/api/lingzh/amingjd/RefillPhone.php
  6. 1 1
      helper/refill/api/lingzh/amingjdman/RefillPhone.php
  7. 1 1
      helper/refill/api/lingzh/amingyd/RefillPhone.php
  8. 1 1
      helper/refill/api/lingzh/baizeyd/RefillPhone.php
  9. 1 1
      helper/refill/api/lingzh/binghc/RefillPhone.php
  10. 1 1
      helper/refill/api/lingzh/chuka/RefillPhone.php
  11. 1 1
      helper/refill/api/lingzh/feiniao/RefillPhone.php
  12. 1 1
      helper/refill/api/lingzh/fensheng/RefillPhone.php
  13. 1 1
      helper/refill/api/lingzh/haohao/RefillOil.php
  14. 1 1
      helper/refill/api/lingzh/juzhuo/RefillOil.php
  15. 1 1
      helper/refill/api/lingzh/legou/RefillPhone.php
  16. 1 1
      helper/refill/api/lingzh/riying/RefillPhone.php
  17. 1 1
      helper/refill/api/lingzh/ruishun/RefillPhone.php
  18. 1 1
      helper/refill/api/lingzh/sctongqian/RefillPhone.php
  19. 1 1
      helper/refill/api/lingzh/shengying/RefillPhone.php
  20. 1 1
      helper/refill/api/lingzh/wailing/RefillPhone.php
  21. 1 1
      helper/refill/api/lingzh/weishengy/RefillPhone.php
  22. 1 1
      helper/refill/api/lingzh/weishengyjd/RefillPhone.php
  23. 1 1
      helper/refill/api/lingzh/weishengywt/RefillPhone.php
  24. 1 1
      helper/refill/api/lingzh/weisyd/RefillPhone.php
  25. 1 1
      helper/refill/api/lingzh/wuchen/RefillPhone.php
  26. 1 1
      helper/refill/api/lingzh/yezi/RefillPhone.php
  27. 1 1
      helper/refill/api/lingzh/yibao/RefillPhone.php
  28. 1 1
      helper/refill/api/test/baidu/RefillPhone.php
  29. 2 2
      helper/refill/api/xyz/afand/RefillPhone.php
  30. 2 2
      helper/refill/api/xyz/afandeng/RefillPhone.php
  31. 2 2
      helper/refill/api/xyz/afandfs/RefillPhone.php
  32. 1 1
      helper/refill/api/xyz/afandnew/RefillPhone.php
  33. 1 1
      helper/refill/api/xyz/afd/RefillPhone.php
  34. 1 1
      helper/refill/api/xyz/bdt/RefillOil.php
  35. 1 1
      helper/refill/api/xyz/bdt/RefillPhone.php
  36. 1 1
      helper/refill/api/xyz/beixt/RefillPhone.php
  37. 1 1
      helper/refill/api/xyz/bjb/RefillPhone.php
  38. 1 1
      helper/refill/api/xyz/bjbnew/RefillPhone.php
  39. 1 1
      helper/refill/api/xyz/bjbyd/RefillPhone.php
  40. 1 1
      helper/refill/api/xyz/bxtwt/RefillPhone.php
  41. 1 1
      helper/refill/api/xyz/feinimoshu/RefillOil.php
  42. 1 1
      helper/refill/api/xyz/fengye/RefillPhone.php
  43. 1 1
      helper/refill/api/xyz/gftd/RefillOil.php
  44. 1 1
      helper/refill/api/xyz/gftd/RefillPhone.php
  45. 1 1
      helper/refill/api/xyz/gftdsinop/RefillOil.php
  46. 1 1
      helper/refill/api/xyz/gftdsinop/RefillPhone.php
  47. 1 1
      helper/refill/api/xyz/jiec/RefillPhone.php
  48. 1 1
      helper/refill/api/xyz/jumi/RefillOil.php
  49. 1 1
      helper/refill/api/xyz/jumi/RefillPhone.php
  50. 1 1
      helper/refill/api/xyz/jumikc/RefillOil.php
  51. 1 1
      helper/refill/api/xyz/jumikc/RefillPhone.php
  52. 1 1
      helper/refill/api/xyz/lingzh/RefillPhone.php
  53. 1 1
      helper/refill/api/xyz/lingzhdl/RefillPhone.php
  54. 1 1
      helper/refill/api/xyz/lingzhoil/RefillOil.php
  55. 1 1
      helper/refill/api/xyz/lingzhthird/RefillPhone.php
  56. 1 1
      helper/refill/api/xyz/luqian/RefillPhone.php
  57. 1 1
      helper/refill/api/xyz/lx/RefillOil.php
  58. 1 1
      helper/refill/api/xyz/lx/RefillPhone.php
  59. 1 1
      helper/refill/api/xyz/qianqian/RefillPhone.php
  60. 1 1
      helper/refill/api/xyz/qianqianman/RefillPhone.php
  61. 1 1
      helper/refill/api/xyz/qiucheng/RefillPhone.php
  62. 1 1
      helper/refill/api/xyz/saihu/RefillOil.php
  63. 1 1
      helper/refill/api/xyz/saihu/RefillPhone.php
  64. 1 1
      helper/refill/api/xyz/shengchuang/RefillOil.php
  65. 1 1
      helper/refill/api/xyz/shengchuang/RefillPhone.php
  66. 1 1
      helper/refill/api/xyz/suhcpdd/RefillOil.php
  67. 1 1
      helper/refill/api/xyz/suhcpdd/RefillPhone.php
  68. 1 1
      helper/refill/api/xyz/suhctm/RefillOil.php
  69. 1 1
      helper/refill/api/xyz/suhctm/RefillPhone.php
  70. 1 1
      helper/refill/api/xyz/suyuan/RefillPhone.php
  71. 1 1
      helper/refill/api/xyz/tiancheng/RefillPhone.php
  72. 1 1
      helper/refill/api/xyz/tianjt/RefillOil.php
  73. 1 1
      helper/refill/api/xyz/tianjt/RefillPhone.php
  74. 1 1
      helper/refill/api/xyz/tonglu/RefillPhone.php
  75. 1 1
      helper/refill/api/xyz/tongy/RefillPhone.php
  76. 1 1
      helper/refill/api/xyz/wantong/RefillPhone.php
  77. 1 1
      helper/refill/api/xyz/weit/RefillPhone.php
  78. 1 1
      helper/refill/api/xyz/weiyi/RefillPhone.php
  79. 1 1
      helper/refill/api/xyz/weiyiman/RefillPhone.php
  80. 1 1
      helper/refill/api/xyz/weiyiwt/RefillPhone.php
  81. 1 1
      helper/refill/api/xyz/xc/RefillPhone.php
  82. 1 1
      helper/refill/api/xyz/xiaochuang/RefillPhone.php
  83. 1 1
      helper/refill/api/xyz/xunao/RefillPhone.php
  84. 1 1
      helper/refill/api/xyz/xunyin/RefillPhone.php
  85. 1 1
      helper/refill/api/xyz/yichangt/RefillOil.php
  86. 1 1
      helper/refill/api/xyz/yifa/RefillPhone.php
  87. 1 1
      helper/refill/api/xyz/yonghe/RefillPhone.php
  88. 1 1
      helper/refill/api/xyz/yunling/RefillPhone.php
  89. 1 1
      helper/refill/api/xyz/yunlingfs/RefillPhone.php
  90. 1 1
      helper/refill/api/xyz/yunsuoyao/RefillPhone.php
  91. 1 1
      helper/refill/api/xyz/zanzan/RefillPhone.php
  92. 1 1
      helper/refill/api/xyz/zeheng/RefillOil.php
  93. 1 1
      helper/refill/api/xyz/zhongst/RefillPhone.php
  94. 1 1
      helper/refill/api/xyz/zzx/RefillOil.php
  95. 1 1
      helper/refill/api/xyz/zzx/RefillPhone.php

+ 9 - 9
core/framework/function/http.php

@@ -9,7 +9,7 @@
 
 defined('InShopNC') or exit('Access Invalid!');
 
-function http_request($url, $params = array(), $method = 'GET', $multi = false, $extheaders = array()) 
+function http_request($url, $params = array(), $method = 'GET', $multi = false, $extheaders = array(),&$net_errno = 0)
 {
     if (!function_exists('curl_init')) {
         return false;
@@ -63,8 +63,8 @@ function http_request($url, $params = array(), $method = 'GET', $multi = false,
     $response = curl_exec($ci);
     if($response === false) {
         $err = curl_error($ci);
-        $no  = curl_errno($ci);
-        Log::record("netmodule http_request errno={$no} err={$err}",Log::ERR);
+        $net_errno  = curl_errno($ci);
+        Log::record("netmodule http_request errno={$net_errno} err={$err}",Log::ERR);
     }
 
     curl_close($ci);
@@ -72,7 +72,7 @@ function http_request($url, $params = array(), $method = 'GET', $multi = false,
     return $response;
 }
 
-function http_post_data($url, $body, $headers = array())
+function http_post_data($url, $body, $headers = array(),&$net_errno = 0)
 {
     if (!function_exists('curl_init')) {
         return false;
@@ -96,15 +96,15 @@ function http_post_data($url, $body, $headers = array())
     $response = curl_exec($ci);
     if($response === false) {
         $err = curl_error($ci);
-        $no  = curl_errno($ci);
-        Log::record("netmodule http_post_data errno={$no} err={$err}",Log::ERR);
+        $net_errno  = curl_errno($ci);
+        Log::record("netmodule http_post_data errno={$net_errno} err={$err}",Log::ERR);
     }
     curl_close($ci);
 
     return $response;
 }
 
-function https_request($url, $params = array(), $method = 'GET', $multi = false, $extheaders = array())
+function https_request($url, $params = array(), $method = 'GET', $multi = false, $extheaders = array(),&$net_errno = 0)
 {
     if (!function_exists('curl_init')) {
         return false;
@@ -156,8 +156,8 @@ function https_request($url, $params = array(), $method = 'GET', $multi = false,
     $response = curl_exec($ci);
     if($response === false) {
         $err = curl_error($ci);
-        $no  = curl_errno($ci);
-        Log::record("netmodule https_request errno={$no} err={$err}",Log::ERR);
+        $net_errno  = curl_errno($ci);
+        Log::record("netmodule https_request errno={$net_errno} err={$err}",Log::ERR);
     }
     curl_close($ci);
 

+ 1 - 1
helper/refill/IRefill.php

@@ -57,7 +57,7 @@ abstract class IRefill
         $this->mSupportRegins = [];
     }
 
-    abstract public function add($card_no,$card_type,$amount,$params);
+    abstract public function add($card_no,$card_type,$amount,$params,&$net_errno = 0);
     abstract public function query($refill_info);
 
     //分省相关

+ 3 - 1
helper/refill/RefillBase.php

@@ -412,7 +412,9 @@ class RefillBase
 
             $start = microtime(true);
             Log::record("start commit order card_no={$card_no}", Log::DEBUG);
-            [$state, $errmsg, $neterr] = $provider->add($card_no, $card_type, $amount, $params);
+
+            $net_errno = 0;
+            [$state, $errmsg, $neterr] = $provider->add($card_no, $card_type, $amount, $params,$net_errno);
             Log::record(sprintf(" %s add request time=%.6f", $channel_name,microtime(true) - $start), Log::DEBUG);
 
             if ($state)

+ 1 - 1
helper/refill/api/lingzh/aming/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

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

@@ -29,7 +29,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/amingjdman/RefillPhone.php

@@ -29,7 +29,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/amingyd/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/baizeyd/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/binghc/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/chuka/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $productNo = $this->getproductNo($amount);

+ 1 - 1
helper/refill/api/lingzh/feiniao/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/fensheng/RefillPhone.php

@@ -24,7 +24,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $params['order_sn']);
         $params['flowCode'] = config::ProductIDS[$card_type][$amount];

+ 1 - 1
helper/refill/api/lingzh/haohao/RefillOil.php

@@ -24,7 +24,7 @@ class RefillOil extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $card_type, $params['order_sn'], $amount);
 

+ 1 - 1
helper/refill/api/lingzh/juzhuo/RefillOil.php

@@ -40,7 +40,7 @@ class RefillOil extends refill\IRefillOil
         return md5($content);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         $params = $this->req_params($card_no,$card_type,$amount,$input);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/legou/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $input)
+    public function add($card_no, $card_type, $amount, $input,&$net_errno = 0)
     {
         $params = $this->req_params($card_no,$card_type, $amount, $input['order_sn']);
 

+ 1 - 1
helper/refill/api/lingzh/riying/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $card_type, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/ruishun/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/sctongqian/RefillPhone.php

@@ -57,7 +57,7 @@ class RefillPhone extends refill\IRefillPhone
     }
 
     //直充提单
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         if(empty($card_no)) {
             return $this->cardkey_add($params);

+ 1 - 1
helper/refill/api/lingzh/shengying/RefillPhone.php

@@ -64,7 +64,7 @@ class RefillPhone extends refill\IRefillPhone
         }
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $params['order_sn']);
         [$result, $Package] = $this->getPackage($card_type, $amount);

+ 1 - 1
helper/refill/api/lingzh/wailing/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/weishengy/RefillPhone.php

@@ -29,7 +29,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/weishengyjd/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $card_type, $order_sn);

+ 1 - 1
helper/refill/api/lingzh/weishengywt/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $card_type, $order_sn);

+ 1 - 1
helper/refill/api/lingzh/weisyd/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/wuchen/RefillPhone.php

@@ -30,7 +30,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $params['router'] = 'submit.recharge.order';

+ 1 - 1
helper/refill/api/lingzh/yezi/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/lingzh/yibao/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $productNo = $this->getproductNo($amount);

+ 1 - 1
helper/refill/api/test/baidu/RefillPhone.php

@@ -30,7 +30,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 2 - 2
helper/refill/api/xyz/afand/RefillPhone.php

@@ -30,13 +30,13 @@ class RefillPhone extends refill\IRefillPhone
     }
 
     //[$state, $errmsg,$neterr]
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);
         $params['sign'] = $sign;
 
-        $resp = http_request(config::ORDER_URL, $params , 'POST' , false);
+        $resp = http_request(config::ORDER_URL, $params , 'POST' , false,[],$net_errno);
 
         if (empty($resp)) {
             return [false, '系统错误', true];

+ 2 - 2
helper/refill/api/xyz/afandeng/RefillPhone.php

@@ -28,14 +28,14 @@ class RefillPhone extends refill\IRefillPhone
 
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no,$amount,$order_sn);
         $sign = $this->sign($params);
         $params['sgn'] = $sign;
 
-        $resp = http_request(config::PAY_PHONE_URL,$params,'GET');
+        $resp = http_request(config::PAY_PHONE_URL,$params,'GET',false,[],$net_errno);
 
         if (empty($resp)) {
             return [false,'系统错误',true];

+ 2 - 2
helper/refill/api/xyz/afandfs/RefillPhone.php

@@ -26,13 +26,13 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);
         $params['sign'] = $sign;
 
-        $resp = http_request(config::ORDER_URL, $params , 'POST' , false , config::ExtHeaders);
+        $resp = http_request(config::ORDER_URL, $params , 'POST' , false , config::ExtHeaders,$net_errno);
 
         if (empty($resp)) {
             return [false, '系统错误',true];

+ 1 - 1
helper/refill/api/xyz/afandnew/RefillPhone.php

@@ -24,7 +24,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $params['productNo'] = config::ProductIDS[$card_type][$amount];

+ 1 - 1
helper/refill/api/xyz/afd/RefillPhone.php

@@ -24,7 +24,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/bdt/RefillOil.php

@@ -53,7 +53,7 @@ class RefillOil extends refill\IRefillOil
         return strtoupper(md5($content));
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         $params = $this->req_params($card_no,$card_type,$amount,$input);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/bdt/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }

+ 1 - 1
helper/refill/api/xyz/beixt/RefillPhone.php

@@ -23,7 +23,7 @@ class RefillPhone extends refill\IRefillPhone
         return json_encode($params);
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no,$amount,$order_sn);

+ 1 - 1
helper/refill/api/xyz/bjb/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no,$amount,$order_sn);

+ 1 - 1
helper/refill/api/xyz/bjbnew/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no,$amount,$order_sn);

+ 1 - 1
helper/refill/api/xyz/bjbyd/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no,$amount,$order_sn);

+ 1 - 1
helper/refill/api/xyz/bxtwt/RefillPhone.php

@@ -24,7 +24,7 @@ class RefillPhone extends refill\IRefillPhone
         return json_encode($params);
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $order_sn);

+ 1 - 1
helper/refill/api/xyz/feinimoshu/RefillOil.php

@@ -31,7 +31,7 @@ class RefillOil extends refill\IRefillPhone
     }
 
 
-    public function add($card_no, $card_type,$amount,$input)
+    public function add($card_no, $card_type,$amount,$input,&$net_errno = 0)
     {
         $order_sn = $input['order_sn'];
         $params = $this->req_params($card_no,$card_type,$amount,$order_sn);

+ 1 - 1
helper/refill/api/xyz/fengye/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/gftd/RefillOil.php

@@ -102,7 +102,7 @@ class RefillOil extends refill\IRefillOil
         return $body;
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         [$params,$card_info] = $this->req_params($card_no,$card_type,$amount,$input);
 

+ 1 - 1
helper/refill/api/xyz/gftd/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }

+ 1 - 1
helper/refill/api/xyz/gftdsinop/RefillOil.php

@@ -102,7 +102,7 @@ class RefillOil extends refill\IRefillOil
         return $body;
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         [$params,$card_info] = $this->req_params($card_no,$card_type,$amount,$input);
 

+ 1 - 1
helper/refill/api/xyz/gftdsinop/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }

+ 1 - 1
helper/refill/api/xyz/jiec/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/jumi/RefillOil.php

@@ -25,7 +25,7 @@ class RefillOil extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/jumi/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/jumikc/RefillOil.php

@@ -25,7 +25,7 @@ class RefillOil extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/jumikc/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/lingzh/RefillPhone.php

@@ -29,7 +29,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $quality = $params['quality'];

+ 1 - 1
helper/refill/api/xyz/lingzhdl/RefillPhone.php

@@ -30,7 +30,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no,$amount,$order_sn);

+ 1 - 1
helper/refill/api/xyz/lingzhoil/RefillOil.php

@@ -29,7 +29,7 @@ class RefillOil extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $quality = $params['quality'];

+ 1 - 1
helper/refill/api/xyz/lingzhthird/RefillPhone.php

@@ -57,7 +57,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         if(empty($card_no)) {
 //            return $this->cardkey_add($params);

+ 1 - 1
helper/refill/api/xyz/luqian/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/lx/RefillOil.php

@@ -17,7 +17,7 @@ class RefillOil extends refill\IRefillOil
         parent::__construct($cfgs);
     }
 
-    public function add($card_no, $card_type, $amount, $input)
+    public function add($card_no, $card_type, $amount, $input,&$net_errno = 0)
     {
         return [true, $input['order_sn'], false];
     }

+ 1 - 1
helper/refill/api/xyz/lx/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }

+ 1 - 1
helper/refill/api/xyz/qianqian/RefillPhone.php

@@ -24,7 +24,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $params['order_sn']);
         $params['flowCode'] = config::ProductIDS[$card_type][$amount];

+ 1 - 1
helper/refill/api/xyz/qianqianman/RefillPhone.php

@@ -24,7 +24,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $params['order_sn']);
         $params['flowCode'] = config::ProductIDS[$card_type][$amount];

+ 1 - 1
helper/refill/api/xyz/qiucheng/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/saihu/RefillOil.php

@@ -35,7 +35,7 @@ class RefillOil extends refill\IRefillOil
         return md5($content);
     }
 
-    public function add($card_no, $card_type, $amount, $input)
+    public function add($card_no, $card_type, $amount, $input,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $input);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/saihu/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }

+ 1 - 1
helper/refill/api/xyz/shengchuang/RefillOil.php

@@ -52,7 +52,7 @@ class RefillOil extends refill\IRefillOil
         return md5($content);
     }
 
-    public function add($card_no, $card_type, $amount, $input)
+    public function add($card_no, $card_type, $amount, $input,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $input);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/shengchuang/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }

+ 1 - 1
helper/refill/api/xyz/suhcpdd/RefillOil.php

@@ -50,7 +50,7 @@ class RefillOil extends refill\IRefillOil
         return md5($content);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         $params = $this->req_params($card_no,$card_type,$amount,$input);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/suhcpdd/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }

+ 1 - 1
helper/refill/api/xyz/suhctm/RefillOil.php

@@ -50,7 +50,7 @@ class RefillOil extends refill\IRefillOil
         return md5($content);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         $params = $this->req_params($card_no,$card_type,$amount,$input);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/suhctm/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }

+ 1 - 1
helper/refill/api/xyz/suyuan/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $card_type, $order_sn);

+ 1 - 1
helper/refill/api/xyz/tiancheng/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/tianjt/RefillOil.php

@@ -53,7 +53,7 @@ class RefillOil extends refill\IRefillOil
         return md5($content);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         $params = $this->req_params($card_no,$card_type,$amount,$input);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/tianjt/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }

+ 1 - 1
helper/refill/api/xyz/tonglu/RefillPhone.php

@@ -27,7 +27,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/tongy/RefillPhone.php

@@ -30,7 +30,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/wantong/RefillPhone.php

@@ -27,7 +27,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/weit/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/weiyi/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/weiyiman/RefillPhone.php

@@ -27,7 +27,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/weiyiwt/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $card_type, $order_sn);

+ 1 - 1
helper/refill/api/xyz/xc/RefillPhone.php

@@ -23,7 +23,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no,$amount,$order_sn);

+ 1 - 1
helper/refill/api/xyz/xiaochuang/RefillPhone.php

@@ -25,7 +25,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $card_type, $amount, $order_sn);

+ 1 - 1
helper/refill/api/xyz/xunao/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $amount, $card_type, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/xunyin/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $order_sn);

+ 1 - 1
helper/refill/api/xyz/yichangt/RefillOil.php

@@ -28,7 +28,7 @@ class RefillOil extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $params['order_sn'], $amount);
 

+ 1 - 1
helper/refill/api/xyz/yifa/RefillPhone.php

@@ -26,7 +26,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type,$amount,$params)
+    public function add($card_no, $card_type,$amount,$params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no,$amount,$order_sn);

+ 1 - 1
helper/refill/api/xyz/yonghe/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $card_type, $order_sn);

+ 1 - 1
helper/refill/api/xyz/yunling/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $card_type, $amount, $order_sn);

+ 1 - 1
helper/refill/api/xyz/yunlingfs/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $order_sn);

+ 1 - 1
helper/refill/api/xyz/yunsuoyao/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $card_type, $order_sn);

+ 1 - 1
helper/refill/api/xyz/zanzan/RefillPhone.php

@@ -46,7 +46,7 @@ class RefillPhone extends refill\IRefillPhone
         }
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $card_type, $amount, $params['order_sn']);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/zeheng/RefillOil.php

@@ -26,7 +26,7 @@ class RefillOil extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $params = $this->req_params($card_no, $params['order_sn'], $amount);
 

+ 1 - 1
helper/refill/api/xyz/zhongst/RefillPhone.php

@@ -28,7 +28,7 @@ class RefillPhone extends refill\IRefillPhone
         return $params;
     }
 
-    public function add($card_no, $card_type, $amount, $params)
+    public function add($card_no, $card_type, $amount, $params,&$net_errno = 0)
     {
         $order_sn = $params['order_sn'];
         $params = $this->req_params($card_no, $amount, $card_type, $order_sn);

+ 1 - 1
helper/refill/api/xyz/zzx/RefillOil.php

@@ -45,7 +45,7 @@ class RefillOil extends refill\IRefillOil
         return strtoupper(md5($content));
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         $params = $this->req_params($card_no,$amount,$input);
         $sign = $this->sign($params);

+ 1 - 1
helper/refill/api/xyz/zzx/RefillPhone.php

@@ -13,7 +13,7 @@ class RefillPhone extends IRefillPhone
         parent::__construct($cfgs);
     }
 
-    public function add($card_no,$card_type,$amount,$input)
+    public function add($card_no,$card_type,$amount,$input,&$net_errno = 0)
     {
         return [false,'No Implement', false];
     }