AF.upload(multipartFormData: { multipartFormData in
multipartFormData.append(data, withName: "Image")
}, to: url, usingThreshold: UInt64.init(), method: .post, headers: httpHeaders, interceptor: nil, fileManager: .default)
我收到此错误:
“对成员'upload(multipartFormData:to:usingThreshold:method:headers:interceptor:fileManager :)的不明确引用”]
尝试此代码