初始化 ui.

This commit is contained in:
lijiahang
2023-07-24 10:05:07 +08:00
parent 99725eb97a
commit f01f696d37
235 changed files with 39010 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import axios from 'axios';
export interface BaseInfoModel {
activityName: string;
channelType: string;
promotionTime: string[];
promoteLink: string;
}
export interface ChannelInfoModel {
advertisingSource: string;
advertisingMedia: string;
keyword: string[];
pushNotify: boolean;
advertisingContent: string;
}
export type UnitChannelModel = BaseInfoModel & ChannelInfoModel;
export function submitChannelForm(data: UnitChannelModel) {
return axios.post('/api/channel-form/submit', { data });
}