@tplc/business
Version:
20 lines (19 loc) • 439 B
TypeScript
export interface AdvertItem {
adContent: string
advertId: string
closeTime: number
closeType: string
createDate: string
jumpType: number
lastModifyDate: string
pageType: string
type: number
title?: string
weightSort: string
}
/** 获取公告 */
export declare const getAdvertList: (data: {
pageType: string
/** 1: 文字 2: 图片 */
type: 1 | 2
}) => Promise<import('../../../action').IResData<AdvertItem[]>>