美文网首页ios开发整理
AFN 报错 Invalid parameter not sat

AFN 报错 Invalid parameter not sat

作者: wvqusrtg | 来源:发表于2017-12-19 16:32 被阅读6次

url = http://xxxxxxxx/HXTAPPPWebs.ashx?ServerType=A06&Goods={

"UserID" : "47",

"GoodsNo" : "005",

"GoodsAmmount" : "10",

"GoodsQty" : "2",

"GoodsSize" : "",

"UnitPrice" : "9.390000000000001",

"GoodsColor" : ""

}

解决:编码问题

addShoppingCartUrlStr = [addShoppingCartUrlStrstringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];

相关文章

网友评论

    本文标题:AFN 报错 Invalid parameter not sat

    本文链接:https://www.haomeiwen.com/subject/dhhiwxtx.html