This commit is contained in:
苏尹岚
2020-10-29 09:50:30 +08:00
parent 48035f22b6
commit cb5eb09bba
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ const (
type Job struct {
ModelIDCULD
UserID string `orm:"column(user_id)" json:"thingID"` //发布人ID
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"` //任务标签
Title string `orm:"size(255)" json:"title"` //任务标题

View File

@@ -134,10 +134,10 @@ func (c *EventController) TestWebsocket() {
//接受消息 业务逻辑
msgMap[s.GroupID] = s
broadcast <- msgMap
go func() {
utils.CallFuncAsync(func() {
dao.WrapAddIDCULDEntity(s, "")
dao.CreateEntity(db, s)
}()
})
}
}
}