|
@@ -1045,16 +1045,16 @@ class TestRefill extends TestCase
|
|
|
|
|
|
public function testYuanta()
|
|
|
{
|
|
|
- $provider = $this->getProvider('yuanta');
|
|
|
+// $provider = $this->getProvider('yuanta');
|
|
|
// $resp = $provider->balance();
|
|
|
-// $resp = $provider->add(18500608333, 5, 50, ['order_sn' => $this->make_sn()]);
|
|
|
- $resp = $provider->query(['order_sn' => '61501631786913519186']);
|
|
|
+// $resp = $provider->add(18500608333, 5, 100, ['order_sn' => $this->make_sn()]);
|
|
|
+// $resp = $provider->query(['order_sn' => '96081645088688480739']);
|
|
|
|
|
|
-// $body = '{"szOrderId":"61501631786913519186","fSalePrice":"45.75","szAgentId":"200029","nFlag":"2","szVerifyString":"3a580a84b477efa431d78b505fd7389e","szPhoneNum":"18500608333","szRtnMsg":"110103353072109161810250286803","nDemo":"50"}';
|
|
|
-// $params = json_decode($body, true);
|
|
|
-// $provider = $this->getProvider('yuanta','RefillCallBack');
|
|
|
-// $ret = $provider->verify($params);
|
|
|
-// $resp = $provider->notify($params);
|
|
|
+ $body = '{"orderId":"220217170449505863","appId":"Uar9JIo4Zz","outOrderId":"96081645088688480739","sign":"1483916dbdc2f3b6024894442af816aa","orderStatus":"2","completeTime":"20220217175606","orderDesc":"\u8ba2\u5355\u6210\u529f"}';
|
|
|
+ $params = json_decode($body, true);
|
|
|
+ $provider = $this->getProvider('yuanta','RefillCallBack');
|
|
|
+ $ret = $provider->verify($params);
|
|
|
+ $resp = $provider->notify($params);
|
|
|
}
|
|
|
|
|
|
public function testDuojing()
|