doRequest('POST', '/v3/ecommerce/refunds/apply', $data, true); } /** * 退款信息查询 * @param string $refundNo * @return array * @throws InvalidResponseException * @throws LocalCacheException */ public function query($refundNo) { $pathinfo = "/v3/ecommerce/refunds/out-refund-no/{$refundNo}"; return $this->doRequest('GET', "{$pathinfo}?sub_mchid={$this->config['mch_id']}", '', true); } }