Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a8a1826c9 | ||
|
|
c2a0310ee5 |
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lanhu-web",
|
||||
"version": "1.3.0",
|
||||
"version": "1.4.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -H 0.0.0.0 --turbopack",
|
||||
|
||||
@@ -32,5 +32,5 @@ export async function createChannels(params: {
|
||||
city?: string
|
||||
isp?: number
|
||||
}) {
|
||||
return callPublic<CreateChannelsResp[]>('/api/channel/create', params)
|
||||
return callByUser<CreateChannelsResp[]>('/api/channel/create', params)
|
||||
}
|
||||
|
||||
@@ -164,16 +164,21 @@ export default function RecordPage(props: RecordPageProps) {
|
||||
cell: ({row}) => <div>{row.original.prov}</div>,
|
||||
accessorKey: 'prov',
|
||||
},
|
||||
{
|
||||
header: '城市',
|
||||
cell: ({row}) => <div>{row.original.city}</div>,
|
||||
accessorKey: 'city',
|
||||
},
|
||||
{
|
||||
header: '提取数量',
|
||||
cell: ({row}) => <div>{row.original.count}</div>,
|
||||
accessorKey: 'count',
|
||||
},
|
||||
{
|
||||
header: '资源数量',
|
||||
cell: ({row}) => <div>{row.original.resource_id}</div>,
|
||||
accessorKey: 'resource_id',
|
||||
},
|
||||
// {
|
||||
// header: '资源数量',
|
||||
// cell: ({row}) => <div>{row.original.resource_id}</div>,
|
||||
// accessorKey: 'resource_id',
|
||||
// },
|
||||
{
|
||||
header: '提取时间',
|
||||
cell: ({row}) => {
|
||||
|
||||
@@ -46,7 +46,7 @@ export function DesktopPayment(props: PaymentModalProps) {
|
||||
<p className="text-sm text-gray-600">
|
||||
请使用
|
||||
{decoration.text}
|
||||
扫码支付
|
||||
{/* 扫码支付 */}
|
||||
</p>
|
||||
|
||||
<div className="w-full text-center space-y-2">
|
||||
|
||||
@@ -8,4 +8,5 @@ export type Batch = {
|
||||
time: string
|
||||
user_id: number
|
||||
prov: string
|
||||
city: string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user