推送远程分支前的排查和修复代码

This commit is contained in:
Eamon-meng
2025-12-20 15:08:12 +08:00
parent e23f89cde6
commit 5b1207783b
12 changed files with 143 additions and 160 deletions

View File

@@ -2,7 +2,7 @@
import {callByUser, callPublic} from '@/actions/base'
import {Channel} from '@/lib/models'
import {PageRecord} from '@/lib/api'
import {BatchRecord} from '@/lib/models/batch'
import {Batch} from '@/lib/models/batch'
export async function listChannels(props: {
page: number
@@ -16,10 +16,6 @@ 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