From cc15a933d65ae6f42b3c2f66e4a051d4d3dff0aa Mon Sep 17 00:00:00 2001 From: Chaim Date: Thu, 7 May 2020 13:45:28 +0800 Subject: [PATCH] - update BtService.php --- src/service/curl/BtService.php | 5 +++++ tests/curl.php | 26 ++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 tests/curl.php 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();