get 請求編碼 格式
et url = "https://www.google.com/search?q=成都市"http://編碼
//let url = appStoreURL.addingPercentEscapes(using: String.Encoding.utf8) //iOS7之前
let newUrl = url.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)! // iOS 9之后。
print("編碼過后的url:\(newUrl)") //編碼過后的url:https://www.google.com/search? q=%E6%88%90%E9%83%BD%E5%B8%82