chenshijun
2020-03-31 6d9477b720f2ba12b85b3007e2a07777eca9e01b
调整picid和infoid的校验
1个文件已修改
3 ■■■■ 已修改文件
shmqueue.go 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
shmqueue.go
@@ -164,7 +164,8 @@
    var elems []ElemInfo
    for i := 0; i < len(eqi.EsCaches); i++ {
        if eqi.EsCaches[i].value.PicId != 0 && eqi.EsCaches[i].value.InfoId != 0 {
        if eqi.EsCaches[i].value.PicId != -1 && eqi.EsCaches[i].value.InfoId != -1 &&
            eqi.EsCaches[i].value.PicId != 0 && eqi.EsCaches[i].value.InfoId != 0 {
            elems = append(elems, eqi.EsCaches[i].value)
        }
    }