You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

1 lines
40 KiB

"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[731],{75385:function(Ae,re,r){r.r(re),r.d(re,{default:function(){return En}});var Y=r(90930),I=r(35312),te=r(15009),u=r.n(te),ue=r(99289),Z=r.n(ue),k=r(5574),E=r.n(k),P=r(48357),z=r(67539),J=r(55241),W=r(10397),C=r(55102),j=r(67294),se=r(97857),w=r.n(se);function ee(y,n){return ne.apply(this,arguments)}function ne(){return ne=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/aliPayConfig",w()({method:"GET",params:w()({},n)},i||{})));case 1:case"end":return a.stop()}},y)})),ne.apply(this,arguments)}function me(y,n,i){return fe.apply(this,arguments)}function fe(){return fe=Z()(u()().mark(function y(n,i,b){return u()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",(0,I.request)("/api/admin/app/aliPayConfig",w()({method:"POST",headers:{"Content-Type":"application/json"},params:w()({},n),data:i},b||{})));case 1:case"end":return A.stop()}},y)})),fe.apply(this,arguments)}function he(y,n){return ve.apply(this,arguments)}function ve(){return ve=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/basicConfig",w()({method:"GET",params:w()({},n)},i||{})));case 1:case"end":return a.stop()}},y)})),ve.apply(this,arguments)}function ge(y,n){return Ce.apply(this,arguments)}function Ce(){return Ce=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/basicConfig",w()({method:"POST",headers:{"Content-Type":"application/json"},data:n},i||{})));case 1:case"end":return a.stop()}},y)})),Ce.apply(this,arguments)}function ye(y,n){return D.apply(this,arguments)}function D(){return D=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/normalConfig",w()({method:"GET",params:w()({},n)},i||{})));case 1:case"end":return a.stop()}},y)})),D.apply(this,arguments)}function s(y,n,i){return m.apply(this,arguments)}function m(){return m=Z()(u()().mark(function y(n,i,b){return u()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",(0,I.request)("/api/admin/app/normalConfig",w()({method:"POST",headers:{"Content-Type":"application/json"},params:w()({},n),data:i},b||{})));case 1:case"end":return A.stop()}},y)})),m.apply(this,arguments)}function o(y,n){return l.apply(this,arguments)}function l(){return l=Z()(u()().mark(function y(n,i){return u()().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",(0,I.request)("/api/admin/app/uMengConfig",w()({method:"GET",params:w()({},n)},i||{})));case 1:case"end":return a.stop()}},y)})),l.apply(this,arguments)}function H(y,n,i){return be.apply(this,arguments)}function be(){return be=Z()(u()().mark(function y(n,i,b){return u()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",(0,I.request)("/api/admin/app/uMengConfig",w()({method:"POST",headers:{"Content-Type":"application/json"},params:w()({},n),data:i},b||{})));case 1:case"end":return A.stop()}},y)})),be.apply(this,arguments)}function we(y,n){return ie.apply(this,arguments)}function ie(){return ie=_asyncToGenerator(_regeneratorRuntime().mark(function y(n,i){return _regeneratorRuntime().wrap(function(a){for(;;)switch(a.prev=a.next){case 0:return a.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"GET",params:_objectSpread({},n)},i||{})));case 1:case"end":return a.stop()}},y)})),ie.apply(this,arguments)}function Ke(y,n,i){return je.apply(this,arguments)}function je(){return je=_asyncToGenerator(_regeneratorRuntime().mark(function y(n,i,b){return _regeneratorRuntime().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",request("/api/admin/app/wxConfig",_objectSpread({method:"POST",headers:{"Content-Type":"application/json"},params:_objectSpread({},n),data:i},b||{})));case 1:case"end":return A.stop()}},y)})),je.apply(this,arguments)}var pe=r(1413),Oe=r(93696),q=r(91146),De=function(n,i){return j.createElement(q.Z,(0,pe.Z)((0,pe.Z)({},n),{},{ref:i,icon:Oe.Z}))},Te=j.forwardRef(De),X=Te,Ie=r(3089),Be=r(42110),Ue=function(n,i){return j.createElement(q.Z,(0,pe.Z)((0,pe.Z)({},n),{},{ref:i,icon:Be.Z}))},Me=j.forwardRef(Ue),$e=Me,t=r(8232),Ze=r(17788),_e=r(72269),oe=r(37804),ce=r(83062),ke=r(71230),ae=r(14726),Re=r(15746),e=r(85893),Qe=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=function(){a.submit()},R=function(){n.onCancel()},V=function(){var d=Z()(u()().mark(function x(c){var h;return u()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,ye({appCode:c});case 2:h=O.sent,a.setFieldsValue(h.data);case 4:case"end":return O.stop()}},x)}));return function(c){return d.apply(this,arguments)}}();(0,j.useEffect)(function(){V(n.appCode)},[n.appCode]);var L=function(){var d=Z()(u()().mark(function x(c){return u()().wrap(function(F){for(;;)switch(F.prev=F.next){case 0:return F.prev=0,F.next=3,s({appCode:n.appCode},c);case 3:F.next=8;break;case 5:return F.prev=5,F.t0=F.catch(0),F.abrupt("return");case 8:n.onSubmit();case 9:case"end":return F.stop()}},x,null,[[0,5]])}));return function(c){return d.apply(this,arguments)}}(),T={labelCol:{xs:{span:24},sm:{span:6}},wrapperCol:{xs:{span:24},sm:{span:20}}},f={wrapperCol:{xs:{span:24,offset:10},sm:{span:20,offset:6}}};return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:A,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:6},wrapperCol:{span:18},form:a,onFinish:L,children:[(0,e.jsx)(t.Z.Item,{name:"enablePangolin",label:"\u542F\u7528\u7A7F\u5C71\u7532",children:(0,e.jsx)(_e.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"pangolinDailyLimit",label:"\u7A7F\u5C71\u7532\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(oe.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"tencentDailyLimit",label:"\u5E7F\u544A\u6BCF\u65E5\u6B21\u6570",children:(0,e.jsx)(oe.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"videoDuration",label:"\u89C6\u9891\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(oe.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"popUpDuration",label:"\u63D2\u9875\u5E7F\u544A\u95F4\u9694(\u79D2)",children:(0,e.jsx)(oe.Z,{})}),(0,e.jsx)(t.Z.List,{name:"moneyLadder",children:function(x,c){var h=c.add,F=c.remove;return(0,e.jsx)(e.Fragment,{children:(0,e.jsxs)(t.Z.Item,{label:(0,e.jsxs)(e.Fragment,{children:["\u63D0\u73B0\u68AF\u5EA6",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ce.Z,{title:"\u7528\u6237\u53EF\u9009\u7684\u63D0\u73B0\u91D1\u989D\u6863\u4F4D\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(X,{})})})]}),required:!1,children:[(0,e.jsx)(ke.Z,{children:x.map(function(O){return(0,e.jsx)(t.Z.Item,{label:"",required:!1,children:(0,e.jsxs)(ke.Z,{align:"stretch",style:{marginRight:10},children:[(0,e.jsx)(t.Z.Item,w()(w()({},O),{},{validateTrigger:["onChange","onBlur"],rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u91D1\u989D\u6216\u8005\u5220\u9664"}],noStyle:!0,children:(0,e.jsx)(oe.Z,{placeholder:"\u91D1\u989D\uFF0C\u5355\u4F4D\u5206"})})),(0,e.jsx)(Ie.Z,{style:{marginLeft:4},className:"dynamic-delete-button",onClick:function(){return F(O.name)}})]})},O.key)})}),(0,e.jsx)(t.Z.Item,w()(w()({},f),{},{children:(0,e.jsx)(ae.ZP,{type:"dashed",onClick:function(){return h()},icon:(0,e.jsx)($e,{}),children:"\u6DFB\u52A0\u63D0\u73B0\u68AF\u5EA6"})}))]})})}}),(0,e.jsx)(t.Z.Item,{name:"noAuditMoney",label:(0,e.jsxs)(e.Fragment,{children:["\u4E0D\u5BA1\u6838\u95E8\u69DB",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ce.Z,{title:"\u4F4E\u4E8E\u6B64\u91D1\u989D\u7684\u63D0\u73B0\u7533\u8BF7\u5C06\u4F1A\u81EA\u52A8\u5BA1\u6838\u901A\u8FC7\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsx)(oe.Z,{placeholder:"\u5355\u4F4D\u5206",style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"qqUrl",label:"QQ\u7FA4\u94FE\u63A5",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"dayLimit",label:(0,e.jsxs)(e.Fragment,{children:["\u6BCF\u65E5\u63D0\u73B0\u6B21\u6570",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ce.Z,{title:"\u540C\u4E2A\u8D26\u53F7\u6216\u540C\u4E2A\u652F\u4ED8\u5B9D\u6BCF\u65E5\u6700\u591A\u63D0\u73B0\u7684\u6B21\u6570",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsx)(oe.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"maxIncomeEachVideo",label:(0,e.jsxs)(e.Fragment,{children:["\u5355\u6761\u6536\u76CA\u4E0A\u9650",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ce.Z,{title:"\u770B\u4E00\u6761\u89C6\u9891\u6700\u591A\u80FD\u83B7\u5F97\u7684\u94B1\uFF0C\u5355\u4F4D\u5206",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsx)(oe.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.Item,{name:"defaultRate",label:(0,e.jsx)(e.Fragment,{children:"\u9ED8\u8BA4\u5206\u6210\u6BD4\u4F8B"}),children:(0,e.jsx)(oe.Z,{style:{width:"60%"}})}),(0,e.jsx)(t.Z.List,{name:"dayRates",children:function(x,c){var h=c.add,F=c.remove;return(0,e.jsxs)(e.Fragment,{children:[x.map(function(O,$){var U=O.key,M=O.name;return(0,e.jsx)(e.Fragment,{children:(0,j.createElement)(t.Z.Item,w()(w()({},$===0?T:f),{},{label:$===0?"\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B":"",required:!1,key:U}),(0,e.jsxs)(ke.Z,{align:"stretch",gutter:16,children:[(0,e.jsx)(Re.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[M,"day"],rules:[{required:!0}],children:(0,e.jsx)(C.Z,{placeholder:"Day"})})}),(0,e.jsx)(Re.Z,{span:8,children:(0,e.jsx)(t.Z.Item,{name:[M,"rate"],rules:[{required:!0}],children:(0,e.jsx)(C.Z,{placeholder:"Rate"})})}),(0,e.jsx)(Re.Z,{children:(0,e.jsx)(Ie.Z,{onClick:function(){return F(M)}})})]},U))})}),(0,e.jsx)(t.Z.Item,w()(w()({},f),{},{children:(0,e.jsx)(ae.ZP,{type:"dashed",onClick:function(){return h()},block:!0,children:"\u6DFB\u52A0\u7279\u6B8A\u65E5\u5206\u6210\u6BD4\u4F8B"})}))]})}})]})})},Je=Qe,Ye=function(){var n=(0,j.useState)(!1),i=E()(n,2),b=i[0],a=i[1],A=(0,j.useState)([]),R=E()(A,2),V=R[0],L=R[1],T=(0,j.useState)([]),f=E()(T,2),d=f[0],x=f[1],c=(0,I.useModel)("@@initialState"),h=c.initialState,F=h==null?void 0:h.currentUser,O=F&&F.role&&F.role<=3,$=(0,j.useState)(),U=E()($,2),M=U[0],G=U[1],g=function(_){var B=V.filter(function(v){var S;return v==null||(S=v.name)===null||S===void 0?void 0:S.includes(_)});x(B)},N=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(_){return(0,e.jsx)("img",{style:{width:"40px"},src:_})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,renderText:function(_){return(0,e.jsx)(J.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(W.Z,{value:_||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:_})})}},{title:"\u64CD\u4F5C",width:80,hideInSearch:!0,renderText:function(_){if(_.enableCash&&O)return(0,e.jsx)("a",{onClick:function(){G(_.code),a(!0)},children:"\u7F16\u8F91"},"edit")}}],K=function(){var p=Z()(u()().mark(function _(){var B;return u()().wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return S.next=2,(0,P.ln)();case 2:B=S.sent,B.data&&(L(B.data),x(B.data));case 4:case"end":return S.stop()}},_)}));return function(){return p.apply(this,arguments)}}();return(0,j.useEffect)(function(){K()},[]),(0,e.jsxs)(Y._z,{children:[(0,e.jsx)(z.Z,{search:{defaultCollapsed:!1,optionRender:function(){return[(0,e.jsx)(C.Z,{placeholder:"\u8BF7\u8F93\u5165\u5E94\u7528\u540D",onChange:function(B){return g(B.target.value)}},"name")]}},onReset:function(){x(V)},columns:N,dataSource:d}),M&&(0,e.jsx)(Je,{updateModalOpen:b,appCode:M||"",onCancel:function(){return a(!1)},onSubmit:function(){a(!1)}})]})},qe=Ye,Le=r(52043),en=r(40110),nn=r(42075),xe=r(66309),an=r(86250),rn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},tn=rn,un=function(n,i){return j.createElement(q.Z,(0,pe.Z)((0,pe.Z)({},n),{},{ref:i,icon:tn}))},sn=j.forwardRef(un),Fe=sn,Se=r(66476),Pe=C.Z.TextArea,ln=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=function(){a.submit()},R=function(){n.onCancel()},V=function(){var T=Z()(u()().mark(function f(d){var x;return u()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,ee({appCode:d});case 2:x=h.sent,a.setFieldsValue(x.data);case 4:case"end":return h.stop()}},f)}));return function(d){return T.apply(this,arguments)}}();(0,j.useEffect)(function(){V(n.appCode)},[n.appCode]);var L=function(){var T=Z()(u()().mark(function f(d){return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,me({appCode:n.appCode},d);case 3:c.next=8;break;case 5:return c.prev=5,c.t0=c.catch(0),c.abrupt("return");case 8:n.onSubmit();case 9:case"end":return c.stop()}},f,null,[[0,5]])}));return function(d){return T.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:A,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:18},form:a,onFinish:L,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppId",label:(0,e.jsxs)(e.Fragment,{children:["AppId",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ce.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u83B7\u53D6\uFF0Chttps://open.alipay.com/develop/manage",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPrivateKey",label:(0,e.jsxs)(e.Fragment,{children:["\u5E94\u7528\u79C1\u94A5RSA2048",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ce.Z,{title:"\u5BC6\u94A5\u5DE5\u5177\u751F\u6210",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsxs)(C.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayPrivateKey",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9\u5E94\u7528\u79C1\u94A5!"}],children:(0,e.jsx)(Pe,{autoSize:{maxRows:6}})}),(0,e.jsx)(Se.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var d=new FileReader;d.onload=function(){a.setFieldsValue({aliPayPrivateKey:d.result})},d.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",label:(0,e.jsxs)(e.Fragment,{children:["appCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ce.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsxs)(C.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayAppCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9appCertPublicKey!"}],children:(0,e.jsx)(Pe,{autoSize:{maxRows:6}})}),(0,e.jsx)(Se.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var d=new FileReader;d.onload=function(){a.setFieldsValue({aliPayAppCert:d.result})},d.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayRootCert",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ce.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsxs)(C.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayRootCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayRootCert!"}],children:(0,e.jsx)(Pe,{autoSize:{maxRows:6}})}),(0,e.jsx)(Se.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var d=new FileReader;d.onload=function(){a.setFieldsValue({aliPayRootCert:d.result})},d.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})}),(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",label:(0,e.jsxs)(e.Fragment,{children:["alipayCertPublicKey",(0,e.jsx)("span",{style:{marginLeft:4},children:(0,e.jsx)(ce.Z,{title:"\u652F\u4ED8\u5B9D\u5F00\u653E\u5E73\u53F0\u4E0B\u8F7D",children:(0,e.jsx)(X,{})})})]}),children:(0,e.jsxs)(C.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"aliPayPublicCert",noStyle:!0,rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6216\u9009\u62E9alipayCertPublicKey!"}],children:(0,e.jsx)(Pe,{autoSize:{maxRows:6}})}),(0,e.jsx)(Se.Z,{name:"file",multiple:!1,onChange:function(f){if(f.file.status!=="uploading"){var d=new FileReader;d.onload=function(){a.setFieldsValue({aliPayPublicCert:d.result})},d.readAsText(f.file.originFileObj)}},showUploadList:!1,style:{width:"100px"},children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})]})})]})})},on=ln,de=r(2453),cn=r(4575),dn=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=function(){a.submit()},R=function(){n.onCancel()},V=function(){var L=Z()(u()().mark(function T(f){return u()().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:return x.prev=0,x.next=3,(0,cn.re)(w()(w()({},f),{},{appCode:n.appCode}));case 3:x.next=8;break;case 5:return x.prev=5,x.t0=x.catch(0),x.abrupt("return");case 8:de.ZP.success("\u8F6C\u8D26\u6210\u529F\uFF0C\u8BF7\u67E5\u770B\u652F\u4ED8\u5B9D\u8D26\u6237\u662F\u5426\u5230\u8D26"),n.onSubmit();case 10:case"end":return x.stop()}},T,null,[[0,5]])}));return function(f){return L.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:!0,onOk:A,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:4},wrapperCol:{span:18},form:a,onFinish:V,children:[(0,e.jsx)(t.Z.Item,{name:"name",label:"\u59D3\u540D",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"aliAccount",label:"\u652F\u4ED8\u5B9D\u8D26\u53F7",children:(0,e.jsx)(C.Z,{})})]})})},pn=dn,Ge=r(34041),We=r(32400),mn=r(56448),Ne=r.n(mn),fn=function(n){var i=n.onUploadSuccess,b=n.onUploadError,a=n.url,A=(0,j.useState)(!1),R=E()(A,2),V=R[0],L=R[1],T=(0,j.useState)(null),f=E()(T,2),d=f[0],x=f[1],c=(0,j.useState)([]),h=E()(c,2),F=h[0],O=h[1];(0,j.useEffect)(function(){function U(){return M.apply(this,arguments)}function M(){return M=Z()(u()().mark(function G(){var g,N;return u()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.next=3,(0,P.po)();case 3:if(g=p.sent,!(!g.data||!g.data.accessKeySecret||!g.data.accessKeyId)){p.next=7;break}return de.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),p.abrupt("return");case 7:N=new(Ne())({region:"oss-cn-beijing",accessKeyId:g.data.accessKeyId,accessKeySecret:g.data.accessKeySecret,stsToken:g.data.securityToken,bucket:g.data.bucket}),x(N),p.next=15;break;case 11:p.prev=11,p.t0=p.catch(0),de.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25"),b&&b(p.t0);case 15:case"end":return p.stop()}},G,null,[[0,11]])})),M.apply(this,arguments)}U()},[b]);var $=function(){var U=Z()(u()().mark(function M(G){var g,N,K,p,_;return u()().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(g=G.file,!(g instanceof File)){v.next=31;break}if(L(!0),O([{uid:g.uid,name:g.name,status:"uploading"}]),v.prev=4,N=g.name.split(".").pop(),a){v.next=13;break}return v.next=9,(0,We.p)(g);case 9:p=v.sent,K="matrix/".concat(p,".").concat(N),v.next=14;break;case 13:K="matrix/".concat(a,".").concat(N);case 14:return v.next=16,d==null?void 0:d.put(K,g,{headers:{"Content-Type":g.type}});case 16:_="https://apks.bzgames.cn/".concat(K),i&&i(_,g),L(!1),O([{uid:g.uid,name:g.name,status:"done",url:_}]),v.next=26;break;case 22:v.prev=22,v.t0=v.catch(4),de.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25"),b&&b(v.t0);case 26:return v.prev=26,L(!1),v.finish(26);case 29:v.next=32;break;case 31:de.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 32:case"end":return v.stop()}},M,null,[[4,22,26,29]])}));return function(G){return U.apply(this,arguments)}}();return(0,e.jsx)(Se.Z,{fileList:F,customRequest:$,disabled:V||!d,children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},ze=fn,hn=r(19632),vn=r.n(hn),gn=function(n){var i=n.value,b=n.onChange,a=(0,j.useState)(!1),A=E()(a,2),R=A[0],V=A[1],L=(0,j.useState)(null),T=E()(L,2),f=T[0],d=T[1],x=(0,j.useState)([]),c=E()(x,2),h=c[0],F=c[1];(0,j.useEffect)(function(){i&&F(i)},[i]),(0,j.useEffect)(function(){function U(){return M.apply(this,arguments)}function M(){return M=Z()(u()().mark(function G(){var g,N;return u()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.prev=0,p.next=3,(0,P.po)();case 3:if(g=p.sent,!(!g.data||!g.data.accessKeySecret||!g.data.accessKeyId)){p.next=7;break}return de.ZP.error("\u521D\u59CB\u5316\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"),p.abrupt("return");case 7:N=new(Ne())({region:"oss-cn-beijing",accessKeyId:g.data.accessKeyId,accessKeySecret:g.data.accessKeySecret,stsToken:g.data.securityToken,bucket:g.data.bucket}),d(N),p.next=14;break;case 11:p.prev=11,p.t0=p.catch(0),de.ZP.error("\u521D\u59CB\u5316 OSS \u5BA2\u6237\u7AEF\u5931\u8D25");case 14:case"end":return p.stop()}},G,null,[[0,11]])})),M.apply(this,arguments)}U()},[]),(0,j.useEffect)(function(){b&&b(h)},[h]);var O=function(){var U=Z()(u()().mark(function M(G){var g,N,K,p;return u()().wrap(function(B){for(;;)switch(B.prev=B.next){case 0:if(g=G.file,!(g instanceof File)){B.next=23;break}return V(!0),B.prev=3,B.next=6,(0,We.p)(g);case 6:return N=B.sent,K="matrix/".concat(N,".").concat(g.name.split(".").pop()),B.next=10,f==null?void 0:f.put(K,g,{headers:{"Content-Type":g.type}});case 10:p="https://apks.bzgames.cn/".concat(K),V(!1),F(function(v){return[].concat(vn()(v),[{uid:g.uid,name:g.name,status:"done",url:p}])}),B.next=18;break;case 15:B.prev=15,B.t0=B.catch(3),de.ZP.error("\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25");case 18:return B.prev=18,V(!1),B.finish(18);case 21:B.next=24;break;case 23:de.ZP.error("\u4E0A\u4F20\u6587\u4EF6\u7C7B\u578B\u9519\u8BEF");case 24:case"end":return B.stop()}},M,null,[[3,15,18,21]])}));return function(G){return U.apply(this,arguments)}}(),$=function(M){var G=(h||[]).filter(function(g){return g.url!==M.url});F(G)};return(0,e.jsx)(Se.Z,{multiple:!0,fileList:h,onRemove:$,customRequest:O,disabled:R||!f,children:(0,e.jsx)(ae.ZP,{style:{marginTop:10},type:"primary",icon:(0,e.jsx)(Fe,{}),children:"\u9009\u62E9\u6587\u4EF6"})})},Cn=gn,jn=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=(0,j.useState)(!1),R=E()(A,2),V=R[0],L=R[1],T=function(){a.submit()},f=function(){n.onCancel()},d=function(){var c=Z()(u()().mark(function h(F){var O;return u()().wrap(function(U){for(;;)switch(U.prev=U.next){case 0:if(F){U.next=3;break}return a.resetFields(),U.abrupt("return");case 3:return U.next=5,he({appCode:F});case 5:O=U.sent,a.setFieldsValue(O.data);case 7:case"end":return U.stop()}},h)}));return function(F){return c.apply(this,arguments)}}();(0,j.useEffect)(function(){d(n.appCode),L(n.appCode!==void 0),n.appCode||a.resetFields()},[n.appCode]);var x=function(){var c=Z()(u()().mark(function h(F){return u()().wrap(function($){for(;;)switch($.prev=$.next){case 0:return $.prev=0,$.next=3,ge(F);case 3:$.next=8;break;case 5:return $.prev=5,$.t0=$.catch(0),$.abrupt("return");case 8:n.onSubmit();case 9:case"end":return $.stop()}},h,null,[[0,5]])}));return function(F){return c.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:T,onCancel:f,children:(0,e.jsxs)(t.Z,{labelCol:{span:5},wrapperCol:{span:18},form:a,onFinish:x,children:[(0,e.jsx)(t.Z.Item,{name:"id",style:{display:"none"},children:(0,e.jsx)(C.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{name:"code",style:{display:"none"},children:(0,e.jsx)(C.Z,{type:"hidden"})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528\u540D",name:"name",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u5E94\u7528icon",name:"img",children:(0,e.jsxs)(C.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"img",noStyle:!0,children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(ze,{onUploadSuccess:function(h){a.setFieldsValue({img:h})}})]})}),(0,e.jsx)(t.Z.Item,{label:"\u4E0B\u8F7D\u5730\u5740",name:"url",children:(0,e.jsxs)(C.Z.Group,{compact:!0,children:[(0,e.jsx)(t.Z.Item,{name:"url",noStyle:!0,children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(ze,{url:n.appCode,onUploadSuccess:function(h,F){a.setFieldsValue({url:h,fileSize:(0,Le.aV)(F.size)})}})]})}),(0,e.jsx)(t.Z.Item,{label:"app\u7248\u672C",name:"version",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"\u83DC\u5355\u680F\u4E2D",name:"hide",children:(0,e.jsx)(Ge.Z,{options:[{label:"\u5C55\u793A",value:0},{label:"\u9690\u85CF",value:1}]})}),(0,e.jsx)(t.Z.Item,{label:"\u6E20\u9053",name:"channel",children:(0,e.jsx)(Ge.Z,{disabled:V,options:(0,Le.FG)()})}),(0,e.jsx)(t.Z.Item,{label:"app\u5927\u5C0F",name:"fileSize",children:(0,e.jsx)(C.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"app\u4E0B\u8F7D\u6B21\u6570",name:"downloadTimes",children:(0,e.jsx)(C.Z,{disabled:!0})}),(0,e.jsx)(t.Z.Item,{label:"\u6240\u5C5E\u516C\u53F8",name:"author",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u5305\u540D",name:"packageName",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{label:"app\u7B80\u4ECB",name:"desc",children:(0,e.jsx)(C.Z.TextArea,{})}),(0,e.jsxs)(t.Z.Item,{label:"\u5E94\u7528\u622A\u56FE",name:"images",children:[(0,e.jsx)(Cn,{value:[],onChange:function(h){var F=h.filter(function(O){return O.url}).map(function(O){return O.url}).filter(Boolean);F&&F.length>0&&a.setFieldsValue({images:F})}}),(0,e.jsx)("label",{style:{color:"gray"},children:"\u53EF\u591A\u9009\uFF0C\u4E0D\u4F20\u9ED8\u8BA4\u4F1A\u4F7F\u7528\u4E4B\u524D\u7684\u65E7\u6570\u636E"})]})]})})},yn=jn,xn=function(n){var i=t.Z.useForm(),b=E()(i,1),a=b[0],A=function(){a.submit()},R=function(){n.onCancel()},V=function(){var T=Z()(u()().mark(function f(d){var x;return u()().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,o({appCode:d});case 2:x=h.sent,a.setFieldsValue(x.data);case 4:case"end":return h.stop()}},f)}));return function(d){return T.apply(this,arguments)}}();(0,j.useEffect)(function(){V(n.appCode)},[n.appCode]);var L=function(){var T=Z()(u()().mark(function f(d){return u()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:return c.prev=0,c.next=3,H({appCode:n.appCode},d);case 3:c.next=8;break;case 5:return c.prev=5,c.t0=c.catch(0),c.abrupt("return");case 8:n.onSubmit();case 9:case"end":return c.stop()}},f,null,[[0,5]])}));return function(d){return T.apply(this,arguments)}}();return(0,e.jsx)(Ze.Z,{title:"\u7F16\u8F91",visible:n.updateModalOpen,onOk:A,onCancel:R,children:(0,e.jsxs)(t.Z,{labelCol:{span:8},wrapperCol:{span:16},form:a,onFinish:L,children:[(0,e.jsx)(t.Z.Item,{name:"umengAppKeyAli",label:"AppKey(\u963F\u91CC\u4E91)",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppSecret",label:"AppSecret(\u963F\u91CC\u4E91)",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppCode",label:"AppCode(\u963F\u91CC\u4E91)",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"umengAppKey",label:"AppKey(\u53CB\u76DF)",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"linkId",label:"linkId(\u53CB\u76DF)",children:(0,e.jsx)(C.Z,{})}),(0,e.jsx)(t.Z.Item,{name:"bindWx",label:"\u7ED1\u5B9A\u5FAE\u4FE1\u8D26\u53F7",children:(0,e.jsx)(_e.Z,{})})]})})},Fn=xn,Sn=function(){var n=(0,j.useState)(!1),i=E()(n,2),b=i[0],a=i[1],A=(0,j.useState)([]),R=E()(A,2),V=R[0],L=R[1],T=(0,j.useState)(!1),f=E()(T,2),d=f[0],x=f[1],c=(0,j.useState)(!1),h=E()(c,2),F=h[0],O=h[1],$=(0,j.useState)(!1),U=E()($,2),M=U[0],G=U[1],g=(0,j.useState)(),N=E()(g,2),K=N[0],p=N[1],_=[{title:"\u5E94\u7528\u540D",dataIndex:"name",copyable:!0,hideInSearch:!0,fixed:"left",filterDropdown:function(S){var Q=S.setSelectedKeys,Ee=S.selectedKeys,le=S.confirm,He=S.clearFilters;return(0,e.jsxs)("div",{style:{padding:8},children:[(0,e.jsx)(C.Z,{placeholder:"\u641C\u7D22\u5E94\u7528",value:Ee[0],onChange:function(Xe){return Q(Xe.target.value?[Xe.target.value]:[])},onPressEnter:function(){return le()},style:{marginBottom:8,display:"block"}}),(0,e.jsxs)(nn.Z,{children:[(0,e.jsx)(ae.ZP,{onClick:function(){return le()},type:"primary",children:"\u641C\u7D22"}),(0,e.jsx)(ae.ZP,{onClick:function(){return He&&He()},type:"link",children:"\u6E05\u9664"})]})]})},onFilter:function(S,Q){return typeof S=="string"&&typeof(Q==null?void 0:Q.name)=="string"?Q.name.includes(S):!1},filterIcon:function(S){return(0,e.jsx)(en.Z,{style:{color:S?"#1890ff":void 0},onPointerOverCapture:void 0,onPointerMoveCapture:void 0})}},{title:"\u56FE\u7247",dataIndex:"img",hideInSearch:!0,renderText:function(S){return(0,e.jsx)("img",{style:{width:"40px"},src:S})}},{title:"code",dataIndex:"code",copyable:!0,hideInSearch:!0},{title:"\u5E94\u7528\u5E02\u573A",dataIndex:"code",copyable:!0,width:200,hideInSearch:!0,renderText:function(S){return"https://pomelo.bzgames.cn/market/"+S}},{title:"\u4E0B\u8F7D\u5730\u5740",dataIndex:"url",width:200,hideInSearch:!0,copyable:!0},{title:"\u4E0B\u8F7D\u4E8C\u7EF4\u7801",dataIndex:"url",hideInSearch:!0,renderText:function(S){return S?(0,e.jsx)(J.Z,{overlayInnerStyle:{padding:0},content:(0,e.jsx)(W.Z,{value:S||"",bordered:!1}),children:(0,e.jsx)("a",{style:{wordBreak:"break-word"},children:"\u67E5\u770B"})}):""}},{title:"secret",dataIndex:"secret",ellipsis:!0,copyable:!0,hideInSearch:!0},{title:"\u83DC\u5355\u680F\u4E2D",dataIndex:"hide",hideInSearch:!0,renderText:function(S){return S===0?(0,e.jsx)(xe.Z,{color:"blue",children:"\u5C55\u793A"}):(0,e.jsx)(xe.Z,{color:"purple",children:"\u9690\u85CF"})}},{title:"\u6E20\u9053",dataIndex:"channel",hideInSearch:!0,renderText:function(S){var Q=(0,Le.FG)(),Ee=Q.find(function(le){return le.value===S});return Ee?Ee.label:S}},{title:"\u64CD\u4F5C",width:100,hideInSearch:!0,fixed:"right",renderText:function(S){return(0,e.jsxs)(an.Z,{gap:"small",wrap:!0,children:[(0,e.jsx)(xe.Z,{color:"magenta",onClick:function(){p(S.code),a(!0)},children:"\u7F16\u8F91"},"edit"),S.enableCash&&(0,e.jsx)(xe.Z,{color:"orange",onClick:function(){p(S.code),O(!0)},children:"\u53CB\u76DF\u914D\u7F6E"},"ediyUMeng"),(0,e.jsx)(xe.Z,{color:"#2db7f5",onClick:function(){p(S.code),x(!0)},children:"\u652F\u4ED8\u5B9D\u914D\u7F6E"},"ediyAliPay"),S.enableCash&&(0,e.jsx)(xe.Z,{color:"cyan",onClick:function(){p(S.code),G(!0)},children:"\u8F6C\u8D26"},"ediyTransfer")]})}}],B=function(){var v=Z()(u()().mark(function S(){var Q;return u()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:return le.next=2,(0,P.ln)();case 2:Q=le.sent,Q.data&&L(Q.data);case 4:case"end":return le.stop()}},S)}));return function(){return v.apply(this,arguments)}}();return(0,j.useEffect)(function(){B()},[]),(0,e.jsxs)(Y._z,{children:[(0,e.jsx)(ae.ZP,{style:{marginBottom:"20px"},onClick:function(){a(!0),p(void 0)},children:"\u65B0\u5EFA\u5E94\u7528"}),(0,e.jsx)(z.Z,{scroll:{x:1200},search:!1,columns:_,dataSource:V}),K&&d&&(0,e.jsx)(on,{updateModalOpen:d,appCode:K||"",onCancel:function(){return x(!1)},onSubmit:function(){x(!1),B()}}),K&&F&&(0,e.jsx)(Fn,{updateModalOpen:F,appCode:K||"",onCancel:function(){return O(!1)},onSubmit:function(){O(!1)}}),(0,e.jsx)(yn,{updateModalOpen:b,appCode:K,onCancel:function(){return a(!1)},onSubmit:function(){a(!1),B()}}),K&&M&&(0,e.jsx)(pn,{appCode:K||"",onCancel:function(){return G(!1)},onSubmit:function(){G(!1)}})]})},bn=Sn,Zn=function(){var n=(0,I.useModel)("@@initialState"),i=n.initialState,b=i==null?void 0:i.currentUser,a=b&&b.role&&b.role<2;return(0,e.jsx)(Y._z,{children:a?(0,e.jsx)(bn,{}):(0,e.jsx)(qe,{})})},En=Zn},4575:function(Ae,re,r){r.d(re,{Rn:function(){return E},SN:function(){return w},XM:function(){return j},ai:function(){return z},k_:function(){return W},nN:function(){return fe},nr:function(){return Ce},re:function(){return ve},vE:function(){return ne}});var Y=r(15009),I=r.n(Y),te=r(97857),u=r.n(te),ue=r(99289),Z=r.n(ue),k=r(35312);function E(D,s){return P.apply(this,arguments)}function P(){return P=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/addSchedule",u()({method:"POST",headers:{"Content-Type":"application/json"},data:s},m||{})));case 1:case"end":return l.stop()}},D)})),P.apply(this,arguments)}function z(D){return J.apply(this,arguments)}function J(){return J=Z()(I()().mark(function D(s){return I()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,k.request)("/api/admin/superAdmin/evilAppList",u()({method:"GET"},s||{})));case 1:case"end":return o.stop()}},D)})),J.apply(this,arguments)}function W(D){return C.apply(this,arguments)}function C(){return C=Z()(I()().mark(function D(s){return I()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,k.request)("/api/admin/superAdmin/innerUserList",u()({method:"GET"},s||{})));case 1:case"end":return o.stop()}},D)})),C.apply(this,arguments)}function j(D,s){return se.apply(this,arguments)}function se(){return se=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/saveEvilApp",u()({method:"POST",headers:{"Content-Type":"application/json"},data:s},m||{})));case 1:case"end":return l.stop()}},D)})),se.apply(this,arguments)}function w(D,s){return ee.apply(this,arguments)}function ee(){return ee=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/saveInnerUser",u()({method:"POST",params:u()({},s)},m||{})));case 1:case"end":return l.stop()}},D)})),ee.apply(this,arguments)}function ne(D,s){return me.apply(this,arguments)}function me(){return me=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/saveWhiteUser",u()({method:"POST",params:u()({},s)},m||{})));case 1:case"end":return l.stop()}},D)})),me.apply(this,arguments)}function fe(D){return he.apply(this,arguments)}function he(){return he=Z()(I()().mark(function D(s){return I()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,k.request)("/api/admin/superAdmin/scheduleList",u()({method:"GET"},s||{})));case 1:case"end":return o.stop()}},D)})),he.apply(this,arguments)}function ve(D,s){return ge.apply(this,arguments)}function ge(){return ge=Z()(I()().mark(function D(s,m){return I()().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.abrupt("return",(0,k.request)("/api/admin/superAdmin/transfer",u()({method:"POST",params:u()({},s)},m||{})));case 1:case"end":return l.stop()}},D)})),ge.apply(this,arguments)}function Ce(D){return ye.apply(this,arguments)}function ye(){return ye=Z()(I()().mark(function D(s){return I()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.abrupt("return",(0,k.request)("/api/admin/superAdmin/whiteUserList",u()({method:"GET"},s||{})));case 1:case"end":return o.stop()}},D)})),ye.apply(this,arguments)}},52043:function(Ae,re,r){r.d(re,{E7:function(){return I},FG:function(){return Y},RQ:function(){return ue},XY:function(){return te},aV:function(){return Z},m0:function(){return u}});var Y=function(){return[{label:"\u51E1\u7C73\u6E38",value:"fanmiyou"},{label:"\u5947\u8FF9",value:"qiji"},{label:"\u5229\u597D",value:"lihao"},{label:"\u4F73\u7476",value:"jiayao"}]},I=function(E){var P=[];if(!E)return P;for(var z=E>>1,J=["\u7528\u6237\u6253\u5F00\u4E86USB\u8C03\u8BD5\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u5F00\u53D1\u8005\u6A21\u5F0F","\u7528\u6237\u6253\u5F00\u4E86\u65E0\u969C\u788D\u6A21\u5F0F","\u7528\u6237\u624B\u673A\u5DF2\u7ECFRoot","\u7528\u6237\u5B89\u88C5\u4E86Xpose","\u7528\u6237\u5F00\u542F\u4E86VPN","\u7528\u6237\u5F00\u542F\u4EE3\u7406","\u652F\u4ED8\u5B9D\u672A\u5B89\u88C5","\u5FAE\u4FE1\u672A\u5B89\u88C5"],W=0,C=J;W<C.length;W++){var j=C[W];z&1&&P.push(j),z>>=1}return P},te=function(){return[{label:"\u5F85\u5BA1\u6279",value:"0",color:"orange"},{label:"\u5BA1\u6279\u901A\u8FC7",value:"1",color:"green"},{label:"\u8F6C\u8D26\u4E2D",value:"2",color:"orange"},{label:"\u8F6C\u8D26\u6210\u529F",value:"3",color:"green"},{label:"\u8F6C\u8D26\u5931\u8D25",value:"-1",color:"red"},{label:"\u5BA1\u6279\u62D2\u7EDD",value:"-2",color:"red"}]},u=function(E){var P=new Date(E),z=P.getFullYear().toString().padStart(4,"0"),J=(P.getMonth()+1).toString().padStart(2,"0"),W=P.getDate().toString().padStart(2,"0");return z+J+W},ue=function(E,P){var z=E.toString();return z.padStart(P,"0")},Z=function(E){var P=E;return P<1024?P+" B":(P=parseFloat((P/1024).toFixed(2)),P<1024?P+" KB":(P=parseFloat((P/1024).toFixed(2)),P+" MB"))}},32400:function(Ae,re,r){r.d(re,{p:function(){return k}});var Y=r(15009),I=r.n(Y),te=r(99289),u=r.n(te),ue=r(8322),Z=r.n(ue);function k(P){return E.apply(this,arguments)}function E(){return E=u()(I()().mark(function P(z){return I()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return W.abrupt("return",new Promise(function(C,j){var se=new(Z()).ArrayBuffer,w=new FileReader;w.onload=function(ee){var ne;se.append((ne=ee.target)===null||ne===void 0?void 0:ne.result),C(se.end())},w.onerror=function(ee){j(ee)},w.readAsArrayBuffer(z)}));case 1:case"end":return W.stop()}},P)})),E.apply(this,arguments)}},86250:function(Ae,re,r){r.d(re,{Z:function(){return D}});var Y=r(67294),I=r(93967),te=r.n(I),u=r(98423),ue=r(98065),Z=r(53124),k=r(91945),E=r(45503);const P=["wrap","nowrap","wrap-reverse"],z=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],J=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],W=(s,m)=>{const o=m.wrap===!0?"wrap":m.wrap;return{[`${s}-wrap-${o}`]:o&&P.includes(o)}},C=(s,m)=>{const o={};return J.forEach(l=>{o[`${s}-align-${l}`]=m.align===l}),o[`${s}-align-stretch`]=!m.align&&!!m.vertical,o},j=(s,m)=>{const o={};return z.forEach(l=>{o[`${s}-justify-${l}`]=m.justify===l}),o};function se(s,m){return te()(Object.assign(Object.assign(Object.assign({},W(s,m)),C(s,m)),j(s,m)))}var w=se;const ee=s=>{const{componentCls:m}=s;return{[m]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},ne=s=>{const{componentCls:m}=s;return{[m]:{"&-gap-small":{gap:s.flexGapSM},"&-gap-middle":{gap:s.flexGap},"&-gap-large":{gap:s.flexGapLG}}}},me=s=>{const{componentCls:m}=s,o={};return P.forEach(l=>{o[`${m}-wrap-${l}`]={flexWrap:l}}),o},fe=s=>{const{componentCls:m}=s,o={};return J.forEach(l=>{o[`${m}-align-${l}`]={alignItems:l}}),o},he=s=>{const{componentCls:m}=s,o={};return z.forEach(l=>{o[`${m}-justify-${l}`]={justifyContent:l}}),o},ve=()=>({});var ge=(0,k.I$)("Flex",s=>{const{paddingXS:m,padding:o,paddingLG:l}=s,H=(0,E.TS)(s,{flexGapSM:m,flexGap:o,flexGapLG:l});return[ee(H),ne(H),me(H),fe(H),he(H)]},ve,{resetStyle:!1}),Ce=function(s,m){var o={};for(var l in s)Object.prototype.hasOwnProperty.call(s,l)&&m.indexOf(l)<0&&(o[l]=s[l]);if(s!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,l=Object.getOwnPropertySymbols(s);H<l.length;H++)m.indexOf(l[H])<0&&Object.prototype.propertyIsEnumerable.call(s,l[H])&&(o[l[H]]=s[l[H]]);return o},D=Y.forwardRef((s,m)=>{const{prefixCls:o,rootClassName:l,className:H,style:be,flex:we,gap:ie,children:Ke,vertical:je=!1,component:pe="div"}=s,Oe=Ce(s,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:q,direction:De,getPrefixCls:Te}=Y.useContext(Z.E_),X=Te("flex",o),[Ie,Be,Ue]=ge(X),Me=je!=null?je:q==null?void 0:q.vertical,$e=te()(H,l,q==null?void 0:q.className,X,Be,Ue,w(X,s),{[`${X}-rtl`]:De==="rtl",[`${X}-gap-${ie}`]:(0,ue.n)(ie),[`${X}-vertical`]:Me}),t=Object.assign(Object.assign({},q==null?void 0:q.style),be);return we&&(t.flex=we),ie&&!(0,ue.n)(ie)&&(t.gap=ie),Ie(Y.createElement(pe,Object.assign({ref:m,className:$e,style:t},(0,u.Z)(Oe,["justify","wrap","align"])),Ke))})}}]);