public function report($api, $timeConsuming, $resultCode, $returnCode, array $other = [])
    {
        $params = array_merge([
            'interface_url' => $api,
            'execute_time_' => $timeConsuming,
            'return_code'   => $returnCode,
            'return_msg'    => null,
            'result_code'   => $resultCode,
            'user_ip'       => get_client_ip(),
            'time'          => time(),
        ], $other);

        return $this->request(self::API_REPORT, $params);
    }
public function report($api, $timeConsuming, $resultCode, $returnCode, array $other = [])
    {
        $params = array_merge([
            'interface_url' => $api,
            'execute_time_' => $timeConsuming,
            'return_code'   => $returnCode,
            'return_msg'    => null,
            'result_code'   => $resultCode,
            'user_ip'       => get_client_ip(),
            'time'          => time(),
        ], $other);

        return $this->request(self::API_REPORT, $params);
    }
public function report ( $ api , $ timeConsuming , $ resultCode , $ returnCode , array $ other = [ ] ) { $ params = array_merge ( [ 'interface_url' => $ api , 'execute_time_' => $ timeConsuming , 'return_code' => $ returnCode , 'return_msg' => null , 'result_code' => $ resultCode , 'user_ip' => get_client_ip ( ) , 'time' => time ( ) , ] , $ other ) ; return $ this -> request ( self :: API_REPORT , $ params ) ; }
Report API status to WeChat.

@param string $api
@param int    $timeConsuming
@param string $resultCode
@param string $returnCode
@param array  $other         ex: err_code,err_code_des,out_trade_no,user_ip...

@return \EntWeChat\Support\Collection
Report API status to WeChat .