package entity type DeliverStudy struct { Id int `db:"id" json:"id"` Title string `db:"title" json:"title"` Desc string `db:"desc" json:"desc"` Content string `db:"content" json:"content"` Flag string `db:"flag" json:"flag"` Sortno int `db:"sortno" json:"sortno"` Type string `db:"typ" json:"type"` } type DeliverStudyLog struct { Openid string `db:"openid" json:"openid"` DeliverStudyId int `db:"deliver_study_id" json:"deliver_study_id"` DeliverUserId int `db:"-" json:"deliver_user_id"` }