|
@@ -151,10 +151,10 @@ func SpiderPassCheckLua(liststr, contentstr string, lua map[string]interface{})
|
|
msg = append(msg, "检查代码title的完整性")
|
|
msg = append(msg, "检查代码title的完整性")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- //4.检测sendListNum
|
|
|
|
- //if !strings.Contains(liststr, "sendListNum") {
|
|
|
|
- // msg = append(msg, "sendListNum方法缺失")
|
|
|
|
- //}
|
|
|
|
|
|
+ // 4.检测sendListNum
|
|
|
|
+ if !strings.Contains(liststr, "sendListNum") {
|
|
|
|
+ msg = append(msg, "sendListNum方法缺失")
|
|
|
|
+ }
|
|
return strings.Join(msg, ",")
|
|
return strings.Join(msg, ",")
|
|
}
|
|
}
|
|
|
|
|