for test
This commit is contained in:
parent
e40493c00f
commit
992aba1b3c
|
@ -41,6 +41,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, data := range adlist {
|
for _, data := range adlist {
|
||||||
|
log.Println("test json -----------------------")
|
||||||
var v interface{}
|
var v interface{}
|
||||||
|
|
||||||
log.Println(gjson.Unmarshal([]byte(data), &v), gjson.Parse(data).Get("app").Exists())
|
log.Println(gjson.Unmarshal([]byte(data), &v), gjson.Parse(data).Get("app").Exists())
|
||||||
|
|
Loading…
Reference in New Issue
Block a user