feat: 打开渠道与脚本自动化分离

This commit is contained in:
DEV_DSW
2026-03-12 17:05:16 +08:00
parent f084e47c58
commit 236f4c7dc1
12 changed files with 201 additions and 132 deletions

View File

@@ -1,27 +1,25 @@
import { v4 as uuidv4 } from 'uuid'
export interface Item {
id: number
id: string
channelName: string
channelUrl: string
}
export const channel: Item[] = [
export const channels: Item[] = [
{
id: 1,
channelName: 'pms',
id: uuidv4(),
channelName: 'fliggy',
channelUrl: 'https://hotel.fliggy.com/ebooking/hotelBaseInfoUv.htm#/ebk/homeV1',
},
{
id: 2,
channelName: 'xc',
id: uuidv4(),
channelName: 'meituan',
channelUrl: 'https://me.meituan.com/ebooking/merchant/product#/index',
},
{
id: 3,
channelName: 'fz',
},
{
id: 4,
channelName: 'mt',
},
{
id: 5,
channelName: 'dy',
},
id: uuidv4(),
channelName: 'douyin',
channelUrl: 'https://life.douyin.com/p/goods_winetour/physical_room_list?groupid=1816249020842116',
}
]