35 lines
551 B
TypeScript
35 lines
551 B
TypeScript
import type { Paging } from '@/model/base'
|
|
|
|
export interface CreateCarousalsRequest {
|
|
imageUrl: string
|
|
targetType: string
|
|
targetUrl: string
|
|
targetId?: string
|
|
}
|
|
|
|
export interface Category {
|
|
id: string
|
|
code: string
|
|
name: string
|
|
isClick?: boolean
|
|
}
|
|
|
|
export interface ArticleParams extends Paging {
|
|
title: string
|
|
categoryId: string
|
|
}
|
|
|
|
export interface Article {
|
|
id: string
|
|
content: string
|
|
status: string
|
|
title: string
|
|
updatedTime?: string
|
|
imageUrl?: string
|
|
}
|
|
|
|
export interface Recommends {
|
|
id: string
|
|
keyword: string
|
|
}
|