摘要: let infoDictionary = Bundle.main.infoDictionary!let appversion = infoDictionary["CFBundleShortVersionString"] as! String //获取app的版本号 let deviceId = UI 阅读全文
posted @ 2019-10-25 19:18 荣超 阅读(435) 评论(0) 推荐(0)
摘要: 一种方式是把参数放到Parameters里面 request 增加 encoding:URLEncoding.default 就可以 还有中文在path上 比如 http://www.chao.com/chao/name/张三 这种方式需要处理url编码 url是字符串类型 url.addingPe 阅读全文
posted @ 2019-10-25 19:15 荣超 阅读(310) 评论(0) 推荐(0)