测试接口
This commit is contained in:
@@ -154,7 +154,7 @@ func (c *EventController) TestWebsocket() {
|
||||
db := dao.GetDB()
|
||||
for _, v := range s {
|
||||
dao.WrapAddIDCULDEntity(&v, "")
|
||||
dao.CreateEntity(db, v)
|
||||
dao.CreateEntity(db, &v)
|
||||
}
|
||||
// fmt.Println("接受到从页面上反馈回来的信息 ", utils.Format4Output(s, false))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user