微信红包增加find查询

用法
`
$wechat->find('商户订单号mch_billno', 'redpack');
`
This commit is contained in:
isszz 2020-06-18 14:18:53 +08:00 committed by GitHub
parent 51b0a68962
commit 9c65bc8c61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.
*