xxxxxxxxxx
AF.request(urlStr, method: .get, parameters: nil, encoding: URLEncoding.default, headers: nil)
.responseJSON(completionHandler: { response in
switch response.result {
case .success:
let resJSON = JSON(response.value)
case .failure(let error):
print(error)
}
})