zwxi 9 months ago
parent
commit
0d63cb94ce
2 changed files with 2 additions and 0 deletions
  1. 1 0
      controllers/excel_info.go
  2. 1 0
      models/response/excel_info.go

+ 1 - 0
controllers/excel_info.go

@@ -173,6 +173,7 @@ func (this *ExcelInfoController) GetTableDetail() {
 	resp.ExcelImage = excelInfo.ExcelImage
 	resp.UniqueCode = excelInfo.UniqueCode
 	resp.Config = config
+	resp.SourcesFrom = excelInfo.SourcesFrom
 
 	if utils.Re == nil {
 		data, _ := json.Marshal(resp)

+ 1 - 0
models/response/excel_info.go

@@ -15,6 +15,7 @@ type ExcelTableDetailResp struct {
 	ExcelType  int    `description:"表格类型,1:指标列,2:日期列,默认:1"`
 	ExcelImage string `description:"表格截图"`
 	ExcelName  string `description:"表格名称"`
+	SourcesFrom     string    `description:"图表来源"`
 	TableInfo  excel.TableData
 	Config     ExcelTableDetailConfigResp
 }