← Back
Editing: api.js
let t;const e=e=>{t=e},s=()=>t.post("tencent/get_config",{check:"object",customType:"plugin"}),c=e=>t.post("tencent/get_local_lighthouse",{data:e,check:"default",customType:"plugin"}),o=()=>t.post("tencent/get_request_pack",{check:"object",customType:"plugin"}),a=()=>t.post("tencent/get_snapshots_list",{check:"object",customType:"plugin"}),n=()=>t.post("tencent/get_disk_snapshots_list",{check:"object",customType:"plugin"}),p=e=>t.post("tencent/create_snapshots",{data:e,check:"msg",customType:"plugin"}),u=e=>t.post("tencent/create_disk_snapshots",{data:e,check:"msg",customType:"plugin"}),l=e=>t.post("tencent/set_config",{data:e,check:"msg",customType:"plugin"}),g=e=>t.post("tencent/delete_snapshots",{data:e,check:"msg",customType:"plugin"}),m=e=>t.post("tencent/delete_disk_snapshots",{data:e,check:"msg",customType:"plugin"}),i=()=>t.post("tencent/update_tencent",{check:"msg",customType:"plugin"}),d=()=>t.post("tencent/cancel_config",{check:"msg",customType:"plugin"}),h=()=>t.post("tencent/get_firewall_rules",{check:"object",customType:"plugin"}),_=e=>t.post("/plugin?action=a&name=tencent&s=del_firewall_rules",{data:e,check:"msg",customType:"model"}),k=e=>t.post("/plugin?action=a&name=tencent&s=add_firewall_rules",{data:e,check:"msg",customType:"model"}),T=e=>t.post("plugin/get_soft_find",{data:e,check:"object"}),y=()=>t.post("cosfs/get_unmounted_buckets",{check:"msg",customType:"plugin"}),f=e=>t.post("/plugin?action=a&name=cosfs&s=mount_cosfs",{data:e,check:"msg",customType:"model"}),r=e=>t.post("/ssl?action=AuthLogin",{data:e,check:"object",customType:"model"}),b=e=>t.post("/ssl?action=GetAuthUrl",{data:e,check:"object",customType:"model"}),j=e=>t.post("ssl/GetBindCode",{data:e}),w=e=>t.post("ssl/GetAuthToken",{data:e,check:"msg"}),G=()=>t.post("/ssl?action=GetCloudType",{loading:"正在获取面板消息",check:"object",customType:"model"});export{g as a,c as b,o as c,m as d,n as e,a as f,s as g,u as h,p as i,_ as j,h as k,k as l,f as m,y as n,T as o,w as p,b as q,j as r,e as s,r as t,i as u,G as v,l as w,d as x};
Save File
Cancel