This commit is contained in:
苏尹岚
2020-12-17 10:58:17 +08:00
parent ed28a26a6b
commit c7d87be485
2 changed files with 18 additions and 21 deletions

View File

@@ -36,6 +36,9 @@ const (
JobCategoryIDwmtg = 3 //任务类型外卖推广
JobCategoryIDOther = 4 //其他任务类型
JobSpanTop = 1 //置顶
JobSpanRecommend = 2 //推荐
)
var (
@@ -57,7 +60,7 @@ type Job struct {
UserID string `orm:"column(user_id)" json:"userID"` //发布人ID
JobCategoryID int `orm:"column(job_category_id)" json:"jobCategoryID"` //任务类型
JobSpan string `orm:"size(500)" json:"jobSpan"` //任务标签
JobSpan int `json:"jobSpan"` //任务标签
Title string `orm:"size(255)" json:"title"` //任务标题
Content string `orm:"size(500)" json:"content"` //任务内容
Count int `json:"count"` //任务数量