We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public function listTransactions($tx_id = "", $account_id = "", $detail = false) { $data = []; if(empty($tx_id)) $data = ['tx_id' => $tx_id, 'detail' => $detail]; if(empty($account_id)) $data = ['account_id' => $account_id, 'detail' => $detail]; return $this->httpClient->post($this->url. '/list-transactions', $data); }
是不是要改为 public function listTransactions($tx_id = "", $account_id = "", $detail = false) { $data = []; if(!empty($tx_id)) $data = ['tx_id' => $tx_id, 'detail' => $detail]; if(empty($account_id)) $data = ['account_id' => $account_id, 'detail' => $detail]; return $this->httpClient->post($this->url. '/list-transactions', $data); }
还有tx_id 参数需要改成id (这个应该是原接口的问题)
The text was updated successfully, but these errors were encountered:
@AminBATE 看了下原接口,确实需要把tx_id更新成id~
Sorry, something went wrong.
No branches or pull requests
是不是要改为
public function listTransactions($tx_id = "", $account_id = "", $detail = false)
{
$data = [];
if(!empty($tx_id)) $data = ['tx_id' => $tx_id, 'detail' => $detail];
if(empty($account_id)) $data = ['account_id' => $account_id, 'detail' => $detail];
return $this->httpClient->post($this->url. '/list-transactions', $data);
}
还有tx_id 参数需要改成id (这个应该是原接口的问题)
The text was updated successfully, but these errors were encountered: