feat: 接口增加泛型支持

This commit is contained in:
a876691666
2022-11-27 12:16:32 +08:00
parent 02ec3c78d6
commit f8ebaa60b1
8 changed files with 153 additions and 68 deletions
+39
View File
@@ -0,0 +1,39 @@
export type ProjectItem = {
/**
* 项目 id
*/
id: string
/**
* 项目名称
*/
projectName: string
/**
* 项目状态:\
* -1: 未发布\
* 1: 已发布
*/
state: number
/**
* 创建时间
*/
createTime: string
/**
* 预览图片url
*/
indexImage: string
/**
* 创建者 id
*/
createUserId: string
/**
* 项目备注
*/
remarks: string
}
export interface ProejctDetail extends ProjectItem {
/**
* 项目参数
*/
content: string
}