更新 Category 结构
This commit is contained in:
		@@ -126,18 +126,18 @@ type Article struct {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
type Category struct {
 | 
					type Category struct {
 | 
				
			||||||
	ID         int
 | 
						ID         int       `json:"id"`
 | 
				
			||||||
	Title      string
 | 
						Title      string    `json:"title"`
 | 
				
			||||||
	Keyword    string
 | 
						Keyword    string    `json:"keyword"`
 | 
				
			||||||
	ParentID   int
 | 
						ParentID   int       `json:"parent_id"`
 | 
				
			||||||
	CreateTime time.Time
 | 
						Status     int       `json:"status"`
 | 
				
			||||||
	UpdateTime time.Time
 | 
						Content    string    `json:"content"`
 | 
				
			||||||
	Status     int
 | 
						Sort       int       `json:"sort"`
 | 
				
			||||||
	Content    string
 | 
						Image      string    `json:"image"`
 | 
				
			||||||
	Sort       int
 | 
						ImageNum   int       `json:"image_num"`
 | 
				
			||||||
	Image      string
 | 
						ArticleNum int       `json:"article_num"`
 | 
				
			||||||
	ImageNum   int
 | 
						CreateTime time.Time `json:"create_time"`
 | 
				
			||||||
	ArticleNum int
 | 
						UpdateTime time.Time `json:"update_time"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// TableName 方法用于自定义表名
 | 
					// TableName 方法用于自定义表名
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user