|
@@ -92,6 +92,7 @@ type Report struct {
|
|
|
InheritReportId int `description:"待继承的报告ID"`
|
|
|
VoiceGenerateType int `description:"音频生成方式,0:系统生成,1:人工上传"`
|
|
|
RaiReportId int `description:"RAI报告ID"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
type ReportList struct {
|
|
@@ -158,6 +159,7 @@ type ReportList struct {
|
|
|
InheritReportId int `description:"待继承的报告ID"`
|
|
|
IsCollect int `description:"是否收藏"`
|
|
|
RaiReportId int `description:"RAI报告ID"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
type ReportListResp struct {
|
|
@@ -382,6 +384,7 @@ type ReportDetail struct {
|
|
|
ReportCreateTime time.Time `description:"报告时间创建时间"`
|
|
|
FreeLayoutConfig string `description:"自由布局配置"`
|
|
|
RaiReportId int `description:"RAI报告ID"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
func GetReportById(reportId int) (item *ReportDetail, err error) {
|
|
@@ -526,6 +529,7 @@ type AddReq struct {
|
|
|
IsPublicPublish int8 `description:"是否公开发布,1:是,2:否"`
|
|
|
InheritReportId int `description:"待继承的报告ID"`
|
|
|
GrantAdminIdList []int `description:"授权用户id列表"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
type PrePublishReq struct {
|
|
@@ -570,8 +574,9 @@ type EditReq struct {
|
|
|
EndResourceId int `description:"版尾资源ID"`
|
|
|
//CollaborateType int8 `description:"协作方式,1:个人,2:多人协作。默认:1"`
|
|
|
//ReportLayout int8 `description:"报告布局,1:常规布局,2:智能布局。默认:1"`
|
|
|
- IsPublicPublish int8 `description:"是否公开发布,1:是,2:否"`
|
|
|
- GrantAdminIdList []int `description:"授权用户id列表"`
|
|
|
+ IsPublicPublish int8 `description:"是否公开发布,1:是,2:否"`
|
|
|
+ GrantAdminIdList []int `description:"授权用户id列表"`
|
|
|
+ FreeReportRatio string `description:"自由布局页面比例:A4; 16:9; 4:3; 10:7"`
|
|
|
}
|
|
|
|
|
|
type EditResp struct {
|