feat: 将/about界面由Strapi迁移至Directus
- 修改相关路由界面 - 增添相应的视图模型与转换方法
This commit is contained in:
10
app/models/views/CompanyProfileView.ts
Normal file
10
app/models/views/CompanyProfileView.ts
Normal file
@ -0,0 +1,10 @@
|
||||
/**
|
||||
* 公司简介视图模型
|
||||
*/
|
||||
export interface CompanyProfileView {
|
||||
/** 唯一标识符 **/
|
||||
id: number;
|
||||
|
||||
/** 内容 **/
|
||||
content: string;
|
||||
}
|
||||
Reference in New Issue
Block a user