代碼如下:func Contain(livesJSON []LiveJSON, single db.Live) bool { for _, json := range livesJSON { if json.Start == single.Time && json.Team == single.HomeTeamId { return false } else { return true } }}我return在if和else。
- 1 回答
- 0 關(guān)注
- 302 瀏覽
添加回答
舉報(bào)
0/150
提交
取消