game/nginx/admin/assets/index-7_BE1ymS.js
2026-04-20 16:07:22 +08:00

2 lines
20 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var e=Object.defineProperty,l=Object.defineProperties,a=Object.getOwnPropertyDescriptors,s=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,c=(l,a,s)=>a in l?e(l,a,{enumerable:!0,configurable:!0,writable:!0,value:s}):l[a]=s,i=(e,l,a)=>new Promise((s,t)=>{var o=e=>{try{i(a.next(e))}catch(l){t(l)}},c=e=>{try{i(a.throw(e))}catch(l){t(l)}},i=e=>e.done?s(e.value):Promise.resolve(e.value).then(o,c);i((a=a.apply(e,l)).next())});import{d,B as n,c as u,r as p,k as r,o as m,b as _,e as v,f as y,g as f,w as h,v as b,p as g,j as V,ai as w,es as k,E as x,b8 as j,et as U,eu as A,ev as I,ew as S,ex as D,i as C,ey as O,h as z,K as P,I as K,b5 as q,M as B,T as E}from"./index-BoIUJTA2.js";/* empty css *//* empty css *//* empty css *//* empty css *//* empty css */import{l as N,u as $}from"./configs-BgITfp3i.js";import{E as G}from"./index-BaD29Izp.js";import{E as R}from"./index-BjQJlHTd.js";import{a as T,E as J}from"./index-BcfO0-fK.js";import{E as M}from"./index-CSr24crn.js";import{E as Q}from"./index-CjpBlozU.js";import{_ as X}from"./_plugin-vue_export-helper-BCo6x5W8.js";import"./index-1OHUSGeP.js";import"./index-COyGylbk.js";import"./debounce-DQl5eUwG.js";import"./castArray-nM8ho4U3.js";import"./_baseClone-Ct7RL6h5.js";import"./_initCloneObject-DRmC-q3t.js";import"./index-ClDjAOOe.js";import"./cloneDeep-B1gZFPYK.js";import"./use-dialog-FwJ-QdmW.js";import"./refs-Cw5r5QN8.js";const Y={class:"system-configs-page"},F={class:"config-groups"},H={class:"card-header"},L={class:"title"},W={class:"config-items"},Z={class:"config-item"},ee={class:"value"},le={class:"config-item"},ae={class:"value"},se={class:"config-item"},te={class:"value sensitive"},oe={class:"config-item"},ce={class:"value sensitive"},ie={class:"config-item"},de={class:"value"},ne={class:"card-header"},ue={class:"title"},pe={class:"config-items"},re={class:"config-item"},me={class:"value"},_e={class:"config-item"},ve={class:"value sensitive"},ye={class:"config-item"},fe={class:"value"},he={class:"card-header"},be={class:"title"},ge={class:"config-items"},Ve={class:"config-item"},we={class:"value"},ke={class:"config-item"},xe={class:"value",style:{"font-size":"12px"}},je={class:"config-item"},Ue={class:"value sensitive"},Ae={class:"config-item"},Ie={class:"value",style:{"font-size":"12px"}},Se={class:"config-item"},De={class:"value sensitive"},Ce={class:"config-item"},Oe={class:"value sensitive"},ze={class:"card-header"},Pe={class:"title"},Ke={class:"config-items"},qe={class:"config-item"},Be={class:"value"},Ee={class:"config-item"},Ne={class:"value sensitive"},$e={class:"config-item"},Ge={class:"value"},Re={class:"config-item"},Te={class:"value"},Je={class:"card-header"},Me={class:"title"},Qe={class:"config-items"},Xe={class:"config-item"},Ye={class:"value"},Fe={class:"config-item"},He={class:"value sensitive"},Le={class:"config-item"},We={class:"value",style:{"font-size":"12px"}},Ze={class:"config-item"},el={class:"value"},ll={class:"config-item"},al={class:"value sensitive"},sl={class:"config-item"},tl={class:"value sensitive"},ol={class:"card-header"},cl={class:"title"},il={class:"config-items"},dl={class:"config-item"},nl={class:"value"},ul={class:"card-header"},pl={class:"title"},rl={class:"config-items"},ml={class:"config-item"},_l={class:"value"},vl={key:0,class:"config-item"},yl={class:"value"},fl=d((hl=((e,l)=>{for(var a in l||(l={}))t.call(l,a)&&c(e,a,l[a]);if(s)for(var a of s(l))o.call(l,a)&&c(e,a,l[a]);return e})({},{name:"SystemConfigs"}),l(hl,a({__name:"index",setup(e){const l=n(),a=u(()=>"/api/common/upload/wangeditor"),s=u(()=>({Authorization:l.accessToken})),t=p([]),o={points:["exchange_rate"],cos:["bucket","region","secret_id","secret_key","base_url"],wechat:["app_id","app_secret","lottery_result_template_id"],wechatpay:["mchid","serial_no","api_v3_key","notify_url","public_key_id","private_key","public_key"],aliyun_sms:["access_key_id","access_key_secret","sign_name","template_code"],douyin:["app_id","app_secret","notify_url","pay_app_id","pay_secret","pay_salt"],contact:["service_qrcode"]},c={points:"积分配置",cos:"COS 对象存储配置",wechat:"微信小程序配置",wechatpay:"微信支付配置",aliyun_sms:"阿里云短信配置",douyin:"抹音小程序配置",contact:"通用联系配置"},d=p(!1),X=p(!1),fl=r({points:{},cos:{},wechat:{},wechatpay:{},aliyun_sms:{},douyin:{},contact:{}}),hl=p(!1),bl=p(""),gl=u(()=>c[bl.value]||"编辑配置"),Vl=p(),wl=r({}),kl=()=>i(this,null,function*(){d.value=!0;try{const e=(yield N("",1,100)).list||[];for(const l of e){const[e,a]=l.key.split(".");e&&a&&fl[e]&&(fl[e][a]=l.value)}}catch(e){E.error("加载配置失败")}finally{d.value=!1}}),xl=e=>e?e.length<=8?"****":e.substring(0,4)+"****"+e.substring(e.length-4):"-",jl=e=>{var l;bl.value=e;const a=o[e]||[];t.value=[];for(const s of a){const a=(null==(l=fl[e])?void 0:l[s])||"";wl[`${e}.${s}`]=a,"contact"===e&&"service_qrcode"===s&&a&&(t.value=[{name:"qrcode",url:a}])}hl.value=!0},Ul=e=>{var l,a;let s=(null==(l=null==e?void 0:e.data)?void 0:l.url)||(null==e?void 0:e.url)||"";if(!s&&"string"==typeof e)try{const l=JSON.parse(e);s=(null==(a=null==l?void 0:l.data)?void 0:a.url)||(null==l?void 0:l.url)||""}catch(t){}s&&(wl["contact.service_qrcode"]=s)},Al=()=>{wl["contact.service_qrcode"]=""},Il=()=>i(this,null,function*(){X.value=!0;try{const e=bl.value,l=o[e]||[];for(const a of l){const l=`${e}.${a}`,s=wl[l];void 0!==s&&""!==s&&(yield $(l,s,""))}E.success("保存成功"),hl.value=!1,yield kl()}catch(e){E.error("保存失败")}finally{X.value=!1}});return m(()=>kl()),(e,l)=>(v(),_("div",Y,[y("div",F,[f(g(G),{shadow:"hover",class:"config-card"},{header:h(()=>[y("div",H,[y("span",L,[f(g(w),null,{default:h(()=>[f(g(k))]),_:1}),l[35]||(l[35]=V(" COS 对象存储 ",-1))]),f(g(x),{type:"primary",text:"",size:"small",onClick:l[0]||(l[0]=e=>jl("cos"))},{default:h(()=>[f(g(w),null,{default:h(()=>[f(g(j))]),_:1}),l[36]||(l[36]=V(" 编辑 ",-1))]),_:1})])]),default:h(()=>{var e,a,s,t,o;return[y("div",W,[y("div",Z,[l[37]||(l[37]=y("span",{class:"label"},"Bucket",-1)),y("span",ee,b((null==(e=g(fl).cos)?void 0:e.bucket)||"-"),1)]),y("div",le,[l[38]||(l[38]=y("span",{class:"label"},"Region",-1)),y("span",ae,b((null==(a=g(fl).cos)?void 0:a.region)||"-"),1)]),y("div",se,[l[39]||(l[39]=y("span",{class:"label"},"SecretID",-1)),y("span",te,b(xl(null==(s=g(fl).cos)?void 0:s.secret_id)),1)]),y("div",oe,[l[40]||(l[40]=y("span",{class:"label"},"SecretKey",-1)),y("span",ce,b(xl(null==(t=g(fl).cos)?void 0:t.secret_key)),1)]),y("div",ie,[l[41]||(l[41]=y("span",{class:"label"},"自定义域名",-1)),y("span",de,b((null==(o=g(fl).cos)?void 0:o.base_url)||"未配置"),1)])])]}),_:1}),f(g(G),{shadow:"hover",class:"config-card"},{header:h(()=>[y("div",ne,[y("span",ue,[f(g(w),null,{default:h(()=>[f(g(U))]),_:1}),l[42]||(l[42]=V(" 微信小程序 ",-1))]),f(g(x),{type:"primary",text:"",size:"small",onClick:l[1]||(l[1]=e=>jl("wechat"))},{default:h(()=>[f(g(w),null,{default:h(()=>[f(g(j))]),_:1}),l[43]||(l[43]=V(" 编辑 ",-1))]),_:1})])]),default:h(()=>{var e,a,s;return[y("div",pe,[y("div",re,[l[44]||(l[44]=y("span",{class:"label"},"AppID",-1)),y("span",me,b((null==(e=g(fl).wechat)?void 0:e.app_id)||"-"),1)]),y("div",_e,[l[45]||(l[45]=y("span",{class:"label"},"AppSecret",-1)),y("span",ve,b(xl(null==(a=g(fl).wechat)?void 0:a.app_secret)),1)]),y("div",ye,[l[46]||(l[46]=y("span",{class:"label"},"开奖通知模板ID",-1)),y("span",fe,b((null==(s=g(fl).wechat)?void 0:s.lottery_result_template_id)||"-"),1)])])]}),_:1}),f(g(G),{shadow:"hover",class:"config-card"},{header:h(()=>[y("div",he,[y("span",be,[f(g(w),null,{default:h(()=>[f(g(A))]),_:1}),l[47]||(l[47]=V(" 微信支付 ",-1))]),f(g(x),{type:"primary",text:"",size:"small",onClick:l[2]||(l[2]=e=>jl("wechatpay"))},{default:h(()=>[f(g(w),null,{default:h(()=>[f(g(j))]),_:1}),l[48]||(l[48]=V(" 编辑 ",-1))]),_:1})])]),default:h(()=>{var e,a,s,t,o,c;return[y("div",ge,[y("div",Ve,[l[49]||(l[49]=y("span",{class:"label"},"商户号",-1)),y("span",we,b((null==(e=g(fl).wechatpay)?void 0:e.mchid)||"-"),1)]),y("div",ke,[l[50]||(l[50]=y("span",{class:"label"},"证书序列号",-1)),y("span",xe,b((null==(a=g(fl).wechatpay)?void 0:a.serial_no)||"-"),1)]),y("div",je,[l[51]||(l[51]=y("span",{class:"label"},"APIv3 密钥",-1)),y("span",Ue,b(xl(null==(s=g(fl).wechatpay)?void 0:s.api_v3_key)),1)]),y("div",Ae,[l[52]||(l[52]=y("span",{class:"label"},"回调地址",-1)),y("span",Ie,b((null==(t=g(fl).wechatpay)?void 0:t.notify_url)||"-"),1)]),y("div",Se,[l[53]||(l[53]=y("span",{class:"label"},"私钥",-1)),y("span",De,b((null==(o=g(fl).wechatpay)?void 0:o.private_key)?"已配置":"未配置"),1)]),y("div",Ce,[l[54]||(l[54]=y("span",{class:"label"},"公钥",-1)),y("span",Oe,b((null==(c=g(fl).wechatpay)?void 0:c.public_key)?"已配置":"未配置"),1)])])]}),_:1}),f(g(G),{shadow:"hover",class:"config-card"},{header:h(()=>[y("div",ze,[y("span",Pe,[f(g(w),null,{default:h(()=>[f(g(I))]),_:1}),l[55]||(l[55]=V(" 阿里云短信 ",-1))]),f(g(x),{type:"primary",text:"",size:"small",onClick:l[3]||(l[3]=e=>jl("aliyun_sms"))},{default:h(()=>[f(g(w),null,{default:h(()=>[f(g(j))]),_:1}),l[56]||(l[56]=V(" 编辑 ",-1))]),_:1})])]),default:h(()=>{var e,a,s,t;return[y("div",Ke,[y("div",qe,[l[57]||(l[57]=y("span",{class:"label"},"AccessKeyID",-1)),y("span",Be,b((null==(e=g(fl).aliyun_sms)?void 0:e.access_key_id)||"-"),1)]),y("div",Ee,[l[58]||(l[58]=y("span",{class:"label"},"AccessKeySecret",-1)),y("span",Ne,b(xl(null==(a=g(fl).aliyun_sms)?void 0:a.access_key_secret)),1)]),y("div",$e,[l[59]||(l[59]=y("span",{class:"label"},"签名",-1)),y("span",Ge,b((null==(s=g(fl).aliyun_sms)?void 0:s.sign_name)||"-"),1)]),y("div",Re,[l[60]||(l[60]=y("span",{class:"label"},"模板Code",-1)),y("span",Te,b((null==(t=g(fl).aliyun_sms)?void 0:t.template_code)||"-"),1)])])]}),_:1}),f(g(G),{shadow:"hover",class:"config-card"},{header:h(()=>[y("div",Je,[y("span",Me,[f(g(w),null,{default:h(()=>[f(g(S))]),_:1}),l[61]||(l[61]=V(" 抹音小程序 ",-1))]),f(g(x),{type:"primary",text:"",size:"small",onClick:l[4]||(l[4]=e=>jl("douyin"))},{default:h(()=>[f(g(w),null,{default:h(()=>[f(g(j))]),_:1}),l[62]||(l[62]=V(" 编辑 ",-1))]),_:1})])]),default:h(()=>{var e,a,s,t,o,c;return[y("div",Qe,[y("div",Xe,[l[63]||(l[63]=y("span",{class:"label"},"AppID",-1)),y("span",Ye,b((null==(e=g(fl).douyin)?void 0:e.app_id)||"-"),1)]),y("div",Fe,[l[64]||(l[64]=y("span",{class:"label"},"AppSecret",-1)),y("span",He,b(xl(null==(a=g(fl).douyin)?void 0:a.app_secret)),1)]),y("div",Le,[l[65]||(l[65]=y("span",{class:"label"},"回调地址",-1)),y("span",We,b((null==(s=g(fl).douyin)?void 0:s.notify_url)||"-"),1)]),y("div",Ze,[l[66]||(l[66]=y("span",{class:"label"},"支付商户号",-1)),y("span",el,b((null==(t=g(fl).douyin)?void 0:t.pay_app_id)||"-"),1)]),y("div",ll,[l[67]||(l[67]=y("span",{class:"label"},"支付密钥",-1)),y("span",al,b(xl(null==(o=g(fl).douyin)?void 0:o.pay_secret)),1)]),y("div",sl,[l[68]||(l[68]=y("span",{class:"label"},"支付盐",-1)),y("span",tl,b((null==(c=g(fl).douyin)?void 0:c.pay_salt)?"已配置":"未配置"),1)])])]}),_:1}),f(g(G),{shadow:"hover",class:"config-card"},{header:h(()=>[y("div",ol,[y("span",cl,[f(g(w),null,{default:h(()=>[f(g(D))]),_:1}),l[69]||(l[69]=V(" 积分配置 ",-1))]),f(g(x),{type:"primary",text:"",size:"small",onClick:l[5]||(l[5]=e=>jl("points"))},{default:h(()=>[f(g(w),null,{default:h(()=>[f(g(j))]),_:1}),l[70]||(l[70]=V(" 编辑 ",-1))]),_:1})])]),default:h(()=>{var e;return[y("div",il,[y("div",dl,[l[71]||(l[71]=y("span",{class:"label"},"兑换比例",-1)),y("span",nl,"1 元 = "+b((null==(e=g(fl).points)?void 0:e.exchange_rate)||"1")+" 积分",1)])])]}),_:1}),f(g(G),{shadow:"hover",class:"config-card"},{header:h(()=>[y("div",ul,[y("span",pl,[f(g(w),null,{default:h(()=>[f(g(O))]),_:1}),l[72]||(l[72]=V(" 通用联系配置 ",-1))]),f(g(x),{type:"primary",text:"",size:"small",onClick:l[6]||(l[6]=e=>jl("contact"))},{default:h(()=>[f(g(w),null,{default:h(()=>[f(g(j))]),_:1}),l[73]||(l[73]=V(" 编辑 ",-1))]),_:1})])]),default:h(()=>{var e,a,s,t;return[y("div",rl,[y("div",ml,[l[74]||(l[74]=y("span",{class:"label"},"客服二维码",-1)),y("span",_l,b((null==(e=g(fl).contact)?void 0:e.service_qrcode)?"已配置":"未配置"),1)]),(null==(a=g(fl).contact)?void 0:a.service_qrcode)?(v(),_("div",vl,[l[75]||(l[75]=y("span",{class:"label"},"预览",-1)),y("span",yl,[f(g(R),{style:{width:"50px",height:"50px"},src:null==(s=g(fl).contact)?void 0:s.service_qrcode,"preview-src-list":[null==(t=g(fl).contact)?void 0:t.service_qrcode],fit:"contain"},null,8,["src","preview-src-list"])])])):C("",!0)])]}),_:1})]),f(g(Q),{modelValue:g(hl),"onUpdate:modelValue":l[34]||(l[34]=e=>B(hl)?hl.value=e:null),title:g(gl),width:"600px"},{footer:h(()=>[f(g(x),{onClick:l[33]||(l[33]=e=>hl.value=!1)},{default:h(()=>[...l[80]||(l[80]=[V("取消",-1)])]),_:1}),f(g(x),{type:"primary",loading:g(X),onClick:Il},{default:h(()=>[...l[81]||(l[81]=[V("保存",-1)])]),_:1},8,["loading"])]),default:h(()=>[f(g(T),{ref_key:"formRef",ref:Vl,model:g(wl),"label-width":"120px","label-position":"left"},{default:h(()=>["points"===g(bl)?(v(),z(g(J),{key:0,label:"兑换比例"},{default:h(()=>[f(g(P),{modelValue:g(wl)["points.exchange_rate"],"onUpdate:modelValue":l[7]||(l[7]=e=>g(wl)["points.exchange_rate"]=e),placeholder:"例如: 1 表示 1元=1积分",type:"number"},{prepend:h(()=>[...l[76]||(l[76]=[V("1 元 =",-1)])]),append:h(()=>[...l[77]||(l[77]=[V("积分",-1)])]),_:1},8,["modelValue"]),l[78]||(l[78]=y("div",{style:{"font-size":"12px",color:"#909399","margin-top":"4px","line-height":"1.4"}},[V(" 设置 1 元人民币对应的积分数量。默认为 1。"),y("br"),V(" 修改后将影响新产生的积分逻辑,不影响已发放的积分。 ")],-1))]),_:1})):"cos"===g(bl)?(v(),_(K,{key:1},[f(g(J),{label:"Bucket"},{default:h(()=>[f(g(P),{modelValue:g(wl)["cos.bucket"],"onUpdate:modelValue":l[8]||(l[8]=e=>g(wl)["cos.bucket"]=e),placeholder:"COS Bucket名称"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"Region"},{default:h(()=>[f(g(P),{modelValue:g(wl)["cos.region"],"onUpdate:modelValue":l[9]||(l[9]=e=>g(wl)["cos.region"]=e),placeholder:"如: ap-shanghai"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"SecretID"},{default:h(()=>[f(g(P),{modelValue:g(wl)["cos.secret_id"],"onUpdate:modelValue":l[10]||(l[10]=e=>g(wl)["cos.secret_id"]=e),placeholder:"腾讯云 SecretID","show-password":""},null,8,["modelValue"])]),_:1}),f(g(J),{label:"SecretKey"},{default:h(()=>[f(g(P),{modelValue:g(wl)["cos.secret_key"],"onUpdate:modelValue":l[11]||(l[11]=e=>g(wl)["cos.secret_key"]=e),placeholder:"腾讯云 SecretKey","show-password":""},null,8,["modelValue"])]),_:1}),f(g(J),{label:"自定义域名"},{default:h(()=>[f(g(P),{modelValue:g(wl)["cos.base_url"],"onUpdate:modelValue":l[12]||(l[12]=e=>g(wl)["cos.base_url"]=e),placeholder:"可选如有CDN域名"},null,8,["modelValue"])]),_:1})],64)):"wechat"===g(bl)?(v(),_(K,{key:2},[f(g(J),{label:"AppID"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechat.app_id"],"onUpdate:modelValue":l[13]||(l[13]=e=>g(wl)["wechat.app_id"]=e),placeholder:"小程序 AppID"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"AppSecret"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechat.app_secret"],"onUpdate:modelValue":l[14]||(l[14]=e=>g(wl)["wechat.app_secret"]=e),placeholder:"小程序 AppSecret","show-password":""},null,8,["modelValue"])]),_:1}),f(g(J),{label:"开奖通知模板ID"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechat.lottery_result_template_id"],"onUpdate:modelValue":l[15]||(l[15]=e=>g(wl)["wechat.lottery_result_template_id"]=e),placeholder:"订阅消息模板ID"},null,8,["modelValue"])]),_:1})],64)):"wechatpay"===g(bl)?(v(),_(K,{key:3},[f(g(J),{label:"商户号"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechatpay.mchid"],"onUpdate:modelValue":l[16]||(l[16]=e=>g(wl)["wechatpay.mchid"]=e),placeholder:"微信支付商户号"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"证书序列号"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechatpay.serial_no"],"onUpdate:modelValue":l[17]||(l[17]=e=>g(wl)["wechatpay.serial_no"]=e),placeholder:"API证书序列号"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"APIv3 密钥"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechatpay.api_v3_key"],"onUpdate:modelValue":l[18]||(l[18]=e=>g(wl)["wechatpay.api_v3_key"]=e),placeholder:"APIv3 密钥","show-password":""},null,8,["modelValue"])]),_:1}),f(g(J),{label:"回调地址"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechatpay.notify_url"],"onUpdate:modelValue":l[19]||(l[19]=e=>g(wl)["wechatpay.notify_url"]=e),placeholder:"支付结果通知地址"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"公钥ID"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechatpay.public_key_id"],"onUpdate:modelValue":l[20]||(l[20]=e=>g(wl)["wechatpay.public_key_id"]=e),placeholder:"公钥ID"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"私钥(Base64)"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechatpay.private_key"],"onUpdate:modelValue":l[21]||(l[21]=e=>g(wl)["wechatpay.private_key"]=e),type:"textarea",rows:3,placeholder:"Base64编码的私钥内容"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"公钥(Base64)"},{default:h(()=>[f(g(P),{modelValue:g(wl)["wechatpay.public_key"],"onUpdate:modelValue":l[22]||(l[22]=e=>g(wl)["wechatpay.public_key"]=e),type:"textarea",rows:3,placeholder:"Base64编码的公钥内容"},null,8,["modelValue"])]),_:1})],64)):"aliyun_sms"===g(bl)?(v(),_(K,{key:4},[f(g(J),{label:"AccessKeyID"},{default:h(()=>[f(g(P),{modelValue:g(wl)["aliyun_sms.access_key_id"],"onUpdate:modelValue":l[23]||(l[23]=e=>g(wl)["aliyun_sms.access_key_id"]=e),placeholder:"阿里云 AccessKeyID"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"AccessKeySecret"},{default:h(()=>[f(g(P),{modelValue:g(wl)["aliyun_sms.access_key_secret"],"onUpdate:modelValue":l[24]||(l[24]=e=>g(wl)["aliyun_sms.access_key_secret"]=e),placeholder:"阿里云 AccessKeySecret","show-password":""},null,8,["modelValue"])]),_:1}),f(g(J),{label:"签名"},{default:h(()=>[f(g(P),{modelValue:g(wl)["aliyun_sms.sign_name"],"onUpdate:modelValue":l[25]||(l[25]=e=>g(wl)["aliyun_sms.sign_name"]=e),placeholder:"短信签名"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"模板Code"},{default:h(()=>[f(g(P),{modelValue:g(wl)["aliyun_sms.template_code"],"onUpdate:modelValue":l[26]||(l[26]=e=>g(wl)["aliyun_sms.template_code"]=e),placeholder:"短信模板Code"},null,8,["modelValue"])]),_:1})],64)):"douyin"===g(bl)?(v(),_(K,{key:5},[f(g(J),{label:"AppID"},{default:h(()=>[f(g(P),{modelValue:g(wl)["douyin.app_id"],"onUpdate:modelValue":l[27]||(l[27]=e=>g(wl)["douyin.app_id"]=e),placeholder:"抖音小程序 AppID"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"AppSecret"},{default:h(()=>[f(g(P),{modelValue:g(wl)["douyin.app_secret"],"onUpdate:modelValue":l[28]||(l[28]=e=>g(wl)["douyin.app_secret"]=e),placeholder:"抖音小程序 AppSecret","show-password":""},null,8,["modelValue"])]),_:1}),f(g(J),{label:"回调地址"},{default:h(()=>[f(g(P),{modelValue:g(wl)["douyin.notify_url"],"onUpdate:modelValue":l[29]||(l[29]=e=>g(wl)["douyin.notify_url"]=e),placeholder:"支付结果通知地址"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"支付商户号"},{default:h(()=>[f(g(P),{modelValue:g(wl)["douyin.pay_app_id"],"onUpdate:modelValue":l[30]||(l[30]=e=>g(wl)["douyin.pay_app_id"]=e),placeholder:"抖音支付 AppID (担保支付)"},null,8,["modelValue"])]),_:1}),f(g(J),{label:"支付密钥"},{default:h(()=>[f(g(P),{modelValue:g(wl)["douyin.pay_secret"],"onUpdate:modelValue":l[31]||(l[31]=e=>g(wl)["douyin.pay_secret"]=e),placeholder:"抖音支付 Secret","show-password":""},null,8,["modelValue"])]),_:1}),f(g(J),{label:"支付盐"},{default:h(()=>[f(g(P),{modelValue:g(wl)["douyin.pay_salt"],"onUpdate:modelValue":l[32]||(l[32]=e=>g(wl)["douyin.pay_salt"]=e),placeholder:"抖音支付 Salt","show-password":""},null,8,["modelValue"])]),_:1})],64)):"contact"===g(bl)?(v(),z(g(J),{key:6,label:"客服二维码"},{default:h(()=>[f(g(M),{action:g(a),name:"file",accept:"image/*","list-type":"picture-card",headers:g(s),limit:1,"on-success":Ul,"on-remove":Al,"file-list":g(t)},{default:h(()=>[f(g(w),null,{default:h(()=>[f(g(q))]),_:1})]),_:1},8,["action","headers","file-list"]),l[79]||(l[79]=y("div",{style:{"font-size":"12px",color:"#909399","margin-top":"4px"}},[V(" 点击上方上传微信客服二维码图片。"),y("br"),V(" 支持 JPG/PNG 格式。 ")],-1))]),_:1})):C("",!0)]),_:1},8,["model"])]),_:1},8,["modelValue","title"])]))}}))));var hl;const bl=X(fl,[["__scopeId","data-v-30086161"]]);export{bl as default};