Skip to content

Commit

Permalink
修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwuxin committed Feb 4, 2021
1 parent 06b8e63 commit 3db2278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function resolveOptions()
if ($this->method == 'GET') {
$this->options['query'] = $this->data;
} else {
$this->options['body'] = $this->data;
$this->options['form_params'] = $this->data;
}
}

Expand Down

0 comments on commit 3db2278

Please sign in to comment.