Browse Source

增加系统配置接口

kobe6258 4 months ago
parent
commit
d12dc31ae7
1 changed files with 11 additions and 11 deletions
  1. 11 11
      service/product/subscribe_servcie.go

+ 11 - 11
service/product/subscribe_servcie.go

@@ -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) {