feat(pay): 统一收银台四种模式(站内二维码/当前页跳转/表单提交/JSAPI)

- PaymentOrchestrator 统一返回 mode + code_url/payment_url/form_html/jsapi_params
- 支付宝:当面付二维码 / 电脑网站支付 / H5;微信:Native / H5 / JSAPI(WechatOpenid 静默授权)
- 易支付:PC mapi 二维码,移动端自动提交表单
- 删除旧键 alipay_payment_type / wechat_payment_type / epay_device 与 redirect/qr_content 字段
- 新增 pay-cashier.js,移除 window.open,订单状态接口改为 /pay/order/{n}
- 拆分 credits.js(affiliate / withdraw-history)至 1000 行以内

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
kate522andClaude Fable 5 committed 2026-10-29 14:01:28 +08:00
1 parent b340b77d5a
commit 1df2822f01
28 files changed
+1255 -836

No files matched your search

+15 -15
View File
@@ -1,10 +1,10 @@
{
"generated_at": "2026-10-26T13:32:51+00:00",
"generated_at": "2026-10-29T05:44:00+00:00",
"errors": [],
"warnings": [
"customPage tools-update section 'tools/update' not in PHP schema (ok if pure operational page)",
"customPage users-wechat-template section 'users/wechat-template' not in PHP schema (ok if pure operational page)",
"enum incomplete parse for 'alipay_payment_type' (php subset of js): php=[page] js=[page,wap]",
"enum incomplete parse for 'alipay_pc_mode' (php subset of js): php=[facepay] js=[facepay,web]",
"enum incomplete parse for 'avatar_external' (php subset of js): php=[] js=[,gravatar,weavatar,cravatar,geekzu,loli,sep,v2ex]",
"enum incomplete parse for 'backup_frequency' (php subset of js): php=[daily] js=[daily,weekly,monthly]",
"enum incomplete parse for 'bind_reminder' (php subset of js): php=[email] js=[email,phone,email_phone,close]",
@@ -12,7 +12,6 @@
"enum incomplete parse for 'content_audit_provider' (php subset of js): php=[baidu] js=[baidu,null]",
"enum incomplete parse for 'direction' (php subset of js): php=[horizontal] js=[horizontal,vertical]",
"enum incomplete parse for 'effect' (php subset of js): php=[slide] js=[slide,fade,cube,coverflow,flip]",
"enum incomplete parse for 'epay_device' (php subset of js): php=[auto] js=[auto,pc,mobile]",
"enum incomplete parse for 'font_family' (php subset of js): php=[system] js=[system,noto-sans-sc,noto-serif-sc,custom]",
"enum incomplete parse for 'i18n_default_lang' (php subset of js): php=[zh-CN] js=[zh-CN,en,zh-TW,ja,ko,fr,de,es,ru]",
"enum incomplete parse for 'i18n_switcher_position' (php subset of js): php=[header] js=[header,footer,both,none]",
@@ -58,13 +57,12 @@
"enum incomplete parse for 'user_email_limit_type' (php subset of js): php=[not] js=[not,allow]",
"enum incomplete parse for 'user_sign_type' (php subset of js): php=[modal] js=[modal,page]",
"enum incomplete parse for 'user_signin_nopas_active' (php subset of js): php=[nopas] js=[nopas,pas,only_nopas]",
"enum incomplete parse for 'wechat_payment_type' (php subset of js): php=[native] js=[native,h5]",
"enum incomplete parse for 'weixingzh_gzh_type' (php subset of js): php=[service] js=[service,subscribe]"
],
"info": [
"PHP schema domains: global, page_display, post_list, permissions, users, payment, extensions, tools, ExtensionsAudit, ExtensionsIP, ExtensionsPush, ExtensionsSecurity, ExtensionsSystem, ToolsBackup, ToolsHealth, ToolsImportExport, PostListList",
"Menu pages discovered: 61",
"admin build ok; chunks=31"
"admin build ok; chunks=33"
],
"domains": {
"global": {
@@ -260,24 +258,26 @@
"entry": true,
"missing_chunks": [],
"chunks": [
"SchemaPage.C79jkx8B.js",
"SchemaPage.BBTFBTmo.js",
"vendor-vue.AXlcobq-.js",
"FaIcon.Cta3HYOc.js",
"AksMediaField.CiF8KSwp.js",
"useCollapsibleItems.BqcC9pDK.js",
"vendor-draggable.CsbWt1CM.js",
"FaIconPicker.DJI1XtMq.js",
"shared-api.GLIRMK1p.js",
"vendor-misc.DSSPvhm2.js",
"vendor-draggable.CsbWt1CM.js",
"AksColorPicker.JO2GmxwS.js",
"sortable-options.Do4PkQoR.js",
"level.E3ANSDAX.js",
"badge.CKTsmH1z.js",
"badge.ClviT45t.js",
"vendor-naive.DgdCsaiA.js",
"DeferredPage.CDpa6_lq.js",
"NativeOpsRedirect.CD8j4uaH.js",
"FloatingButtonsSettings.BB4Ds-Vh.js",
"FloatingButtonsSettings.BI3xnao1.js",
"PageHeader.C1t645NL.js",
"FooterTabbarSettings.D7iCVwp2.js",
"PostPageSettings.Cnn7DRgi.js",
"CommentSettings.1g5G6LQL.js",
"FooterTabbarSettings.DcDH4CdV.js",
"PostPageSettings.CIkb2bLS.js",
"CommentSettings.d47RErzk.js",
"PermissionsCapabilities.eEUosHCJ.js",
"CmsCredits.DUise9Hl.js",
"ThemeInfoPage.DuqoCync.js",
@@ -285,9 +285,9 @@
"DocsPage.CBhfO0JX.js",
"UsersVerify.CWq6m0ZY.js",
"UsersLevel.BnvrTSj0.js",
"UsersBadge.CZSYaoC4.js",
"UsersBadge.Cv_yOzWA.js",
"UsersWechatTemplate.BGKwGvbY.js",
"UsersTicket.CoFrcj_8.js",
"UsersTicket.B_nhzy9S.js",
"ToolsImportExport.CuVI1mrN.js",
"ToolsHealth.BT7gJFVm.js",
"ToolsUpdate.59iH8s4m.js"