This commit is contained in:
huangsimin 2018-12-20 10:34:56 +08:00
parent e40493c00f
commit 992aba1b3c

View File

@ -41,6 +41,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
}
for _, data := range adlist {
log.Println("test json -----------------------")
var v interface{}
log.Println(gjson.Unmarshal([]byte(data), &v), gjson.Parse(data).Get("app").Exists())