Almofire 拼接get请求url包含中文报错
2017-11-09 本文已影响10人
z小志
解决办法
let newUrl = url.addingPercentEncoding(withAllowedCharacters: CharacterSet.urlQueryAllowed)
解决办法
let newUrl = url.addingPercentEncoding(withAllowedCharacters: CharacterSet.urlQueryAllowed)