This commit is contained in:
eson 2018-12-20 01:36:57 +08:00
parent 7657f50495
commit e244a441d8

View File

@ -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)
} }