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