Browse Source

chuangyu_qdw

xiaoyu 2 years ago
parent
commit
425adcd7db

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

@@ -46,7 +46,7 @@ class RefillPhone extends refill\IRefillPhone
                 return [false, '系统错误', true];
             } elseif ($resp['code'] === 200) {
                 return [true, '', false];
-            } elseif (in_array($resp['code'], ['1004', '5000'], true)) {
+            } elseif (in_array($resp['code'], [1004, 5000], true)) {
                 $net_errno = "HTTP-{$resp['code']}";
                 return [false, $resp['msg'], true];
             } else {

+ 0 - 1
helper/refill/api/xyz/chuangyu_qdw/config.php

@@ -4,7 +4,6 @@ namespace refill\chuangyu_qdw;
 use mtopcard;
 class config
 {
-    //回调地址需在商户后台配置
     const ORDER_URL = 'http://120.55.55.137:8080/api/charge';
     const QUERY_URL = 'http://120.55.55.137:8080/api/query';
     const BALANCE_URL = 'http://120.55.55.137:8080/api/balance';