|
@@ -9,17 +9,17 @@ import (
|
|
|
)
|
|
|
|
|
|
type SubscribeDTO struct {
|
|
|
- Title string
|
|
|
- Abstract string
|
|
|
- SourceId int
|
|
|
- SourceTitle string
|
|
|
- SourceAbstract string
|
|
|
- SourceSrc string
|
|
|
- Type string
|
|
|
- RiskLevel string
|
|
|
- CoverUrl string
|
|
|
- PermissionNames []string
|
|
|
- CreatedDate string
|
|
|
+ Title string `json:"title"`
|
|
|
+ Abstract string `json:"abstract"`
|
|
|
+ SourceId int `json:"sourceId"`
|
|
|
+ SourceTitle string `json:"sourceTitle"`
|
|
|
+ SourceAbstract string `json:"sourceAbstract"`
|
|
|
+ SourceSrc string `json:"sourceSrc"`
|
|
|
+ Type string `json:"type"`
|
|
|
+ RiskLevel string `json:"riskLevel"`
|
|
|
+ CoverUrl string `json:"coverUrl"`
|
|
|
+ PermissionNames []string `json:"permissionNames"`
|
|
|
+ CreatedDate string `json:"createdDate"`
|
|
|
}
|
|
|
|
|
|
func SubscribeList(templateUserId int, productType string, pageInfo page.PageInfo) (list []SubscribeDTO, err error) {
|