+ Create labels when gitlab server added successfully.

This commit is contained in:
dingguodong
2021-06-16 17:34:44 +08:00
parent 26315605a2
commit 65a6b38fae
4 changed files with 102 additions and 9 deletions
+2 -1
View File
@@ -2236,10 +2236,11 @@ EOD;
if(!empty($data))
{
if(is_object($data)) $data = (array) $data;
curl_setopt($curl, CURLOPT_POST, true);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
}
if($options) curl_setopt_array($curl, $options);
$response = curl_exec($curl);