eee
This commit is contained in:
@@ -66,12 +66,13 @@ trait WxV3PaymentTait
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param string $orderNo
|
* @param string $orderNo
|
||||||
* @param AppConfig $config
|
|
||||||
* @return array
|
* @return array
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function searchByOutTradeNo(string $orderNo, AppConfig $config): array
|
public function searchByOutTradeNo(string $orderNo): array
|
||||||
{
|
{
|
||||||
|
$config = $this->getPayConfig();
|
||||||
|
|
||||||
$sign = $this->signature('POST', '/v3/pay/transactions/out-trade-no/' . $orderNo . '?mchid=' . $config->pay->wx->mchId, null);
|
$sign = $this->signature('POST', '/v3/pay/transactions/out-trade-no/' . $orderNo . '?mchid=' . $config->pay->wx->mchId, null);
|
||||||
|
|
||||||
$client = $this->createClient($sign, null);
|
$client = $this->createClient($sign, null);
|
||||||
|
|||||||
Reference in New Issue
Block a user