- update BtService.php

v6
Chaim 4 years ago
parent bdf81b3e50
commit cc15a933d6

@ -20,6 +20,11 @@ use DtApp\ThinkLibrary\exception\CurlException;
use DtApp\ThinkLibrary\Service;
use Exception;
/**
* 宝塔网络请求接口
* Class BtService
* @package DtApp\ThinkLibrary\service\curl
*/
class BtService extends Service
{
private $url;

@ -0,0 +1,26 @@
<?php
// +----------------------------------------------------------------------
// | ThinkLibrary 6.0 for ThinkPhP 6.0
// +----------------------------------------------------------------------
// | 版权所有 2017~2020 [ https://www.dtapp.net ]
// +----------------------------------------------------------------------
// | 官方网站: https://gitee.com/liguangchun/ThinkLibrary
// +----------------------------------------------------------------------
// | 开源协议 ( https://mit-license.org )
// +----------------------------------------------------------------------
// | gitee 仓库地址 https://gitee.com/liguangchun/ThinkLibrary
// | github 仓库地址 https://github.com/GC0202/ThinkLibrary
// | Packagist 地址 https://packagist.org/packages/liguangchun/think-library
// +----------------------------------------------------------------------
use DtApp\ThinkLibrary\service\curl\BtService;
require '../vendor/autoload.php';
BtService::instance()->panel()
->key()
->url()
->cookie()
->data()
->toArray();
Loading…
Cancel
Save