fix error

This commit is contained in:
Jay 2018-10-14 21:26:18 +08:00
parent 31dcbe81bb
commit ffd6d516cc

View File

@ -18,7 +18,10 @@ func GetLineList(c *context.Context) {
list := make([]map[string]interface{}, 0)
if ls != nil {
for v := range ls {
for _, v := range ls {
if v == nil {
continue
}
list = append(list, utils.ToMap(v))
}
}