修复未认证提取ip的接口调用户会话

This commit is contained in:
Eamon-meng
2026-04-13 10:23:19 +08:00
parent 8ee8feb2bf
commit c2a0310ee5
4 changed files with 13 additions and 7 deletions

View File

@@ -32,5 +32,5 @@ export async function createChannels(params: {
city?: string city?: string
isp?: number isp?: number
}) { }) {
return callPublic<CreateChannelsResp[]>('/api/channel/create', params) return callByUser<CreateChannelsResp[]>('/api/channel/create', params)
} }

View File

@@ -164,16 +164,21 @@ export default function RecordPage(props: RecordPageProps) {
cell: ({row}) => <div>{row.original.prov}</div>, cell: ({row}) => <div>{row.original.prov}</div>,
accessorKey: 'prov', accessorKey: 'prov',
}, },
{
header: '城市',
cell: ({row}) => <div>{row.original.city}</div>,
accessorKey: 'city',
},
{ {
header: '提取数量', header: '提取数量',
cell: ({row}) => <div>{row.original.count}</div>, cell: ({row}) => <div>{row.original.count}</div>,
accessorKey: 'count', accessorKey: 'count',
}, },
{ // {
header: '资源数量', // header: '资源数量',
cell: ({row}) => <div>{row.original.resource_id}</div>, // cell: ({row}) => <div>{row.original.resource_id}</div>,
accessorKey: 'resource_id', // accessorKey: 'resource_id',
}, // },
{ {
header: '提取时间', header: '提取时间',
cell: ({row}) => { cell: ({row}) => {

View File

@@ -46,7 +46,7 @@ export function DesktopPayment(props: PaymentModalProps) {
<p className="text-sm text-gray-600"> <p className="text-sm text-gray-600">
使 使
{decoration.text} {decoration.text}
{/* 扫码支付 */}
</p> </p>
<div className="w-full text-center space-y-2"> <div className="w-full text-center space-y-2">

View File

@@ -8,4 +8,5 @@ export type Batch = {
time: string time: string
user_id: number user_id: number
prov: string prov: string
city: string
} }