mirror of https://github.com/allinssl/allinssl
【调整】宝塔网面板API测试更换接口
parent
347f0446c0
commit
d3f9b05335
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue