feat(payment): align VIP/balance/order schema keys with Zibll
Extract payment readers into AKSRT_Settings_Payment_Runtime and store canonical Zibll option IDs (pay_user_vip_*, pay_balance_*, pay_box_position, pay_mark, pay_rebate_*, pay_income_*) in aksrt_settings with no legacy payment_* dual-read. Update PHP/JS payment schemas and VIP sidebar gate.
This commit is contained in:
1 parent
80d2c5fbc3
commit
d9fbacbce6
12 files changed
+703
-554
No files matched your search
@@ -9,11 +9,11 @@ export const paidSchema = {
|
||||
payment_vip_exempt_roles: '',
|
||||
payment_paid_catalog_note: '',
|
||||
payment_manual_delivery_note: '付费或人工确认内容请在订单备注中记录交付方式。',
|
||||
payment_paid_mark: '付费',
|
||||
pay_mark: '付费',
|
||||
payment_currency_symbol: '¥',
|
||||
payment_paid_show_user: true,
|
||||
payment_paid_show_paycount: true,
|
||||
payment_paid_box_position: 'top',
|
||||
pay_show_user: true,
|
||||
pay_show_paycount: true,
|
||||
pay_box_position: 'top',
|
||||
payment_download_enable: false,
|
||||
payment_download_remote_s: true,
|
||||
payment_download_verify_nonce: true,
|
||||
@@ -47,11 +47,11 @@ export const paidSchema = {
|
||||
title: '展示设置',
|
||||
icon: 'fas fa-eye',
|
||||
fields: [
|
||||
{ key: 'payment_paid_mark', label: '付费标记', type: 'input', default: '付费' },
|
||||
{ key: 'pay_mark', label: '付费标记', type: 'input', default: '付费' },
|
||||
{ key: 'payment_currency_symbol', label: '货币符号', type: 'input', default: '¥', help: '商品价格前缀,如 ¥、$、¥' },
|
||||
{ key: 'payment_paid_show_user', label: '显示购买用户', type: 'switch', default: true },
|
||||
{ key: 'payment_paid_show_paycount', label: '显示购买次数', type: 'switch', default: true },
|
||||
{ key: 'payment_paid_box_position', label: '付费框位置', type: 'radio', default: 'top', options: [{ label: '内容顶部(正文前)', value: 'top' }, { label: '内容底部(正文后)', value: 'bottom' }] },
|
||||
{ key: 'pay_show_user', label: '显示购买用户', type: 'switch', default: true },
|
||||
{ key: 'pay_show_paycount', label: '显示购买次数', type: 'switch', default: true },
|
||||
{ key: 'pay_box_position', label: '付费框位置', type: 'radio', default: 'top', options: [{ label: '内容顶部(正文前)', value: 'top' }, { label: '内容底部(正文后)', value: 'bottom' }] },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user