소스 검색

weishengyjd

ayHaru 3 년 전
부모
커밋
0e68754b1f
2개의 변경된 파일350개의 추가작업 그리고 558개의 파일을 삭제
  1. 340 558
      data/config/win/refill.ini.php
  2. 10 0
      test/TestRefill.php

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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([]);