HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/setting-proxy-legacy.js
!function(){function e(e){return function(e){if(Array.isArray(e))return t(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,n){if(e){if("string"==typeof e)return t(e,n);var l={}.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?t(e,n):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,l=Array(t);n<t;n++)l[n]=e[n];return l}System.register(["./base-lib-legacy.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./useController-legacy11.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./site-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528","./useStore-legacy2.js?v=1777008528"],function(t,n){"use strict";var l,r,o,u,a,d,i,c,p,f,m,s,y,_,b,V,h,x,g,v,w,k,j,U,T,A,C,I,S,F,H,J,L,M,O,R,z;return{setters:[function(e){l=e.c,r=e.w,o=e.o,u=e.I,a=e.j,d=e.k,i=e.J,c=e.p,p=e.C,f=e.v,m=e.e,s=e.F,y=e.B,_=e.a1,b=e.x,V=e.ad,h=e.am,x=e.an,g=e.U,v=e.aW,w=e.z,k=e.ab},function(e){j=e.cO,U=e.b,T=e.a},function(e){A=e.H,C=e.k,I=e.f,S=e.I,F=e.t,H=e.J,J=e.K,L=e.L,M=e.M,O=e.b,R=e.N,z=e.d},null,null,null,null,null,null],execute:function(){var n={class:"p-[20px]"};t("default",l({__name:"setting-proxy",setup:function(t){return r(function(){return C.value},function(){A(C.value)}),o(function(){A(C.value)}),function(t,l){var r=j,o=V,A=h,C=x,B=U,E=T,K=g,N=v,W=w,$=k,q=u("bt-loading");return a(),d("div",n,[i((a(),p($,{ref_key:"proxyFormRef",ref:O,model:c(S),rules:c(R),"label-width":"110px",disabled:c(z)},{default:f(function(){return[m(o,{label:"代理目录",prop:"path"},{default:f(function(){return[m(r,{modelValue:c(S).path,"onUpdate:modelValue":l[0]||(l[0]=function(e){return c(S).path=e}),disabled:"",placeholder:"请输入代理目录",width:"42rem"},null,8,["modelValue"])]}),_:1}),m(o,{label:"目标",prop:"targetType"},{default:f(function(){return[m(C,{class:"!w-[16rem]",modelValue:c(S).targetType,"onUpdate:modelValue":l[1]||(l[1]=function(e){return c(S).targetType=e}),placeholder:"请选择"},{default:f(function(){return[(a(!0),d(s,null,y(c(F),function(e){return a(),p(A,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])}),128))]}),_:1},8,["modelValue"])]}),_:1}),m(o,{label:" ",prop:"proxysite"},{default:f(function(){return[m(r,{modelValue:c(S).proxysite,"onUpdate:modelValue":l[2]||(l[2]=function(e){return c(S).proxysite=e}),placeholder:"http"!==c(S).targetType?"请选择sock文件":"请输入目标URL",width:"42rem",onInput:c(H)},_({_:2},["http"!==c(S).targetType?{name:"append",fn:f(function(){return[m(E,{onClick:c(J)},{default:f(function(){return[m(B,{icon:"el-folder-opened",class:"cursor-pointer"})]}),_:1},8,["onClick"])]}),key:"0"}:void 0]),1032,["modelValue","placeholder","onInput"])]}),_:1}),m(o,{label:"发送域名(host)",prop:"todomain"},{default:f(function(){return[m(r,{modelValue:c(S).todomain,"onUpdate:modelValue":l[3]||(l[3]=function(e){return c(S).todomain=e}),placeholder:"请输入发送域名",width:"42rem"},null,8,["modelValue"])]}),_:1}),m(o,{label:"备注"},{default:f(function(){return[m(r,{modelValue:c(S).ps,"onUpdate:modelValue":l[4]||(l[4]=function(e){return c(S).ps=e}),placeholder:"请输入备注,可为空",width:"42rem"},null,8,["modelValue"])]}),_:1}),m(o,{label:"websocket支持"},{default:f(function(){return[m(N,{disabled:!c(L),effect:"dark",content:"全局websocket已开启,不允许单独关闭",placement:"top"},{default:f(function(){return[m(K,{disabled:c(L),modelValue:c(S).websocket,"onUpdate:modelValue":l[5]||(l[5]=function(e){return c(S).websocket=e})},null,8,["disabled","modelValue"])]}),_:1},8,["disabled"])]}),_:1}),m(o,{label:"连接超时时间",prop:"proxy_connect_timeout"},{default:f(function(){return[m(r,{modelValue:c(S).proxy_connect_timeout,"onUpdate:modelValue":l[6]||(l[6]=function(e){return c(S).proxy_connect_timeout=e}),textType:"秒",width:"41rem"},{append:f(function(){return e(l[9]||(l[9]=[b(" 秒 ",-1)]))}),_:1},8,["modelValue"])]}),_:1}),m(o,{label:"后端请求超时时间",prop:"proxy_send_timeout"},{default:f(function(){return[m(r,{modelValue:c(S).proxy_send_timeout,"onUpdate:modelValue":l[7]||(l[7]=function(e){return c(S).proxy_send_timeout=e}),textType:"秒",width:"41rem"},{append:f(function(){return e(l[10]||(l[10]=[b(" 秒 ",-1)]))}),_:1},8,["modelValue"])]}),_:1}),m(o,{label:"代理响应超时时间",prop:"proxy_read_timeout"},{default:f(function(){return[m(r,{modelValue:c(S).proxy_read_timeout,"onUpdate:modelValue":l[8]||(l[8]=function(e){return c(S).proxy_read_timeout=e}),textType:"秒",width:"41rem"},{append:f(function(){return e(l[11]||(l[11]=[b(" 秒 ",-1)]))}),_:1},8,["modelValue"])]}),_:1}),m(o,{label:" "},{default:f(function(){return[m(W,{type:"primary",onClick:c(M)},{default:f(function(){return e(l[12]||(l[12]=[b("保存",-1)]))}),_:1},8,["onClick"])]}),_:1})]}),_:1},8,["model","rules","disabled"])),[[q,c(I)]])])}}}))}}})}();