mirror of
https://gitee.com/yansongda/pay.git
synced 2024-12-03 12:48:24 +08:00
微信红包增加find查询
用法 ` $wechat->find('商户订单号mch_billno', 'redpack'); `
This commit is contained in:
parent
51b0a68962
commit
9c65bc8c61
@ -49,6 +49,22 @@ class RedpackGateway extends Gateway
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Find.
|
||||
*
|
||||
* @author yansongda <me@yansongda.cn>
|
||||
*
|
||||
* @param $billno
|
||||
*/
|
||||
public function find($billno): array
|
||||
{
|
||||
return [
|
||||
'endpoint' => 'mmpaymkttransfers/gethbinfo',
|
||||
'order' => ['mch_billno' => $billno, 'bill_type' => 'MCHT'],
|
||||
'cert' => true,
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get trade type config.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user