# 文档地址https://pay.wechatpay.cn/docs/partner/apis/consumer-complaint/images/query-images.html
$url = self::getFullUrl($data,$url);
$req = Http::withHeaders($headers);
$req = $req->get($url);
// 图一为此处打印$req
$req = $req->json();
// 图二日志
Log::info('[微信商户投诉]url:' . $url);
Log::info('[微信商户投诉]Method:' . $method);
Log::info('[微信商户投诉]请求header:' . json_encode($headers,256));
Log::info('[微信商户投诉]请求参数:' . json_encode($data,256));
Log::info('[微信商户投诉]返回:' . json_encode($req,256));
https://github.com/TheNorthMemory/wechatpay-php
+
https://github.com/TheNorthMemory/wechatpay-openapi
IDE带提示,书写起来就没几行。。。