diff --git a/src/service/curl/BtService.php b/src/service/curl/BtService.php index 3725a59..93217c2 100644 --- a/src/service/curl/BtService.php +++ b/src/service/curl/BtService.php @@ -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; diff --git a/tests/curl.php b/tests/curl.php new file mode 100644 index 0000000..9cede94 --- /dev/null +++ b/tests/curl.php @@ -0,0 +1,26 @@ +panel() + ->key() + ->url() + ->cookie() + ->data() + ->toArray();