|
@@ -59,33 +59,35 @@ type ESReport struct {
|
|
|
}
|
|
|
|
|
|
type ReportDTO struct {
|
|
|
- ReportID int `json:"reportId"`
|
|
|
- OrgId int `json:"orgId"`
|
|
|
- Title string `json:"title"`
|
|
|
- Author string `json:"author"`
|
|
|
- AuthorInfo []Anthor `json:"authorInfo"`
|
|
|
- Source string `json:"source"`
|
|
|
- Abstract string `json:"abstract"`
|
|
|
- PublishedTime string `json:"publishedTime"`
|
|
|
- RiskLevel string `json:"riskLevel"`
|
|
|
- PlateName string `json:"-"`
|
|
|
- ClassifyId int `json:"-"`
|
|
|
- SecondPermission map[int]string `json:"-"`
|
|
|
- Permissions map[int]string `json:"-"`
|
|
|
- PermissionNames interface{} `json:"permissionNames"`
|
|
|
- Highlight []string `json:"highlight"`
|
|
|
- Detail json.RawMessage `json:"detail"`
|
|
|
- PdfUrl string `json:"pdfUrl"`
|
|
|
- CoverSrc int `json:"coverSrc"`
|
|
|
- CoverUrl string `json:"coverUrl"`
|
|
|
- Login bool `json:"login"`
|
|
|
- RiskLevelStatus string `json:"riskLevelStatus"`
|
|
|
- IsFree bool `json:"isFree"`
|
|
|
- IsSubscribe bool `json:"isSubscribe"`
|
|
|
- Price string `json:"price"`
|
|
|
- ProductId int `json:"productId"`
|
|
|
- IsPackage bool `json:"isPackage"`
|
|
|
- Score float64 `json:"score"`
|
|
|
+ Type string `json:"type"`
|
|
|
+ ReportID int `json:"reportId"`
|
|
|
+ OrgId int `json:"orgId"`
|
|
|
+ Title string `json:"title"`
|
|
|
+ Author string `json:"author"`
|
|
|
+ AuthorInfo []Anthor `json:"authorInfo"`
|
|
|
+ Source string `json:"source"`
|
|
|
+ Abstract string `json:"abstract"`
|
|
|
+ PublishedTime string `json:"publishedTime"`
|
|
|
+ RiskLevel string `json:"riskLevel"`
|
|
|
+ PlateName string `json:"-"`
|
|
|
+ ClassifyId int `json:"-"`
|
|
|
+ SecondPermission map[int]string `json:"-"`
|
|
|
+ Permissions map[int]string `json:"-"`
|
|
|
+ PermissionNames interface {
|
|
|
+ } `json:"permissionNames"`
|
|
|
+ Highlight []string `json:"highlight"`
|
|
|
+ Detail json.RawMessage `json:"detail"`
|
|
|
+ PdfUrl string `json:"pdfUrl"`
|
|
|
+ CoverSrc int `json:"coverSrc"`
|
|
|
+ CoverUrl string `json:"coverUrl"`
|
|
|
+ Login bool `json:"login"`
|
|
|
+ RiskLevelStatus string `json:"riskLevelStatus"`
|
|
|
+ IsFree bool `json:"isFree"`
|
|
|
+ IsSubscribe bool `json:"isSubscribe"`
|
|
|
+ Price string `json:"price"`
|
|
|
+ ProductId int `json:"productId"`
|
|
|
+ IsPackage bool `json:"isPackage"`
|
|
|
+ Score float64 `json:"score"`
|
|
|
}
|
|
|
|
|
|
type Detail struct {
|