瀏覽代碼

修改-权限

apple 5 年之前
父節點
當前提交
e410590544

二進制
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate


+ 16 - 0
ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -16,5 +16,21 @@
             stopOnStyle = "0">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "120DB225-A73C-4685-8633-F090E5E00212"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "JianYuIOS/Classes&#xff08;&#x6a21;&#x5757;&#xff09;/JYNewSearchViewController.m"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "897"
+            endingLineNumber = "897"
+            landmarkName = "-jsGetCipherText:"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>

+ 1 - 1
ios/JianYuIOS/JianYuIOS/AppDelegate.m

@@ -235,7 +235,7 @@
     //查看粘贴板数据
     NSString  *content = [UIPasteboard generalPasteboard].string;
     //发通知
-    //粘贴板内容:你身边的人都在用剑鱼标讯超级订阅找商机就差你了!%20复制这条信息:AEWYJJLKN,打开【剑鱼标讯APP】识别复制口令,快速获取全国招标项目!
+    //你身边的人都在用剑鱼标讯超级订阅找商机就差你了!%20复制这条信息:AEWYJJLKN,打开【剑鱼标讯APP】识别复制口令,快速获取全国招标项目!
     NSLog(@"粘贴板内容:%@",content);
     if ([content containsString:@"剑鱼标讯"]&&[GlobalData shareInstance].isOpen == YES) {
         //如果符合条件发送通知

+ 2 - 2
ios/JianYuIOS/JianYuIOS/BaseClass1/PrefixHeader.pch

@@ -152,7 +152,7 @@ _Pragma("clang diagnostic pop")\
 #import "ZKFaceVerifyMsgView.h"
 
 
-#define kHost @"http://web-jydev-ws.jianyu360.cn/" //王山
+//#define kHost @"http://web-jydev-ws.jianyu360.cn/" //王山
 
 //#define kHost @"http://web-jydev-zyh.jianyu360.cn/" //张雨涵
 
@@ -164,7 +164,7 @@ _Pragma("clang diagnostic pop")\
 
 //#define kHost @"http://web-jydev-xzh.jianyu360.cn/" //徐志恒
 
-//#define kHost @"http://app2-jytest.jianyu360.cn/"  //测试http
+#define kHost @"http://app2-jytest.jianyu360.cn/"  //测试http
 
 //#define kHost @"http://app-i1.jianyu360.com/"   //新正式
 

+ 10 - 8
ios/JianYuIOS/JianYuIOS/Classes(模块)/JYNewExpViewController.m

@@ -1544,15 +1544,17 @@ NSString *const new_AesKey_3 = @"mGlAgnIBB8bx2nch";
         NSLog(@"%@",progress);
     } success:^(id responseObject) {
         NSLog(@"responseObject=%@",responseObject);
-        if ([responseObject objectForKey:@"data"]&&responseObject[@"data"]!=nil) {
+        if ([responseObject objectForKey:@"data"]) {
             NSDictionary *dict = [[NSDictionary alloc]initWithDictionary:responseObject[@"data"]];
-            self.clipboardView.title =dict[@"title"];
-            self.clipboardView.subTitle =dict[@"subTitle"];
-            self.clipboardView.imgUrl =dict[@"imgUrl"];
-            self.clipboardView.appUrl =dict[@"appUrl"];
-            self.clipboardView.butTxt =dict[@"butTxt"];
-            self.clipboardView.bottomTxt =dict[@"bottomTxt"];
-            [self.clipboardView show];
+            if ([dict objectForKey:@"title"]) {
+                self.clipboardView.title =dict[@"title"];
+                self.clipboardView.subTitle =dict[@"subTitle"];
+                self.clipboardView.imgUrl =dict[@"imgUrl"];
+                self.clipboardView.appUrl =dict[@"appUrl"];
+                self.clipboardView.butTxt =dict[@"butTxt"];
+                self.clipboardView.bottomTxt =dict[@"bottomTxt"];
+                [self.clipboardView show];
+            }
         }
     } failure:^(NSError *error) {
         NSLog(@"error=%@",error);

+ 11 - 9
ios/JianYuIOS/JianYuIOS/Classes(模块)/JYNewMineViewController.m

@@ -1023,8 +1023,8 @@ NSString *const new_AesKey_4 = @"mGlAgnIBB8bx2nch";
 //保存图片到相册
 #pragma mark 保存图片
 -(void)jsSavePic:(NSDictionary *)dict {
+
     NSString *base64ImgData = [NSString stringWithFormat:@"%@",dict[@"imgbase64"]];
-    base64ImgData = [base64ImgData stringByReplacingOccurrencesOfString:@"data:image/png;base64," withString:@""];
     NSData *data = [[NSData alloc]initWithBase64EncodedString:base64ImgData options:NSDataBase64DecodingIgnoreUnknownCharacters];
     UIImage *saveImg = [UIImage imageWithData:data];
     UIImageWriteToSavedPhotosAlbum(saveImg, self, @selector(image:didFinishSavingWithError:contextInfo:), NULL);
@@ -1582,15 +1582,17 @@ NSString *const new_AesKey_4 = @"mGlAgnIBB8bx2nch";
         NSLog(@"%@",progress);
     } success:^(id responseObject) {
         NSLog(@"responseObject=%@",responseObject);
-        if ([responseObject objectForKey:@"data"]&&responseObject[@"data"]!=nil) {
+        if ([responseObject objectForKey:@"data"]) {
             NSDictionary *dict = [[NSDictionary alloc]initWithDictionary:responseObject[@"data"]];
-            self.clipboardView.title =dict[@"title"];
-            self.clipboardView.subTitle =dict[@"subTitle"];
-            self.clipboardView.imgUrl =dict[@"imgUrl"];
-            self.clipboardView.appUrl =dict[@"appUrl"];
-            self.clipboardView.butTxt =dict[@"butTxt"];
-            self.clipboardView.bottomTxt =dict[@"bottomTxt"];
-            [self.clipboardView show];
+            if ([dict objectForKey:@"title"]) {
+                self.clipboardView.title =dict[@"title"];
+                self.clipboardView.subTitle =dict[@"subTitle"];
+                self.clipboardView.imgUrl =dict[@"imgUrl"];
+                self.clipboardView.appUrl =dict[@"appUrl"];
+                self.clipboardView.butTxt =dict[@"butTxt"];
+                self.clipboardView.bottomTxt =dict[@"bottomTxt"];
+                [self.clipboardView show];
+            }
         }
     } failure:^(NSError *error) {
         NSLog(@"error=%@",error);

+ 10 - 8
ios/JianYuIOS/JianYuIOS/Classes(模块)/JYNewSearchViewController.m

@@ -2028,15 +2028,17 @@ NSString *const new_AesKey_1 = @"mGlAgnIBB8bx2nch";
         NSLog(@"%@",progress);
     } success:^(id responseObject) {
         NSLog(@"responseObject=%@",responseObject);
-        if ([responseObject objectForKey:@"data"]&&responseObject[@"data"]!=nil) {
+        if ([responseObject objectForKey:@"data"]) {
             NSDictionary *dict = [[NSDictionary alloc]initWithDictionary:responseObject[@"data"]];
-            self.clipboardView.title =dict[@"title"];
-            self.clipboardView.subTitle =dict[@"subTitle"];
-            self.clipboardView.imgUrl =dict[@"imgUrl"];
-            self.clipboardView.appUrl =dict[@"appUrl"];
-            self.clipboardView.butTxt =dict[@"butTxt"];
-            self.clipboardView.bottomTxt =dict[@"bottomTxt"];
-            [self.clipboardView show];
+            if ([dict objectForKey:@"title"]) {
+                self.clipboardView.title =dict[@"title"];
+                self.clipboardView.subTitle =dict[@"subTitle"];
+                self.clipboardView.imgUrl =dict[@"imgUrl"];
+                self.clipboardView.appUrl =dict[@"appUrl"];
+                self.clipboardView.butTxt =dict[@"butTxt"];
+                self.clipboardView.bottomTxt =dict[@"bottomTxt"];
+                [self.clipboardView show];
+            }
         }
     } failure:^(NSError *error) {
         NSLog(@"error=%@",error);

+ 10 - 8
ios/JianYuIOS/JianYuIOS/Classes(模块)/JYNewSubViewController.m

@@ -1558,15 +1558,17 @@ NSString *const new_AesKey_2 = @"mGlAgnIBB8bx2nch";
         NSLog(@"%@",progress);
     } success:^(id responseObject) {
         NSLog(@"responseObject=%@",responseObject);
-        if ([responseObject objectForKey:@"data"]&&responseObject[@"data"]!=nil) {
+        if ([responseObject objectForKey:@"data"]) {
             NSDictionary *dict = [[NSDictionary alloc]initWithDictionary:responseObject[@"data"]];
-            self.clipboardView.title =dict[@"title"];
-            self.clipboardView.subTitle =dict[@"subTitle"];
-            self.clipboardView.imgUrl =dict[@"imgUrl"];
-            self.clipboardView.appUrl =dict[@"appUrl"];
-            self.clipboardView.butTxt =dict[@"butTxt"];
-            self.clipboardView.bottomTxt =dict[@"bottomTxt"];
-            [self.clipboardView show];
+            if ([dict objectForKey:@"title"]) {
+                self.clipboardView.title =dict[@"title"];
+                self.clipboardView.subTitle =dict[@"subTitle"];
+                self.clipboardView.imgUrl =dict[@"imgUrl"];
+                self.clipboardView.appUrl =dict[@"appUrl"];
+                self.clipboardView.butTxt =dict[@"butTxt"];
+                self.clipboardView.bottomTxt =dict[@"bottomTxt"];
+                [self.clipboardView show];
+            }
         }
     } failure:^(NSError *error) {
         NSLog(@"error=%@",error);

+ 2 - 0
ios/JianYuIOS/JianYuIOS/Info.plist

@@ -168,6 +168,8 @@
 用于您未设置订阅信息时,为您推送当前地区最新招投标信息</string>
 	<key>NSMicrophoneUsageDescription</key>
 	<string>是否允许“剑鱼标讯”访问您的麦克风,用于获取获取声音?</string>
+	<key>NSPhotoLibraryAddUsageDescription</key>
+	<string>是否允许“剑鱼标讯”访问您的相册,用于保存照片?</string>
 	<key>NSPhotoLibraryUsageDescription</key>
 	<string>是否允许“剑鱼标讯”访问您的相册,用于获取照片?</string>
 	<key>UIBackgroundModes</key>

+ 5 - 0
ios/JianYuIOS/JianYuIOS/tool/ZKClipboardView.m

@@ -129,6 +129,11 @@
 -(void)show
 {
     [[ZKModal sharedInstance] showWithContentView:self andAnimated:YES];
+    [[ZKModal sharedInstance] setTapOutsideToDismiss:NO];
+    
+    //清粘贴板
+    [[UIPasteboard generalPasteboard]setString:@""];
+    
 }
 -(void)dismiss
 {