diff --git a/api/tenant/v1/order_tenant.go b/api/tenant/v1/order_tenant.go
index 0f6a447..8b3397a 100644
--- a/api/tenant/v1/order_tenant.go
+++ b/api/tenant/v1/order_tenant.go
@@ -119,6 +119,7 @@ type TenantPaymentInfoRes struct {
AmountDiscount map[int]float64 `json:"amount_discount,omitempty"`
MinTopUp int `json:"min_topup,omitempty"`
Currency string `json:"currency,omitempty"`
+ PaymentNotice string `json:"payment_notice,omitempty"`
}
// TenantOrderExportReq 导出订单列表请求
diff --git a/internal/logic/common/settings_registry.go b/internal/logic/common/settings_registry.go
index 76ad4f0..673c249 100644
--- a/internal/logic/common/settings_registry.go
+++ b/internal/logic/common/settings_registry.go
@@ -158,6 +158,8 @@ var Registry = []SettingDef{
Label: "支付回调基础URL", Description: "为空则使用请求 Host"},
{Key: "payment_exchange_rate_cny_to_usd", Type: SettingTypeFloat, Default: "0.14", Category: "payment",
Label: "CNY → USD 兑换比例", Description: "1 人民币兑换多少美元(USD → CNY 自动取倒数,确保往返闭合)", Validation: "min:0.001,max:100"},
+ {Key: "payment_notice", Type: SettingTypeString, Default: "", Category: "payment",
+ Label: "支付说明", Description: "展示在租户端钱包充值页的说明文案,支持纯文本或 HTML 代码(如提示充值后不支持退款、指定渠道折扣活动等)。纯文本换行需用
,富文本请直接粘贴 HTML"},
// ── Performance ──
{Key: "global_qps_limit", Type: SettingTypeInt, Default: "10000", Category: "performance",
diff --git a/internal/logic/tenant/order.go b/internal/logic/tenant/order.go
index e94a9d1..16903cf 100644
--- a/internal/logic/tenant/order.go
+++ b/internal/logic/tenant/order.go
@@ -309,6 +309,8 @@ func (s *sTenant) PaymentInfo(ctx context.Context, req *v1.TenantPaymentInfoReq)
res.MinTopUp = int(settings.MinTopUp)
res.Currency = settings.Currency
}
+ // 支付说明由管理员在「系统设置-支付配置」配置,支持纯文本或 HTML,原样下发由前端渲染
+ res.PaymentNotice = lcommon.Config().GetString(ctx, "payment_notice")
return res, nil
}
diff --git a/web/admin/src/views/system/settings/PaymentTab.vue b/web/admin/src/views/system/settings/PaymentTab.vue
index 2560092..0c6490f 100644
--- a/web/admin/src/views/system/settings/PaymentTab.vue
+++ b/web/admin/src/views/system/settings/PaymentTab.vue
@@ -86,6 +86,24 @@ function updateCnyToUsd(usdToCny: number | undefined) {
+
+
+