update to 6.8.37

This commit is contained in:
zhw
2024-04-29 15:35:04 +08:00
parent fa9a865beb
commit ed34994f45
474 changed files with 125711 additions and 34665 deletions
+3 -3
View File
@@ -104,7 +104,7 @@ class plugin_deployment:
try:
jsonFile = self.__setupPath + '/deployment_list.json'
if not 'package' in session or not os.path.exists(jsonFile) or hasattr(get,'force'):
downloadUrl = 'https://www.bt.cn/api/panel/get_deplist'
downloadUrl = 'http://www.bt.cn/api/panel/get_deplist'
pdata = public.get_pdata()
tmp = json.loads(public.httpPost(downloadUrl,pdata,3))
if not tmp: return public.returnMsg(False,'Failed to get from the cloud!')
@@ -270,7 +270,7 @@ class plugin_deployment:
#下载文件
if isDownload:
self.WriteLogs(json.dumps({'name':'Downloading file ...','total':0,'used':0,'pre':0,'speed':0}))
if pinfo['versions'][0]['download']: self.DownloadFile('https://www.bt.cn/api/Pluginother/get_file?fname=' + pinfo['versions'][0]['download'], packageZip)
if pinfo['versions'][0]['download']: self.DownloadFile('http://www.bt.cn/api/Pluginother/get_file?fname=' + pinfo['versions'][0]['download'], packageZip)
if not os.path.exists(packageZip): return public.returnMsg(False,'File download failed!' + packageZip)
@@ -471,7 +471,7 @@ class plugin_deployment:
p = panelAuth.panelAuth()
pdata = p.create_serverid(None);
pdata['pid'] = id;
p_url = 'https://www.bt.cn/api/pluginother/create_order_okey'
p_url = 'http://www.bt.cn/api/pluginother/create_order_okey'
public.httpPost(p_url,pdata)
#获取进度