ayHaru %!s(int64=4) %!d(string=hai) anos
pai
achega
0e68754b1f
Modificáronse 2 ficheiros con 350 adicións e 558 borrados
  1. 340 558
      data/config/win/refill.ini.php
  2. 10 0
      test/TestRefill.php

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 340 - 558
data/config/win/refill.ini.php


+ 10 - 0
test/TestRefill.php

@@ -349,6 +349,16 @@ class TestRefill extends TestCase
         refill\RefillFactory::instance()->notify('weishengywt', $params);
     }
 
+    public function testWeishengyJDPhone()
+    {
+        $providers = new refill\weishengyjd\RefillPhone([]);
+//        $resp = $providers->add(18500608333, 5, 50, ['order_sn' => $this->make_sn()]);
+//        $resp = $providers->query(['order_sn' => '14261620887423822879']);
+        $data = '{"szOrderId":"14261620887423822879","fSalePrice":"44.0","szAgentId":"200050","nFlag":"3","szVerifyString":"3cceef390602058e1d2fdde2e07636a4","szPhoneNum":"18500608333","szRtnMsg":"","nDemo":"50"}';
+        $params = json_decode($data, true);
+        refill\RefillFactory::instance()->notify('weishengyjd', $params);
+    }
+
     public function testZeheng()
     {
         $providers = new refill\zeheng\RefillOil([]);