正在显示
2 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -321,6 +321,9 @@ RCT_EXPORT_METHOD(pay:(NSDictionary *)data | @@ -321,6 +321,9 @@ RCT_EXPORT_METHOD(pay:(NSDictionary *)data | ||
| 321 | completionBlock:^(NSError *error, UIImage *image) { | 321 | completionBlock:^(NSError *error, UIImage *image) { |
| 322 | if ([aData[@"LimitLength"] integerValue]!=0) { | 322 | if ([aData[@"LimitLength"] integerValue]!=0) { |
| 323 | [image compressWithLengthLimit:[aData[@"LimitLength"]integerValue]*1024.f]; | 323 | [image compressWithLengthLimit:[aData[@"LimitLength"]integerValue]*1024.f]; |
| 324 | + }else | ||
| 325 | + { | ||
| 326 | + [image compressWithLengthLimit:32*1024.f]; | ||
| 324 | } | 327 | } |
| 325 | [self shareToWeixinWithData:aData thumbImage:image scene:aScene callBack:aCallBack]; | 328 | [self shareToWeixinWithData:aData thumbImage:image scene:aScene callBack:aCallBack]; |
| 326 | }]; | 329 | }]; |
-
请 注册 或 登录 后发表评论