|
@@ -1195,13 +1195,12 @@ class TestRefill extends TestCase
|
|
|
public function testcreateSign()
|
|
|
{
|
|
|
$params['act'] = 'refill';
|
|
|
- $params['amount'] = '50';
|
|
|
- $params['cardno'] = '18276257399';
|
|
|
- $params['mchid'] = '10162';
|
|
|
- $params['notifyurl'] = 'http://www.baidu.com';
|
|
|
+ $params['amount'] = '100';
|
|
|
+ $params['cardno'] = '11100';
|
|
|
+ $params['mchid'] = '10152';
|
|
|
+ $params['notifyurl'] = 'http://122.114.168.35/gateway/api.notify/call?s_order=D20210623163820797539530&s_type=1';
|
|
|
$params['op'] = 'add';
|
|
|
- $params['order_sn'] = 'a814ebeb4ee883d01d98';
|
|
|
- $params['quality'] = 2;
|
|
|
+ $params['order_sn'] = 'D20210623163820797539530';
|
|
|
$sign = $this->md5_sign($params);
|
|
|
}
|
|
|
|
|
@@ -1255,7 +1254,7 @@ class TestRefill extends TestCase
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- $body .= "&key=CEFA8CCC89FE4916BA215306AABE2206";
|
|
|
+ $body .= "&key=NNLUOn14tNBeG7JJRGoPDKEO6Ocdt89G";
|
|
|
|
|
|
return md5($body);
|
|
|
}
|