添加套餐提取记录功能
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
import {callByUser, callPublic} from '@/actions/base'
|
||||
import {Channel} from '@/lib/models'
|
||||
import {PageRecord} from '@/lib/api'
|
||||
import {BatchRecord} from '@/lib/models/batch'
|
||||
|
||||
export async function listChannels(props: {
|
||||
page: number
|
||||
@@ -15,6 +16,10 @@ export async function listChannels(props: {
|
||||
return callByUser<PageRecord<Channel>>('/api/channel/list', props)
|
||||
}
|
||||
|
||||
export async function extractRecord(props: {page: number, size: number}) {
|
||||
return callByUser<PageRecord<BatchRecord>>('/api/batch/page', props)
|
||||
}
|
||||
|
||||
type CreateChannelsResp = {
|
||||
host: string
|
||||
port: string
|
||||
|
||||
Reference in New Issue
Block a user