haru haru преди 2 години
родител
ревизия
0d65cac9f3
променени са 2 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. 1 2
      helper/refill/api/xyz/yunlingdf/config.php
  2. 1 1
      test/TestRefill.php

+ 1 - 2
helper/refill/api/xyz/yunlingdf/config.php

@@ -10,8 +10,7 @@ class config
     const BALANCE_URL= 'http://121.89.243.74:9086/searchbalance.do';
     const USER_ID= '10002623';
     const KEY = 'M4GZNKZCW6kasAMbpGxDn3AcPJiYDFS5';
-//    const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yunlingdf.php";
-    const NOTIFY_URL = "https://www.xyzshops.cn/mobile/signature.php";
+    const NOTIFY_URL = BASE_SITE_URL . "/mobile/callback/refill_yunlingdf.php";
 
 
     const USE_TYPE = [

+ 1 - 1
test/TestRefill.php

@@ -1606,7 +1606,7 @@ class TestRefill extends TestCase
         ]);
 //        $resp = $provider->query(['order_sn' => '45331652932902024418']);
 
-//        $body = '{"orderid":"RCE21122817138556500","sporderid":"52311640682774916978","userid":"10002623","merchantsubmittime":"20211228182932","resultno":"1","parvalue":"50","remark1":"50.00","payno":"50.00","fundbalance":"-46.5","sign":"B40807706460BAF9CBE150166633F20A"}';
+//        $body = ' {"orderid":"JDE22051911549026252","sporderid":"26641652932472092667","userid":"10002623","merchantsubmittime":"20220519115448","resultno":"9","parvalue":"100","remark1":"","payno":"","fundbalance":"-140.5","sign":"1EC1F9730A66ED23B68B89DD7CA4EB15"}';
 //        $params = json_decode($body, true);
 //        $provider = $this->getProvider('yunlingdf', 'RefillCallBack');
 //        $ret = $provider->verify($params);