最新有人说要我更新微信多开 好了 给你们更新出来了 感谢大家的支持!!!

微信的版本8.0.65就不打算更新了  64比较稳一点

插件功能自行自己去研究发现!

已复制',setTimeout(()=>{this.innerHTML=t},2e3)}).catch(t=>{console.error("复制失败:",t)})})});const s=document.getElementById("showPaymentModal"),o=document.getElementById("paymentModal"),d=document.getElementById("modalOverlay"),l=document.getElementById("modalClose"),c=document.getElementById("modalCancel");s&&o&&s.addEventListener("click",function(){o.classList.add("active"),document.body.style.overflow="hidden"});function a(){o&&(o.classList.remove("active"),document.body.style.overflow="")}d&&d.addEventListener("click",a),l&&l.addEventListener("click",a),c&&c.addEventListener("click",a);const r=document.getElementById("modalPayBtn");r&&r.addEventListener("click",async function(){const i=this.getAttribute("data-post-id");if(!i)return;this.disabled=!0;const e=this.textContent;this.textContent="处理中...";try{const t=await fetch("/api/payment/order",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({post_id:parseInt(i)})});if(!t.ok)throw new Error(`HTTP错误: ${t.status} ${t.statusText}`);const m=t.headers.get("content-type");if(!m||!m.includes("application/json")){const y=await t.text();throw console.error("非JSON响应:",y),new Error("服务器返回了非JSON格式的响应")}const n=await t.json();n.code===200&&n.data&&n.data.pay_url?window.location.href=n.data.pay_url:(alert(n.message||"创建支付订单失败"),this.disabled=!1,this.textContent=e)}catch(t){console.error("支付错误:",t),alert(t.message||"支付请求失败,请稍后重试"),this.disabled=!1,this.textContent=e}})});