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
腾讯云QCloud
2核2G4M云服务器,新老用户同享年付¥99、MySQL 1核1G年付仅需¥59 续费与新购同价
665443669
,获取商家优惠推送、禁言。
发表回复