mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-08 07:41:10 +08:00
【调整】宝塔网面板API测试更换接口
This commit is contained in:
@@ -224,7 +224,7 @@ func DeployBtDockerSite(cfg map[string]any) error {
|
|||||||
|
|
||||||
func BtPanelAPITest(providerID string) error {
|
func BtPanelAPITest(providerID string) error {
|
||||||
data := url.Values{}
|
data := url.Values{}
|
||||||
_, err := RequestBt(&data, "POST", providerID, "mod/push/task/get_task_list")
|
_, err := RequestBt(&data, "POST", providerID, "system?action=GetNetWork")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("测试请求失败: %v", err)
|
return fmt.Errorf("测试请求失败: %v", err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user