mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-07 23:31: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 {
|
||||
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 {
|
||||
return fmt.Errorf("测试请求失败: %v", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user