修改订单号规则,增加支付统计列表用户信息展示

This commit is contained in:
2026-06-11 14:26:56 +08:00
parent 28232e62a7
commit debc09877d
4 changed files with 16 additions and 8 deletions
@@ -70,6 +70,7 @@ const AdminPaymentStats: React.FC = () => {
const columns = [
{ title: '订单号', dataIndex: 'orderNo', key: 'orderNo', width: 200 },
{ title: '用户', dataIndex: 'username', key: 'username', width: 120 },
{
title: '支付方式', dataIndex: 'paymentMethod', key: 'paymentMethod', width: 100,
render: (m: string) => {
+1 -1
View File
@@ -128,7 +128,7 @@ export interface PaymentOrder {
id: string;
orderNo: string;
userId: string;
user?: { username: string };
username?: string;
amount: number;
credits: number;
paymentMethod: string;