Browse Source

huiyuan test

xiaoyu 1 year ago
parent
commit
0910923da3
2 changed files with 3 additions and 3 deletions
  1. 1 1
      helper/refill/api/xyz/huiyuan/RefillCallBack.php
  2. 2 2
      test/TestRefill.php

+ 1 - 1
helper/refill/api/xyz/huiyuan/RefillCallBack.php

@@ -9,7 +9,7 @@ class RefillCallBack implements refill\IRefillCallBack
     public function verify($params): bool
     {
         $sign = $this->sign($params);
-        if ($params['szVerifyString'] == $sign) {
+        if ($params['sign'] == $sign) {
             return true;
         } else {
             return false;

+ 2 - 2
test/TestRefill.php

@@ -3265,10 +3265,10 @@ class TestRefill extends TestCase
 
     public function testHuiyuan()
     {
-        $provider = $this->getProvider('huiyuan');
+//        $provider = $this->getProvider('huiyuan');
 //        $resp = $provider->balance();
 //        $resp = $provider->add(15811535608, 4, 10, ['order_sn' => $this->make_sn(), 'regin_no' => 18]);
-        $resp = $provider->query(['order_sn' => '12721681790791705529']);
+//        $resp = $provider->query(['order_sn' => '25551683853847719519']);
     }
 
     public function testDezhi_yi()