Commit 2ea8f489 authored by David黄金龙's avatar David黄金龙

使用 2M 图片

parent 9edb0d01
......@@ -198,7 +198,7 @@ class YHNetRequest: NSObject {
}
let size = Int(5 * 1024 * 1024)
let size = Int(2 * 1024 * 1024)
guard let imageData = image.compressOriginalImage(size) else { return httpRequest }
let tttt = Double(imageData.count)/1024.0/1024.0
......
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