Commit 03a85c6a authored by David黄金龙's avatar David黄金龙

参数提取出来

parent dda66087
......@@ -194,7 +194,10 @@ class YHNetRequest: NSObject {
}
return httpRequest
}
guard let imageData = image.compressOriginalImage(5 * 1024 * 1024) else { return httpRequest }
let size = Int(5 * 1024 * 1024)
guard let imageData = image.compressOriginalImage(size) else { return httpRequest }
let tttt = Double(imageData.count)/1024.0/1024.0
#if DEBUG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment