213
This commit is contained in:
parent
7657f50495
commit
e244a441d8
|
@ -29,7 +29,7 @@ func (tt *Toutiao) ToDoParser(adstring string) (string, error) {
|
||||||
|
|
||||||
log.Println(adstring)
|
log.Println(adstring)
|
||||||
adstring = strconv.QuoteToASCII(adstring)
|
adstring = strconv.QuoteToASCII(adstring)
|
||||||
var adlist []interface{}
|
var adlist []string
|
||||||
if err := json.Unmarshal([]byte(adstring), &adlist); err != nil {
|
if err := json.Unmarshal([]byte(adstring), &adlist); err != nil {
|
||||||
log.Println(err)
|
log.Println(err)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user