import{n as g,o as y}from"./setting.644fa418.js";import{d as A,b as c,c as d,e as k,f as v,h as a,i as m,u as l,g as V,m as f,E,_ as B}from"./index.0308b213.js";const b={class:"setting-form"},F={class:"operation-btn"},U=f("\u63D0\u4EA4"),x=A({setup(D){const e=c({deliveryer_appid:"",deliveryer_appkey:"",deliveryer_mastersecret:"",deliveryer_packagename:"",manage_appid:"",manage_appkey:"",manage_mastersecret:"",manage_packagename:""}),_=()=>{g(e).then(()=>{r(),E.success("\u4E2A\u63A8\u914D\u7F6E\u4FDD\u5B58\u6210\u529F")})},r=()=>{y().then(n=>{console.log(n),e.deliveryer_appid=n.deliveryer_appid,e.deliveryer_appkey=n.deliveryer_appkey,e.deliveryer_mastersecret=n.deliveryer_mastersecret,e.deliveryer_packagename=n.deliveryer_packagename,e.manage_appid=n.manage_appid,e.manage_appkey=n.manage_appkey,e.manage_mastersecret=n.manage_mastersecret,e.manage_packagename=n.manage_packagename})};return r(),(n,t)=>{const o=d("el-input"),p=d("el-form-item"),s=d("el-form"),i=d("el-button");return k(),v("div",b,[a(s,{model:l(e),"label-width":"170px"},{default:m(()=>[a(p,{label:"\u4E2A\u63A8\u9A91\u624B\u9A91\u624B\u7AEF\u4E2A\u63A8appid"},{default:m(()=>[a(o,{modelValue:l(e).deliveryer_appid,"onUpdate:modelValue":t[0]||(t[0]=u=>l(e).deliveryer_appid=u)},null,8,["modelValue"])]),_:1}),a(p,{label:"\u9A91\u624B\u7AEF\u4E2A\u63A8appkey"},{default:m(()=>[a(o,{modelValue:l(e).deliveryer_appkey,"onUpdate:modelValue":t[1]||(t[1]=u=>l(e).deliveryer_appkey=u)},null,8,["modelValue"])]),_:1}),a(p,{label:"\u9A91\u624B\u7AEF\u4E2A\u63A8mastersecret"},{default:m(()=>[a(o,{modelValue:l(e).deliveryer_mastersecret,"onUpdate:modelValue":t[2]||(t[2]=u=>l(e).deliveryer_mastersecret=u)},null,8,["modelValue"])]),_:1}),a(p,{label:"\u9A91\u624B\u7AEF\u4E2A\u63A8packagename"},{default:m(()=>[a(o,{modelValue:l(e).deliveryer_packagename,"onUpdate:modelValue":t[3]||(t[3]=u=>l(e).deliveryer_packagename=u)},null,8,["modelValue"])]),_:1}),a(p,{label:"\u5546\u5BB6\u7AEF\u4E2A\u63A8appid"},{default:m(()=>[a(o,{modelValue:l(e).manage_appid,"onUpdate:modelValue":t[4]||(t[4]=u=>l(e).manage_appid=u)},null,8,["modelValue"])]),_:1}),a(p,{label:"\u5546\u5BB6\u7AEF\u4E2A\u63A8appkey"},{default:m(()=>[a(o,{modelValue:l(e).manage_appkey,"onUpdate:modelValue":t[5]||(t[5]=u=>l(e).manage_appkey=u)},null,8,["modelValue"])]),_:1}),a(p,{label:"\u5546\u5BB6\u7AEF\u4E2A\u63A8mastersecret"},{default:m(()=>[a(o,{modelValue:l(e).manage_mastersecret,"onUpdate:modelValue":t[6]||(t[6]=u=>l(e).manage_mastersecret=u)},null,8,["modelValue"])]),_:1}),a(p,{label:"\u5546\u5BB6\u7AEF\u4E2A\u63A8packagename"},{default:m(()=>[a(o,{modelValue:l(e).manage_packagename,"onUpdate:modelValue":t[7]||(t[7]=u=>l(e).manage_packagename=u)},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),V("div",F,[a(i,{type:"primary",onClick:_},{default:m(()=>[U]),_:1})])])}}});const S=B(x,[["__scopeId","data-v-28563487"]]);export{S as default};
