Commit cd9d61f4 by mushishixian

去掉输出

parent 86ff877f
Showing with 0 additions and 1 deletions
......@@ -96,7 +96,6 @@ func main() {
//先判断返回的data是不是字典,不是字典代表可能是返回字符串了
if gjson.Get(resp.String(), "data").IsObject() {
for goodsIdKey, data := range gjson.Get(resp.String(), "data").Map() {
fmt.Println(data)
//还要去判断是否是bool
if data.IsObject() {
goodsId := data.Get("goods_id").Int()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment