|
@@ -1043,15 +1043,15 @@ class TestRefill extends TestCase
|
|
|
|
|
|
public function testMenggu()
|
|
|
{
|
|
|
-// $providers = $this->getProvider('menggu','RefillOil');
|
|
|
+ $providers = $this->getProvider('menggu','RefillOil');
|
|
|
// $resp = $providers->add(1000111100021211884, 2, 500, ['order_sn' => $this->make_sn()]);
|
|
|
-// $resp = $providers->query(['order_sn' => '63021632301956855605']);
|
|
|
+ $resp = $providers->query(['order_sn' => '63021632301956855605']);
|
|
|
|
|
|
- $body = '{"orderId":"210922171242123506","appId":"1hqLCRUja7","outOrderId":"63021632301956855605","sign":"f3f0b48657bb4e3b993aa284159c6565","orderStatus":"2","completeTime":"20210922171306","orderDesc":"\u8ba2\u5355\u6210\u529f","ext1":"\u3010\u4e2d\u56fd\u77f3\u5316\u3011\u60a8\u5c3e\u53f7\u4e3a211884\u7684\u52a0\u6cb9\u5361\u4e8e09\u670822\u65e5 17\u65f612\u5206\u5145\u503c\u6210\u529f,\u91d1\u989d500\u5143,\u8ba2\u5355\u53f7:2521092217126714"}';
|
|
|
- $params = json_decode($body, true);
|
|
|
- $providers = $this->getProvider('menggu','RefillCallBack');
|
|
|
- $ret = $providers->verify($params);
|
|
|
- $resp = $providers->notify($params);
|
|
|
+// $body = '{"orderId":"210922171242123506","appId":"1hqLCRUja7","outOrderId":"63021632301956855605","sign":"f3f0b48657bb4e3b993aa284159c6565","orderStatus":"2","completeTime":"20210922171306","orderDesc":"\u8ba2\u5355\u6210\u529f","ext1":"\u3010\u4e2d\u56fd\u77f3\u5316\u3011\u60a8\u5c3e\u53f7\u4e3a211884\u7684\u52a0\u6cb9\u5361\u4e8e09\u670822\u65e5 17\u65f612\u5206\u5145\u503c\u6210\u529f,\u91d1\u989d500\u5143,\u8ba2\u5355\u53f7:2521092217126714"}';
|
|
|
+// $params = json_decode($body, true);
|
|
|
+// $providers = $this->getProvider('menggu','RefillCallBack');
|
|
|
+// $ret = $providers->verify($params);
|
|
|
+// $resp = $providers->notify($params);
|
|
|
}
|
|
|
|
|
|
public function testMenggu_hf()
|