Files
Mycontent/.next/static/chunks/8750dbd4a0424454.js
2025-12-29 14:01:37 +08:00

4 lines
5.8 KiB
JavaScript
Raw 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.

(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62031,e=>{"use strict";let s=(0,e.i(75254).default)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]);e.s(["Share2",()=>s],62031)},71689,e=>{"use strict";let s=(0,e.i(75254).default)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>s],71689)},78583,e=>{"use strict";let s=(0,e.i(75254).default)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);e.s(["FileText",()=>s],78583)},61659,e=>{"use strict";let s=(0,e.i(75254).default)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);e.s(["CreditCard",()=>s],61659)},14287,e=>{"use strict";var s=e.i(43476),a=e.i(22016),l=e.i(71689),c=e.i(61659),t=e.i(62031),d=e.i(78583);let i=(0,e.i(75254).default)("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]]);function x(){return(0,s.jsxs)("main",{className:"min-h-screen bg-[#0a1628] text-white pb-20",children:[(0,s.jsx)("div",{className:"sticky top-0 z-10 bg-[#0a1628]/95 backdrop-blur-md border-b border-gray-700/50",children:(0,s.jsxs)("div",{className:"max-w-2xl mx-auto flex items-center gap-4 p-4",children:[(0,s.jsx)(a.default,{href:"/",className:"p-2 -ml-2",children:(0,s.jsx)(l.ArrowLeft,{className:"w-5 h-5"})}),(0,s.jsx)("h1",{className:"text-lg font-semibold",children:"开发者文档"})]})}),(0,s.jsx)("div",{className:"p-4",children:(0,s.jsxs)("div",{className:"max-w-2xl mx-auto space-y-6",children:[(0,s.jsxs)("section",{className:"bg-[#0f2137]/60 rounded-xl p-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)(c.CreditCard,{className:"w-6 h-6 text-[#38bdac]"}),(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"支付配置"})]}),(0,s.jsxs)("div",{className:"space-y-4 text-gray-300 text-sm",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-white font-medium mb-2",children:"微信支付配置"}),(0,s.jsx)("p",{className:"mb-2",children:"1. 登录微信开放平台获取网站AppID和AppSecret"}),(0,s.jsx)("p",{className:"mb-2",children:"2. 登录微信公众平台获取服务号AppID和AppSecret"}),(0,s.jsx)("p",{className:"mb-2",children:"3. 登录微信商户平台获取商户号和API密钥"}),(0,s.jsx)("div",{className:"bg-[#0a1628] rounded-lg p-3 mt-2",children:(0,s.jsx)("code",{className:"text-xs text-gray-400",children:`网站AppID: wx432c93e275548671
服务号AppID: wx7c0dbf34ddba300d
商户号: 1318592501`})})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"text-white font-medium mb-2",children:"支付宝配置"}),(0,s.jsx)("p",{className:"mb-2",children:"1. 登录支付宝开放平台获取合作者身份PID"}),(0,s.jsx)("p",{className:"mb-2",children:"2. 获取安全校验码Key"}),(0,s.jsx)("p",{className:"mb-2",children:"3. 开通手机网站支付功能"}),(0,s.jsx)("div",{className:"bg-[#0a1628] rounded-lg p-3 mt-2",children:(0,s.jsx)("code",{className:"text-xs text-gray-400",children:`合作者身份(PID): 2088511801157159
安全校验码(Key): lz6ey1h3kl9...`})})]})]})]}),(0,s.jsxs)("section",{className:"bg-[#0f2137]/60 rounded-xl p-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)(t.Share2,{className:"w-6 h-6 text-[#38bdac]"}),(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"分销机制"})]}),(0,s.jsxs)("div",{className:"space-y-4 text-gray-300 text-sm",children:[(0,s.jsx)("p",{children:"分销比例可在后台自由设置(0-100%)"}),(0,s.jsxs)("div",{className:"bg-[#0a1628] rounded-lg p-4",children:[(0,s.jsx)("p",{className:"text-white mb-2",children:"收益计算公式:"}),(0,s.jsx)("code",{className:"text-[#38bdac]",children:"分销收益 = 订单金额 × 分销比例%"})]}),(0,s.jsx)("p",{children:"例: 用户A通过B的邀请码购买¥9.9整本书,分销比例90%"}),(0,s.jsx)("p",{children:"则B获得 9.9 × 90% = ¥8.91 收益"})]})]}),(0,s.jsxs)("section",{className:"bg-[#0f2137]/60 rounded-xl p-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)(d.FileText,{className:"w-6 h-6 text-[#38bdac]"}),(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"提现说明"})]}),(0,s.jsxs)("div",{className:"space-y-3 text-gray-300 text-sm",children:[(0,s.jsx)("p",{children:"1. 最低提现金额: ¥10"}),(0,s.jsx)("p",{children:"2. 提现周期: T+1到账"}),(0,s.jsx)("p",{children:"3. 支持提现方式: 微信、支付宝、银行卡"}),(0,s.jsx)("p",{children:"4. 提现手续费: 0%"})]})]}),(0,s.jsxs)("section",{className:"bg-[#0f2137]/60 rounded-xl p-6",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,s.jsx)(i,{className:"w-6 h-6 text-[#38bdac]"}),(0,s.jsx)("h2",{className:"text-xl font-semibold",children:"API接口"})]}),(0,s.jsxs)("div",{className:"space-y-4 text-gray-300 text-sm",children:[(0,s.jsxs)("div",{className:"bg-[#0a1628] rounded-lg p-4",children:[(0,s.jsx)("p",{className:"text-gray-400 mb-2",children:"获取章节内容"}),(0,s.jsx)("code",{className:"text-[#38bdac]",children:"GET /api/content?id=1.1"})]}),(0,s.jsxs)("div",{className:"bg-[#0a1628] rounded-lg p-4",children:[(0,s.jsx)("p",{className:"text-gray-400 mb-2",children:"飞书文档同步"}),(0,s.jsx)("code",{className:"text-[#38bdac]",children:"POST /api/feishu/sync"})]})]})]})]})})]})}e.s(["default",()=>x],14287)}]);