mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
1)修改了一些注释的错误参数类型和返回类型
2)修改了一些无意义的变量名 3)本次 commit 没有逻辑上的变动
This commit is contained in:
@@ -34,7 +34,7 @@ class Socket
|
||||
|
||||
/**
|
||||
* 架构函数
|
||||
* @param array $options 缓存参数
|
||||
* @param array $config 缓存参数
|
||||
* @access public
|
||||
*/
|
||||
public function __construct($config = [])
|
||||
@@ -211,8 +211,7 @@ class Socket
|
||||
"Content-Type: application/json;charset=UTF-8",
|
||||
];
|
||||
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); //设置header
|
||||
$txt = curl_exec($ch);
|
||||
return true;
|
||||
return curl_exec($ch);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user