修复类型错误

This commit is contained in:
承诺 2024-10-14 11:07:02 +08:00
parent be71c30b21
commit a044045abe

View File

@ -100,7 +100,7 @@ class Complaints extends BasicWePay
* @return array|string
* @throws \WeChat\Exceptions\InvalidResponseException
*/
public function replyInfo(String $complaint_id, String $content)
public function replyInfo(String $complaint_id, array $content)
{
$content['complainted_mchid'] = $this->config['mch_id'];
$pathinfo = "/v3/merchant-service/complaints-v2/{$complaint_id}/response";