From f2d769b354abe93fd0965242d2526bef62401cb5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=93=88=E5=8D=97?= <wjywjwww@163.com>
Date: Mon, 8 Oct 2018 13:52:36 +0800
Subject: [PATCH] no message

---
 total/GTOApp/UserUtil/PictureCell/ZJPictureTableViewCell.m | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/total/GTOApp/UserUtil/PictureCell/ZJPictureTableViewCell.m b/total/GTOApp/UserUtil/PictureCell/ZJPictureTableViewCell.m
index c6508fc..480312f 100755
--- a/total/GTOApp/UserUtil/PictureCell/ZJPictureTableViewCell.m
+++ b/total/GTOApp/UserUtil/PictureCell/ZJPictureTableViewCell.m
@@ -155,7 +155,7 @@
         [IBTLoadingView showTextOnly:[NSString stringWithFormat:@"最多添加%.0f张照片",self.viewModel.maxPictureNumber]];
         return;
     }
-    UIImage *newImage = [image rescaleImageToPX:1080];
+    UIImage *newImage = [image rescaleImageToPX:540];
     NSDictionary *fontDict = @{NSForegroundColorAttributeName:[UIColor yellowColor],NSFontAttributeName:[UIFont systemFontOfSize:17]};
     UIImage *waterImage = [newImage imageWaterMarkWithString:self.remarkString point:CGPointMake(20, newImage.size.height - 20) attribute:fontDict];
     NSString *imageName = [self saveImageToLocal:waterImage];
@@ -181,6 +181,7 @@
     //加密
     NSData *newimageData = UIImageJPEGRepresentation(image, 0.5);
     NSString *imageName = [ToolsManager md5Data:newimageData];
+    
     //获取沙盒目录
     NSString *fullPath = [kPathDocument stringByAppendingPathComponent:imageName];
     //将图片写入文件
-- 
2.18.1