|
@@ -27,23 +27,23 @@ func (m *CygxTag) Update(cols []string) (err error) {
|
|
|
}
|
|
|
|
|
|
type CygxTagList struct {
|
|
|
- TagId int64 `orm:"column(tag_id);pk"`
|
|
|
- TagName string `orm:"column(tag_name);NOT NULL"`
|
|
|
- ArticleTypes string `orm:"column(article_types);NOT NULL"`
|
|
|
- ActivityTypes string `orm:"column(activity_types);NOT NULL"`
|
|
|
- Industries string `orm:"column(industries);NOT NULL"`
|
|
|
- SubjectNames string `orm:"column(subject_names);NOT NULL"`
|
|
|
- Sort int `orm:"column(sort);"`
|
|
|
- ModifyTime string `orm:"column(modify_time)"`
|
|
|
- CreateTime string `orm:"column(create_time)"`
|
|
|
- OnlineTime string `orm:"column(online_time)"`
|
|
|
- OfflineTime string `orm:"column(offline_time)"`
|
|
|
- Status int `orm:"column(status);NOT NULL"`
|
|
|
- Atag bool
|
|
|
- Btag bool
|
|
|
- Ctag bool
|
|
|
- Dtag bool
|
|
|
- CheckList []string
|
|
|
+ TagId int64 `orm:"column(tag_id);pk"`
|
|
|
+ TagName string `orm:"column(tag_name);NOT NULL"`
|
|
|
+ ArticleTypes string `orm:"column(article_types);NOT NULL"`
|
|
|
+ ActivityTypes string `orm:"column(activity_types);NOT NULL"`
|
|
|
+ Industries string `orm:"column(industries);NOT NULL"`
|
|
|
+ SubjectNames string `orm:"column(subject_names);NOT NULL"`
|
|
|
+ Sort int `orm:"column(sort);"`
|
|
|
+ ModifyTime string `orm:"column(modify_time)"`
|
|
|
+ CreateTime string `orm:"column(create_time)"`
|
|
|
+ OnlineTime string `orm:"column(online_time)"`
|
|
|
+ OfflineTime string `orm:"column(offline_time)"`
|
|
|
+ Status int `orm:"column(status);NOT NULL"`
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ CheckList []string
|
|
|
}
|
|
|
|
|
|
type CygxTagListResp struct {
|