- 增加宝塔接口

v6 v6.0.14
Chaim 4 years ago
parent 61406ca20b
commit 4101f4bbcf

@ -369,10 +369,6 @@ class ApiService extends Service
*/
protected function HttpPostCookie(string $url, array $data = [], bool $is_json = true)
{
$config = [
'bt_panel' => $this->panel,
'bt_key' => $this->key
];
//定义cookie保存位置
$file = app()->getRootPath() . 'runtime/dtapp/bt/cookie/';
$cookie_file = $file . md5($this->panel) . '.cookie';

Loading…
Cancel
Save