摘要: 以上这段代码是会报错的,cannot unmarshal string into Go value of type map[string]string 这样看是没啥问题的,但是就是行不通 但是如果改成这样子,就正常了 原因是json这个包的marshal方法返回的虽然是[]byte数组,但是并非简单 阅读全文
posted @ 2019-05-30 20:49 __Miracle 阅读(843) 评论(0) 推荐(0) 编辑