HARUHARU 4 anni fa
parent
commit
d8f1e51985

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

@@ -67,7 +67,6 @@ class RefillPhone extends refill\IRefillPhone
             if ($resp === false) {
                 return [false, '系统错误'];
             }
-
             $status = $resp['status'];
             if ($status === '001') {
                 $order_state = ORDER_STATE_SUCCESS;
@@ -97,6 +96,6 @@ class RefillPhone extends refill\IRefillPhone
         foreach ($data as $key => $val){
             $content .= $val;
         }
-        return sha1($content, true);
+        return sha1($content);
     }
 }

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

@@ -9,7 +9,7 @@ class config
     const ORDER_URL = 'http://47.99.65.204/flow-receiver/fee/recharge';
     const QUERY_URL = 'http://47.99.65.204/flow-receiver/fee/query/single';
 
-    const ACCOUNT = 'YZ1688';
+    const ACCOUNT = 'yz1688';
     const KEY = 'a09e9ee5313944509583fd64ea54a692';
 
     const ProductIDS = [