测试接口

This commit is contained in:
苏尹岚
2020-08-27 14:59:41 +08:00
parent a12e207be1
commit 2a224faf60

View File

@@ -153,8 +153,8 @@ func (c *EventController) TestWebsocket() {
broadcast <- s
db := dao.GetDB()
for _, v := range s {
dao.WrapAddIDCULDEntity(&v, "")
dao.CreateEntity(db, &v)
dao.WrapAddIDCULDEntity(v, "")
dao.CreateEntity(db, v)
}
// fmt.Println("接受到从页面上反馈回来的信息 ", utils.Format4Output(s, false))
}