interface{}读取非常不方便,将其转换成map类型后就可以读取了
#res是个interface{}
res.(map[string]interface{})
参考:http://stackoverflow.com/questions/25214036/getting-invalid-operation-mymaptitle-type-interface-does-not-support-in
interface{}读取非常不方便,将其转换成map类型后就可以读取了
#res是个interface{}
res.(map[string]interface{})
参考:http://stackoverflow.com/questions/25214036/getting-invalid-operation-mymaptitle-type-interface-does-not-support-in
2024腾讯云QCloud
618年中大促 2核2G4M云服务器 新老同享 99元/年
665443669
,获取商家优惠推送、禁言。
发表回复