* The GET form for importIssue is completed, post not.

This commit is contained in:
dingguodong
2021-07-05 10:50:24 +08:00
parent 9f05faa716
commit 388f6365c9
3 changed files with 15 additions and 16 deletions
+1 -1
View File
@@ -285,7 +285,7 @@ class gitlabModel extends model
* @access public
* @return object
*/
public function apiGet($host, $api, $data = array(), $options = array())
public function apiPost($host, $api, $data = array(), $options = array())
{
if(is_numeric($host)) $host = $this->getApiRoot($host);
if(strpos($host, 'http://') !== 0 and strpos($host, 'https://') !== 0) return false;