瀏覽代碼

支付相关配置

apple 6 年之前
父節點
當前提交
5cf12d0c5b
共有 25 個文件被更改,包括 2211 次插入294 次删除
  1. 90 8
      ios/JianYuIOS/JianYuIOS.xcodeproj/project.pbxproj
  2. 1 1
      ios/JianYuIOS/JianYuIOS.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/JianYuIOS.xcscheme
  3. 二進制
      ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/UserInterfaceState.xcuserstate
  4. 48 0
      ios/JianYuIOS/JianYuIOS.xcworkspace/xcuserdata/apple.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  5. 126 132
      ios/JianYuIOS/JianYuIOS/AppDelegate.m
  6. 25 9
      ios/JianYuIOS/JianYuIOS/BaseClass1/PrefixHeader.pch
  7. 156 82
      ios/JianYuIOS/JianYuIOS/Classes(模块)/JYSearchViewController.m
  8. 二進制
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/bar@2x.png
  9. 二進制
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/refresh@2x.png
  10. 二進制
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/refresh_click@2x.png
  11. 二進制
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/shutdown@2x.png
  12. 二進制
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/shutdown_click@2x.png
  13. 二進制
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.framework/AlipaySDK
  14. 33 0
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.framework/Headers/APayAuthInfo.h
  15. 170 0
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.framework/Headers/AlipaySDK.h
  16. 98 0
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/README.txt
  17. 196 0
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/WXApi.h
  18. 1101 0
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/WXApiObject.h
  19. 68 0
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/WechatAuthSDK.h
  20. 二進制
      ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/libWeChatSDK.a
  21. 11 18
      ios/JianYuIOS/Pods/Pods.xcodeproj/project.pbxproj
  22. 22 11
      ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/AFNetworking.xcscheme
  23. 22 11
      ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/FMDB.xcscheme
  24. 22 11
      ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/MBProgressHUD.xcscheme
  25. 22 11
      ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/Pods-JianYuIOS.xcscheme

+ 90 - 8
ios/JianYuIOS/JianYuIOS.xcodeproj/project.pbxproj

@@ -17,6 +17,20 @@
 		188037202193EB25006F9D7B /* JYSubViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1880371B2193EB25006F9D7B /* JYSubViewController.m */; };
 		188037202193EB25006F9D7B /* JYSubViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1880371B2193EB25006F9D7B /* JYSubViewController.m */; };
 		188037212193EB25006F9D7B /* JYExpViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1880371C2193EB25006F9D7B /* JYExpViewController.m */; };
 		188037212193EB25006F9D7B /* JYExpViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1880371C2193EB25006F9D7B /* JYExpViewController.m */; };
 		18C9D8E7219A5F9F001AC829 /* UITabBar+badge.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C9D8E6219A5F9F001AC829 /* UITabBar+badge.m */; };
 		18C9D8E7219A5F9F001AC829 /* UITabBar+badge.m in Sources */ = {isa = PBXBuildFile; fileRef = 18C9D8E6219A5F9F001AC829 /* UITabBar+badge.m */; };
+		18E05CF922F11CDE001E5B44 /* README.txt in Resources */ = {isa = PBXBuildFile; fileRef = 18E05CF322F11CDD001E5B44 /* README.txt */; };
+		18E05CFA22F11CDE001E5B44 /* libWeChatSDK.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05CF522F11CDD001E5B44 /* libWeChatSDK.a */; };
+		18E05CFB22F11CDE001E5B44 /* AlipaySDK.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 18E05CF722F11CDD001E5B44 /* AlipaySDK.bundle */; };
+		18E05CFC22F11CDE001E5B44 /* AlipaySDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05CF822F11CDD001E5B44 /* AlipaySDK.framework */; };
+		18E05CFE22F11D4E001E5B44 /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05CFD22F11D4E001E5B44 /* CoreMotion.framework */; };
+		18E05D0022F11D58001E5B44 /* libc.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05CFF22F11D58001E5B44 /* libc.tbd */; };
+		18E05D0222F11D62001E5B44 /* libc++.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05D0122F11D62001E5B44 /* libc++.tbd */; };
+		18E05D0422F11D69001E5B44 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05D0322F11D69001E5B44 /* SystemConfiguration.framework */; };
+		18E05D0622F11D72001E5B44 /* CoreTelephony.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05D0522F11D72001E5B44 /* CoreTelephony.framework */; };
+		18E05D0822F11D78001E5B44 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05D0722F11D78001E5B44 /* QuartzCore.framework */; };
+		18E05D0A22F11D7F001E5B44 /* CoreText.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05D0922F11D7F001E5B44 /* CoreText.framework */; };
+		18E05D0C22F11D86001E5B44 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05D0B22F11D86001E5B44 /* UIKit.framework */; };
+		18E05D0E22F11D8D001E5B44 /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05D0D22F11D8D001E5B44 /* CFNetwork.framework */; };
+		18E05D1022F11D97001E5B44 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 18E05D0F22F11D97001E5B44 /* Foundation.framework */; };
 		9ADF6A094C6E01A55F2E47CC /* libPods-JianYuIOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0CA962A24EED00910F83394E /* libPods-JianYuIOS.a */; };
 		9ADF6A094C6E01A55F2E47CC /* libPods-JianYuIOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0CA962A24EED00910F83394E /* libPods-JianYuIOS.a */; };
 		C519972C2020238D007946E8 /* LXUserDefaults.m in Sources */ = {isa = PBXBuildFile; fileRef = C51997232020238D007946E8 /* LXUserDefaults.m */; };
 		C519972C2020238D007946E8 /* LXUserDefaults.m in Sources */ = {isa = PBXBuildFile; fileRef = C51997232020238D007946E8 /* LXUserDefaults.m */; };
 		C519972D2020238D007946E8 /* LXMD5.m in Sources */ = {isa = PBXBuildFile; fileRef = C51997242020238D007946E8 /* LXMD5.m */; };
 		C519972D2020238D007946E8 /* LXMD5.m in Sources */ = {isa = PBXBuildFile; fileRef = C51997242020238D007946E8 /* LXMD5.m */; };
@@ -85,6 +99,23 @@
 		18B2DF4021ACDA5D00B5C93F /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
 		18B2DF4021ACDA5D00B5C93F /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
 		18C9D8E5219A5F9F001AC829 /* UITabBar+badge.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UITabBar+badge.h"; sourceTree = "<group>"; };
 		18C9D8E5219A5F9F001AC829 /* UITabBar+badge.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "UITabBar+badge.h"; sourceTree = "<group>"; };
 		18C9D8E6219A5F9F001AC829 /* UITabBar+badge.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UITabBar+badge.m"; sourceTree = "<group>"; };
 		18C9D8E6219A5F9F001AC829 /* UITabBar+badge.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = "UITabBar+badge.m"; sourceTree = "<group>"; };
+		18E05CF122F11CDD001E5B44 /* WXApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApi.h; sourceTree = "<group>"; };
+		18E05CF222F11CDD001E5B44 /* WXApiObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WXApiObject.h; sourceTree = "<group>"; };
+		18E05CF322F11CDD001E5B44 /* README.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = README.txt; sourceTree = "<group>"; };
+		18E05CF422F11CDD001E5B44 /* WechatAuthSDK.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WechatAuthSDK.h; sourceTree = "<group>"; };
+		18E05CF522F11CDD001E5B44 /* libWeChatSDK.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libWeChatSDK.a; sourceTree = "<group>"; };
+		18E05CF722F11CDD001E5B44 /* AlipaySDK.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; path = AlipaySDK.bundle; sourceTree = "<group>"; };
+		18E05CF822F11CDD001E5B44 /* AlipaySDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AlipaySDK.framework; sourceTree = "<group>"; };
+		18E05CFD22F11D4E001E5B44 /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
+		18E05CFF22F11D58001E5B44 /* libc.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libc.tbd; path = usr/lib/libc.tbd; sourceTree = SDKROOT; };
+		18E05D0122F11D62001E5B44 /* libc++.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = "libc++.tbd"; path = "usr/lib/libc++.tbd"; sourceTree = SDKROOT; };
+		18E05D0322F11D69001E5B44 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
+		18E05D0522F11D72001E5B44 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; };
+		18E05D0722F11D78001E5B44 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
+		18E05D0922F11D7F001E5B44 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; };
+		18E05D0B22F11D86001E5B44 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+		18E05D0D22F11D8D001E5B44 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; };
+		18E05D0F22F11D97001E5B44 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
 		775098970477D1E68FB48E59 /* Pods-JianYuIOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-JianYuIOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS.debug.xcconfig"; sourceTree = "<group>"; };
 		775098970477D1E68FB48E59 /* Pods-JianYuIOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-JianYuIOS.debug.xcconfig"; path = "Pods/Target Support Files/Pods-JianYuIOS/Pods-JianYuIOS.debug.xcconfig"; sourceTree = "<group>"; };
 		C51997222020238D007946E8 /* LXViewControllerManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LXViewControllerManager.h; sourceTree = "<group>"; };
 		C51997222020238D007946E8 /* LXViewControllerManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LXViewControllerManager.h; sourceTree = "<group>"; };
 		C51997232020238D007946E8 /* LXUserDefaults.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LXUserDefaults.m; sourceTree = "<group>"; };
 		C51997232020238D007946E8 /* LXUserDefaults.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LXUserDefaults.m; sourceTree = "<group>"; };
@@ -136,8 +167,20 @@
 			isa = PBXFrameworksBuildPhase;
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
 			buildActionMask = 2147483647;
 			files = (
 			files = (
+				18E05D1022F11D97001E5B44 /* Foundation.framework in Frameworks */,
+				18E05D0E22F11D8D001E5B44 /* CFNetwork.framework in Frameworks */,
+				18E05D0C22F11D86001E5B44 /* UIKit.framework in Frameworks */,
+				18E05D0A22F11D7F001E5B44 /* CoreText.framework in Frameworks */,
+				18E05D0822F11D78001E5B44 /* QuartzCore.framework in Frameworks */,
+				18E05D0622F11D72001E5B44 /* CoreTelephony.framework in Frameworks */,
+				18E05D0422F11D69001E5B44 /* SystemConfiguration.framework in Frameworks */,
+				18E05D0222F11D62001E5B44 /* libc++.tbd in Frameworks */,
+				18E05D0022F11D58001E5B44 /* libc.tbd in Frameworks */,
+				18E05CFE22F11D4E001E5B44 /* CoreMotion.framework in Frameworks */,
 				C550BF362018591400F0BC2A /* CoreGraphics.framework in Frameworks */,
 				C550BF362018591400F0BC2A /* CoreGraphics.framework in Frameworks */,
+				18E05CFC22F11CDE001E5B44 /* AlipaySDK.framework in Frameworks */,
 				C550BF342018590A00F0BC2A /* libsqlite3.tbd in Frameworks */,
 				C550BF342018590A00F0BC2A /* libsqlite3.tbd in Frameworks */,
+				18E05CFA22F11CDE001E5B44 /* libWeChatSDK.a in Frameworks */,
 				9ADF6A094C6E01A55F2E47CC /* libPods-JianYuIOS.a in Frameworks */,
 				9ADF6A094C6E01A55F2E47CC /* libPods-JianYuIOS.a in Frameworks */,
 			);
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			runOnlyForDeploymentPostprocessing = 0;
@@ -159,13 +202,6 @@
 /* End PBXFrameworksBuildPhase section */
 /* End PBXFrameworksBuildPhase section */
 
 
 /* Begin PBXGroup section */
 /* Begin PBXGroup section */
-		183487ED21A8E68A009FDA1D /* Libs(第三方) */ = {
-			isa = PBXGroup;
-			children = (
-			);
-			path = "Libs(第三方)";
-			sourceTree = "<group>";
-		};
 		188037092193EAD1006F9D7B /* Classes(模块) */ = {
 		188037092193EAD1006F9D7B /* Classes(模块) */ = {
 			isa = PBXGroup;
 			isa = PBXGroup;
 			children = (
 			children = (
@@ -183,6 +219,36 @@
 			path = "Classes(模块)";
 			path = "Classes(模块)";
 			sourceTree = "<group>";
 			sourceTree = "<group>";
 		};
 		};
+		18E05CEF22F11CDD001E5B44 /* Libs(第三方) */ = {
+			isa = PBXGroup;
+			children = (
+				18E05CF022F11CDD001E5B44 /* WeChatSDK1.8.4 */,
+				18E05CF622F11CDD001E5B44 /* AlipaySDK */,
+			);
+			path = "Libs(第三方)";
+			sourceTree = "<group>";
+		};
+		18E05CF022F11CDD001E5B44 /* WeChatSDK1.8.4 */ = {
+			isa = PBXGroup;
+			children = (
+				18E05CF122F11CDD001E5B44 /* WXApi.h */,
+				18E05CF222F11CDD001E5B44 /* WXApiObject.h */,
+				18E05CF322F11CDD001E5B44 /* README.txt */,
+				18E05CF422F11CDD001E5B44 /* WechatAuthSDK.h */,
+				18E05CF522F11CDD001E5B44 /* libWeChatSDK.a */,
+			);
+			path = WeChatSDK1.8.4;
+			sourceTree = "<group>";
+		};
+		18E05CF622F11CDD001E5B44 /* AlipaySDK */ = {
+			isa = PBXGroup;
+			children = (
+				18E05CF722F11CDD001E5B44 /* AlipaySDK.bundle */,
+				18E05CF822F11CDD001E5B44 /* AlipaySDK.framework */,
+			);
+			path = AlipaySDK;
+			sourceTree = "<group>";
+		};
 		6EA6142EFDB37618478F7732 /* Pods */ = {
 		6EA6142EFDB37618478F7732 /* Pods */ = {
 			isa = PBXGroup;
 			isa = PBXGroup;
 			children = (
 			children = (
@@ -195,6 +261,16 @@
 		954256EB2ECEF2507E4350ED /* Frameworks */ = {
 		954256EB2ECEF2507E4350ED /* Frameworks */ = {
 			isa = PBXGroup;
 			isa = PBXGroup;
 			children = (
 			children = (
+				18E05D0F22F11D97001E5B44 /* Foundation.framework */,
+				18E05D0D22F11D8D001E5B44 /* CFNetwork.framework */,
+				18E05D0B22F11D86001E5B44 /* UIKit.framework */,
+				18E05D0922F11D7F001E5B44 /* CoreText.framework */,
+				18E05D0722F11D78001E5B44 /* QuartzCore.framework */,
+				18E05D0522F11D72001E5B44 /* CoreTelephony.framework */,
+				18E05D0322F11D69001E5B44 /* SystemConfiguration.framework */,
+				18E05D0122F11D62001E5B44 /* libc++.tbd */,
+				18E05CFF22F11D58001E5B44 /* libc.tbd */,
+				18E05CFD22F11D4E001E5B44 /* CoreMotion.framework */,
 				18B2DF4021ACDA5D00B5C93F /* WebKit.framework */,
 				18B2DF4021ACDA5D00B5C93F /* WebKit.framework */,
 				C550BF352018591400F0BC2A /* CoreGraphics.framework */,
 				C550BF352018591400F0BC2A /* CoreGraphics.framework */,
 				C550BF332018590A00F0BC2A /* libsqlite3.tbd */,
 				C550BF332018590A00F0BC2A /* libsqlite3.tbd */,
@@ -273,7 +349,7 @@
 		C5BE6E392011D99100F28B36 /* JianYuIOS */ = {
 		C5BE6E392011D99100F28B36 /* JianYuIOS */ = {
 			isa = PBXGroup;
 			isa = PBXGroup;
 			children = (
 			children = (
-				183487ED21A8E68A009FDA1D /* Libs(第三方) */,
+				18E05CEF22F11CDD001E5B44 /* Libs(第三方) */,
 				C5321C73202BD8800023CFEA /* CustomView */,
 				C5321C73202BD8800023CFEA /* CustomView */,
 				C519972120202348007946E8 /* BaseClass1 */,
 				C519972120202348007946E8 /* BaseClass1 */,
 				C5493106201F04120080CD63 /* Image */,
 				C5493106201F04120080CD63 /* Image */,
@@ -441,6 +517,7 @@
 				C5D01D7E20282543007F207E /* back_normal@2x.png in Resources */,
 				C5D01D7E20282543007F207E /* back_normal@2x.png in Resources */,
 				C55FF3C020230E7E0088AECC /* NewWebController.xib in Resources */,
 				C55FF3C020230E7E0088AECC /* NewWebController.xib in Resources */,
 				C5493110201F11F40080CD63 /* logo.png in Resources */,
 				C5493110201F11F40080CD63 /* logo.png in Resources */,
+				18E05CFB22F11CDE001E5B44 /* AlipaySDK.bundle in Resources */,
 				C5FE4B5220468AED00CC8A2F /* noNet@2x.png in Resources */,
 				C5FE4B5220468AED00CC8A2F /* noNet@2x.png in Resources */,
 				C550BEFB20180AF000F0BC2A /* Info.plist in Resources */,
 				C550BEFB20180AF000F0BC2A /* Info.plist in Resources */,
 				C5B194D4202EA46D00F0AC76 /* arrowLeft@2x.png in Resources */,
 				C5B194D4202EA46D00F0AC76 /* arrowLeft@2x.png in Resources */,
@@ -448,6 +525,7 @@
 				C5BE6E442011D99100F28B36 /* Assets.xcassets in Resources */,
 				C5BE6E442011D99100F28B36 /* Assets.xcassets in Resources */,
 				C555EC2A2047E57C0084642F /* NoNetView.xib in Resources */,
 				C555EC2A2047E57C0084642F /* NoNetView.xib in Resources */,
 				C5FE4B5B2046AC1E00CC8A2F /* start13@2x.png in Resources */,
 				C5FE4B5B2046AC1E00CC8A2F /* start13@2x.png in Resources */,
+				18E05CF922F11CDE001E5B44 /* README.txt in Resources */,
 				C5BE6E422011D99100F28B36 /* Main.storyboard in Resources */,
 				C5BE6E422011D99100F28B36 /* Main.storyboard in Resources */,
 			);
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			runOnlyForDeploymentPostprocessing = 0;
@@ -705,6 +783,7 @@
 					"$(inherited)",
 					"$(inherited)",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialUI",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialUI",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialSDK",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialSDK",
+					"$(PROJECT_DIR)/JianYuIOS/Libs(第三方)/AlipaySDK",
 				);
 				);
 				GCC_INCREASE_PRECOMPILED_HEADER_SHARING = YES;
 				GCC_INCREASE_PRECOMPILED_HEADER_SHARING = YES;
 				GCC_PREFIX_HEADER = "$(SRCROOT)/JianYuIOS/BaseClass1/PrefixHeader.pch";
 				GCC_PREFIX_HEADER = "$(SRCROOT)/JianYuIOS/BaseClass1/PrefixHeader.pch";
@@ -717,6 +796,7 @@
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/SocialLibraries/QQ",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/SocialLibraries/QQ",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialSDKPlugin",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialSDKPlugin",
 					"$(PROJECT_DIR)/JianYuIOS/Libs(第三方)/WeChatSDK1.8.3",
 					"$(PROJECT_DIR)/JianYuIOS/Libs(第三方)/WeChatSDK1.8.3",
+					"$(PROJECT_DIR)/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4",
 				);
 				);
 				OTHER_LDFLAGS = (
 				OTHER_LDFLAGS = (
 					"$(inherited)",
 					"$(inherited)",
@@ -785,6 +865,7 @@
 					"$(inherited)",
 					"$(inherited)",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialUI",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialUI",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialSDK",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialSDK",
+					"$(PROJECT_DIR)/JianYuIOS/Libs(第三方)/AlipaySDK",
 				);
 				);
 				GCC_INCREASE_PRECOMPILED_HEADER_SHARING = YES;
 				GCC_INCREASE_PRECOMPILED_HEADER_SHARING = YES;
 				GCC_PREFIX_HEADER = "$(SRCROOT)/JianYuIOS/BaseClass1/PrefixHeader.pch";
 				GCC_PREFIX_HEADER = "$(SRCROOT)/JianYuIOS/BaseClass1/PrefixHeader.pch";
@@ -797,6 +878,7 @@
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/SocialLibraries/QQ",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/SocialLibraries/QQ",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialSDKPlugin",
 					"$(PROJECT_DIR)/JianYuIOS/ThirdSDK/UMSocial/UMSocialSDKPlugin",
 					"$(PROJECT_DIR)/JianYuIOS/Libs(第三方)/WeChatSDK1.8.3",
 					"$(PROJECT_DIR)/JianYuIOS/Libs(第三方)/WeChatSDK1.8.3",
+					"$(PROJECT_DIR)/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4",
 				);
 				);
 				OTHER_LDFLAGS = (
 				OTHER_LDFLAGS = (
 					"$(inherited)",
 					"$(inherited)",

+ 1 - 1
ios/JianYuIOS/JianYuIOS.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/JianYuIOS.xcscheme

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
 <Scheme
-   LastUpgradeVersion = "0930"
+   LastUpgradeVersion = "1010"
    version = "1.3">
    version = "1.3">
    <BuildAction
    <BuildAction
       parallelizeBuildables = "YES"
       parallelizeBuildables = "YES"

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


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

@@ -13,5 +13,53 @@
             stopOnStyle = "0">
             stopOnStyle = "0">
          </BreakpointContent>
          </BreakpointContent>
       </BreakpointProxy>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "JianYuIOS/Classes&#xff08;&#x6a21;&#x5757;&#xff09;/JYSearchViewController.m"
+            timestampString = "586227241.678602"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "1191"
+            endingLineNumber = "1191"
+            landmarkName = "-jsPayAlipay:"
+            landmarkType = "7">
+            <Locations>
+               <Location
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "-[JYSearchViewController jsPayAlipay:]"
+                  moduleName = "JianYuIOS"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/apple/Desktop/jyiosapp/ios/JianYuIOS/JianYuIOS/Classes%EF%BC%88%E6%A8%A1%E5%9D%97%EF%BC%89/JYSearchViewController.m"
+                  timestampString = "586227241.797628"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "1191"
+                  endingLineNumber = "1191"
+                  offsetFromSymbolStart = "39">
+               </Location>
+               <Location
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "__38-[JYSearchViewController jsPayAlipay:]_block_invoke"
+                  moduleName = "JianYuIOS"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/apple/Desktop/jyiosapp/ios/JianYuIOS/JianYuIOS/Classes%EF%BC%88%E6%A8%A1%E5%9D%97%EF%BC%89/JYSearchViewController.m"
+                  timestampString = "586227241.802071"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "1192"
+                  endingLineNumber = "1192"
+                  offsetFromSymbolStart = "54">
+               </Location>
+            </Locations>
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
    </Breakpoints>
 </Bucket>
 </Bucket>

+ 126 - 132
ios/JianYuIOS/JianYuIOS/AppDelegate.m

@@ -20,7 +20,7 @@
 #import "JYTabBarController.h"
 #import "JYTabBarController.h"
 
 
 
 
-@interface AppDelegate ()<JPUSHRegisterDelegate>
+@interface AppDelegate ()<JPUSHRegisterDelegate,WXApiDelegate>
 
 
 @property(nonatomic, strong)UIImageView *imgView;
 @property(nonatomic, strong)UIImageView *imgView;
 @property(nonatomic, assign)BOOL wakeUpBool;
 @property(nonatomic, assign)BOOL wakeUpBool;
@@ -58,7 +58,7 @@
     }else {
     }else {
         self.wakeUpBool = NO;
         self.wakeUpBool = NO;
     }
     }
-  
+    
     return YES;
     return YES;
 }
 }
 
 
@@ -69,8 +69,8 @@
         // 可以添加自定义categories
         // 可以添加自定义categories
         // NSSet<UNNotificationCategory *> *categories for iOS10 or later
         // NSSet<UNNotificationCategory *> *categories for iOS10 or later
         // NSSet<UIUserNotificationCategory *> *categories for iOS8 and iOS9
         // NSSet<UIUserNotificationCategory *> *categories for iOS8 and iOS9
-//        UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound categories:nil];
-//        [[UIApplication sharedApplication] registerUserNotificationSettings:settings];
+        //        UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:UIUserNotificationTypeAlert | UIUserNotificationTypeBadge | UIUserNotificationTypeSound categories:nil];
+        //        [[UIApplication sharedApplication] registerUserNotificationSettings:settings];
     }
     }
     [JPUSHService registerForRemoteNotificationConfig:entity delegate:self];
     [JPUSHService registerForRemoteNotificationConfig:entity delegate:self];
     
     
@@ -93,9 +93,9 @@
         NSLog(@"registrationID==%@",registrationID);
         NSLog(@"registrationID==%@",registrationID);
         [LXUserDefaults saveRegistrationID:registrationID];
         [LXUserDefaults saveRegistrationID:registrationID];
     }];
     }];
-//    NSDictionary * userInfo =
+    
     [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
     [launchOptions objectForKey:UIApplicationLaunchOptionsRemoteNotificationKey];
-
+    
     
     
 }
 }
 
 
@@ -110,7 +110,7 @@
 }
 }
 
 
 - (void)confitUShareSettings{
 - (void)confitUShareSettings{
-//     打开图片水印
+    //     打开图片水印
     //[UMSocialGlobal shareInstance].isUsingWaterMark = YES;
     //[UMSocialGlobal shareInstance].isUsingWaterMark = YES;
     //[UMSocialGlobal shareInstance].isUsingHttpsWhenShareContent = NO;
     //[UMSocialGlobal shareInstance].isUsingHttpsWhenShareContent = NO;
 }
 }
@@ -125,6 +125,12 @@
 
 
 
 
 
 
+
+
+
+
+
+
 - (void)applicationWillResignActive:(UIApplication *)application {
 - (void)applicationWillResignActive:(UIApplication *)application {
     // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
     // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
     // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
     // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
@@ -133,14 +139,7 @@
 
 
 - (void)applicationDidEnterBackground:(UIApplication *)application {
 - (void)applicationDidEnterBackground:(UIApplication *)application {
     [self addImgView];
     [self addImgView];
-//    sleep(1);
-//    UNMutableNotificationContent *content = [[UNMutableNotificationContent alloc] init];
-//    content.badge = @(-1);
-//    UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:@"clearBadge" content:content trigger:nil];
-//    [[UNUserNotificationCenter currentNotificationCenter] addNotificationRequest:request withCompletionHandler:^(NSError * _Nullable error) {
-//    }];
-//
-//    NSLog(@"applicationDidEnterBackground");
+    //    sleep(1);
 }
 }
 
 
 
 
@@ -155,6 +154,7 @@
     [self removeImgView];
     [self removeImgView];
     [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];
     [[UIApplication sharedApplication] setApplicationIconBadgeNumber:0];
     [JPUSHService setBadge:0];
     [JPUSHService setBadge:0];
+    
     [LXUserDefaults saveNotifyState:[[UIApplication sharedApplication] currentUserNotificationSettings].types != UIUserNotificationTypeNone ? 1 : 0];
     [LXUserDefaults saveNotifyState:[[UIApplication sharedApplication] currentUserNotificationSettings].types != UIUserNotificationTypeNone ? 1 : 0];
     [LXUserDefaults saveIsInstallWeiXin:[[UMSocialManager defaultManager] isInstall:UMSocialPlatformType_WechatSession]?@"1":@"0"];
     [LXUserDefaults saveIsInstallWeiXin:[[UMSocialManager defaultManager] isInstall:UMSocialPlatformType_WechatSession]?@"1":@"0"];
     [[NSNotificationCenter defaultCenter] postNotificationName:kUpdateNotifyState object:nil];
     [[NSNotificationCenter defaultCenter] postNotificationName:kUpdateNotifyState object:nil];
@@ -163,14 +163,7 @@
 
 
 - (void)applicationWillTerminate:(UIApplication *)application {
 - (void)applicationWillTerminate:(UIApplication *)application {
     // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
     // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-//    sleep(1);
-//    UNMutableNotificationContent *content = [[UNMutableNotificationContent alloc] init];
-//    content.badge = @(-1);
-//    UNNotificationRequest *request = [UNNotificationRequest requestWithIdentifier:@"clearBadge" content:content trigger:nil];
-//    [[UNUserNotificationCenter currentNotificationCenter] addNotificationRequest:request withCompletionHandler:^(NSError * _Nullable error) {
-//    }];
-//
-//    NSLog(@"applicationWillTerminate");
+    
 }
 }
 
 
 
 
@@ -189,20 +182,11 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
 // iOS 10 Support
 // iOS 10 Support
 - (void)jpushNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(NSInteger))completionHandler {
 - (void)jpushNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(NSInteger))completionHandler {
     // Required
     // Required
-
+    
     NSDictionary * userInfo = notification.request.content.userInfo;
     NSDictionary * userInfo = notification.request.content.userInfo;
     if([notification.request.trigger isKindOfClass:[UNPushNotificationTrigger class]]) {
     if([notification.request.trigger isKindOfClass:[UNPushNotificationTrigger class]]) {
         [JPUSHService handleRemoteNotification:userInfo];
         [JPUSHService handleRemoteNotification:userInfo];
     }
     }
-//    NSDictionary *info = userInfo[@"info"];
-//    if (info ) {
-//        NSMutableDictionary *temp = [NSMutableDictionary dictionaryWithDictionary:info];
-//        if (userInfo[@"type"]) {
-//            [temp setObject:userInfo[@"type"] forKey:@"type"];
-//        }
-//        [[LXDataBaseManager shareDataBaseManager] insertMessage:temp toTable:kNewsTable];
-//    }
-    
     
     
     completionHandler(UNNotificationPresentationOptionAlert); // 需要执行这个方法,选择是否提醒用户,有Badge、Sound、Alert三种类型可以选择设置
     completionHandler(UNNotificationPresentationOptionAlert); // 需要执行这个方法,选择是否提醒用户,有Badge、Sound、Alert三种类型可以选择设置
 }
 }
@@ -210,7 +194,7 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
 // iOS 10 Support 点击通知
 // iOS 10 Support 点击通知
 - (void)jpushNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)())completionHandler {
 - (void)jpushNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)())completionHandler {
     // Required;
     // Required;
-
+    
     NSDictionary * userInfo = response.notification.request.content.userInfo;
     NSDictionary * userInfo = response.notification.request.content.userInfo;
     
     
     if([response.notification.request.trigger isKindOfClass:[UNPushNotificationTrigger class]]) {
     if([response.notification.request.trigger isKindOfClass:[UNPushNotificationTrigger class]]) {
@@ -223,51 +207,23 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
 }
 }
 
 
 -(void)clickNotification:(NSDictionary *)userInfo{
 -(void)clickNotification:(NSDictionary *)userInfo{
-  
+    NSLog(@"%@",userInfo);
     NSDictionary *info = userInfo[@"info"];
     NSDictionary *info = userInfo[@"info"];
     if ([info isKindOfClass:[NSString class]]) {
     if ([info isKindOfClass:[NSString class]]) {
         info = [[LXViewControllerManager shareViewControllerManager] dictionaryWithJsonString:userInfo[@"info"]];
         info = [[LXViewControllerManager shareViewControllerManager] dictionaryWithJsonString:userInfo[@"info"]];
     }
     }
     if (info ) {
     if (info ) {
-//        NSMutableDictionary *temp = [NSMutableDictionary dictionaryWithDictionary:info];
+        
         if (info[@"url"]) {
         if (info[@"url"]) {
             
             
-//            if (userInfo[@"type"] && ![userInfo[@"type"] isEqualToString:@""]) {
-//                [temp setObject:userInfo[@"type"] forKey:@"type"];
-//            }
-//
-//
-//            NSString *pushTime = info[@"pushTime"];
-//            if (pushTime && ![pushTime isEqualToString:@""]) {
-//
-//                if (![[LXDataBaseManager shareDataBaseManager] returnPushTime:info[@"pushTime"] inTable:kNewsTable]) {
-////                    [[LXDataBaseManager shareDataBaseManager] insertMessage:temp toTable:kNewsTable];
-//                }
-//                [[LXDataBaseManager shareDataBaseManager] changeReadedWithPushTime:info[@"pushTime"]];
-//                if (!info[@"type"] || [info[@"type"] isEqualToString:@""]) {
-//                    NSString *ids = [[LXDataBaseManager shareDataBaseManager] returnID:info[@"pushTime"] inTable:kNewsTable];
-//                    if (ids) {
-//                        [temp setObject:[NSString stringWithFormat:@"%@%@", info[@"url"], ids] forKey:@"url"];
-//                    }
-//                }
-//            }else{
-//
-//                if (![[LXDataBaseManager shareDataBaseManager] returnURL:info[@"url"] openid:info[@"openid"] inTable:kNewsTable]) {
-////                    [[LXDataBaseManager shareDataBaseManager] insertMessage:temp toTable:kNewsTable];
-//                }
-//                [[LXDataBaseManager shareDataBaseManager] changeReadedWithURL:info[@"url"] openid:info[@"openid"]];
-//                NSString *ids = [[LXDataBaseManager shareDataBaseManager] returnIDWithUrl:info[@"url"] openid:info[@"openid"] inTable:kNewsTable];
-//                if (ids) {
-//                    [temp setObject:[NSString stringWithFormat:@"%@%@", info[@"url"], ids] forKey:@"url"];
-//                }
-//            }
             
             
             // 跳转到该链接
             // 跳转到该链接
             
             
-
+            
             
             
             if([userInfo[@"type"] isEqualToString:@"bid"]) {
             if([userInfo[@"type"] isEqualToString:@"bid"]) {
                 //如果是订阅消息
                 //如果是订阅消息
+                NSLog(@"%@",userInfo);
                 [[NSNotificationCenter defaultCenter] postNotificationName:ClickSubNotiMethods object:userInfo userInfo:nil];
                 [[NSNotificationCenter defaultCenter] postNotificationName:ClickSubNotiMethods object:userInfo userInfo:nil];
             }else {
             }else {
                 [[NSNotificationCenter defaultCenter] postNotificationName:kRequestWebViewWithUrl object:userInfo userInfo:nil];
                 [[NSNotificationCenter defaultCenter] postNotificationName:kRequestWebViewWithUrl object:userInfo userInfo:nil];
@@ -280,36 +236,36 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
             }
             }
             
             
             NSLog(@"%@",info);
             NSLog(@"%@",info);
-             if([userInfo[@"type"] isEqualToString:@"message"]) {
-                 
-                 [[LXDataBaseManager shareDataBaseManager] changeCatagoryTypeWithURL:userInfo[@"url"]];
-                 
-                 NSDictionary * infoDic;
-                 if(self.wakeUpBool) {
-                     //刚启动
-                     infoDic = @{@"url":info[@"url"],
-                                 @"rectype":@"A",
-                                 @"openid":info[@"openid"],
-                                 };
-                 }else {
-                     infoDic = @{@"url":info[@"url"],
-                                 @"rectype":@"C",
-                                 @"openid":info[@"openid"],
-                                 };
-                 }
-                 
-                 self.wakeUpBool = NO;
-                 //post请求
-                 NSLog(@"%@",[NSString stringWithFormat:@"%@jyapp/free/message/receive",kHost]);
-                 [[LXNetworkManager shareLXNetworkManager]postWithURLStr:[NSString stringWithFormat:@"%@jyapp/free/message/receive",kHost] parameters:infoDic progress:^(NSProgress *progress) {
-                     NSLog(@"%@",progress);
-                 } success:^(id responseObject) {
-                     NSLog(@"responseObject=%@",responseObject);
-                 } failure:^(NSError *error) {
-                     NSLog(@"error=%@",error);
-                 }];
-             }
-         
+            if([userInfo[@"type"] isEqualToString:@"message"]) {
+                
+                [[LXDataBaseManager shareDataBaseManager] changeCatagoryTypeWithURL:userInfo[@"url"]];
+                
+                NSDictionary * infoDic;
+                if(self.wakeUpBool) {
+                    //刚启动
+                    infoDic = @{@"url":info[@"url"],
+                                @"rectype":@"A",
+                                @"openid":info[@"openid"],
+                                };
+                }else {
+                    infoDic = @{@"url":info[@"url"],
+                                @"rectype":@"C",
+                                @"openid":info[@"openid"],
+                                };
+                }
+                
+                self.wakeUpBool = NO;
+                //post请求
+                NSLog(@"%@",[NSString stringWithFormat:@"%@jyapp/free/message/receive",kHost]);
+                [[LXNetworkManager shareLXNetworkManager]postWithURLStr:[NSString stringWithFormat:@"%@jyapp/free/message/receive",kHost] parameters:infoDic progress:^(NSProgress *progress) {
+                    NSLog(@"%@",progress);
+                } success:^(id responseObject) {
+                    NSLog(@"responseObject=%@",responseObject);
+                } failure:^(NSError *error) {
+                    NSLog(@"error=%@",error);
+                }];
+            }
+            
             
             
             
             
             
             
@@ -346,43 +302,13 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
     NSLog(@"info--新消息%@",info);
     NSLog(@"info--新消息%@",info);
     if (info ) {
     if (info ) {
         if (info[@"url"]) {
         if (info[@"url"]) {
-//            NSString *pushTime = info[@"pushTime"];
-//            if (pushTime && ![pushTime isEqualToString:@""]) {
-//
-//                if (![[LXDataBaseManager shareDataBaseManager] returnPushTime:info[@"pushTime"] inTable:kNewsTable]) {
-//                    NSMutableDictionary *temp = [NSMutableDictionary dictionaryWithDictionary:info];
-//                    if (userInfo[@"type"]) {
-//                        [temp setObject:userInfo[@"type"] forKey:@"type"];
-//                    }
-////                    [[LXDataBaseManager shareDataBaseManager] insertMessage:temp toTable:kNewsTable];
-//                }
-//            }
-//            else{
-//
-//                if([info[@"type"] isEqualToString:@"message"]) {
-//                    NSMutableDictionary *temp = [NSMutableDictionary dictionaryWithDictionary:info];
-//                    if (userInfo[@"type"]) {
-//                        [temp setObject:userInfo[@"type"] forKey:@"type"];
-//                    }
-////                    [[LXDataBaseManager shareDataBaseManager] insertMessage:temp toTable:kNewsTable];
-//                }else {
-//                    if (![[LXDataBaseManager shareDataBaseManager] returnURL:info[@"url"] openid:info[@"openid"] inTable:kNewsTable]) {
-//                        NSMutableDictionary *temp = [NSMutableDictionary dictionaryWithDictionary:info];
-//                        if (userInfo[@"type"]) {
-//                            [temp setObject:userInfo[@"type"] forKey:@"type"];
-//                        }
-////                        [[LXDataBaseManager shareDataBaseManager] insertMessage:temp toTable:kNewsTable];
-//                    }
-//                }
-//
-//            }
             
             
             [[NSNotificationCenter defaultCenter] postNotificationName:kAfterReceiveNewMsg object:nil];
             [[NSNotificationCenter defaultCenter] postNotificationName:kAfterReceiveNewMsg object:nil];
             
             
             
             
-//
+            //
             if([userInfo[@"type"] isEqualToString:@"message"]) {
             if([userInfo[@"type"] isEqualToString:@"message"]) {
-            
+                
                 NSDictionary * infoDic = @{@"url":info[@"url"],
                 NSDictionary * infoDic = @{@"url":info[@"url"],
                                            @"rectype":@"D",
                                            @"rectype":@"D",
                                            @"openid":info[@"openid"],
                                            @"openid":info[@"openid"],
@@ -397,7 +323,7 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
                 } failure:^(NSError *error) {
                 } failure:^(NSError *error) {
                     NSLog(@"error=%@",error);
                     NSLog(@"error=%@",error);
                 }];
                 }];
-
+                
             }
             }
             
             
             if([userInfo[@"type"] isEqualToString:@"bid"]) {
             if([userInfo[@"type"] isEqualToString:@"bid"]) {
@@ -436,8 +362,8 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
 - (void)networkDidReceiveMessage:(NSNotification *)notification {
 - (void)networkDidReceiveMessage:(NSNotification *)notification {
     NSDictionary * userInfo = [notification userInfo];
     NSDictionary * userInfo = [notification userInfo];
     NSString *content = [userInfo valueForKey:@"content"];
     NSString *content = [userInfo valueForKey:@"content"];
-//    NSDictionary *extras = [userInfo valueForKey:@"extras"];
-//    NSString *customizeField1 = [extras valueForKey:@"customizeField1"]; //服务端传递的Extras附加字段,key是自己定
+    //    NSDictionary *extras = [userInfo valueForKey:@"extras"];
+    //    NSString *customizeField1 = [extras valueForKey:@"customizeField1"]; //服务端传递的Extras附加字段,key是自己定
     if ([LXUserDefaults token] && userInfo[@"content_type"] && [userInfo[@"content_type"] isEqualToString:@"signOut"]) {
     if ([LXUserDefaults token] && userInfo[@"content_type"] && [userInfo[@"content_type"] isEqualToString:@"signOut"]) {
         
         
         
         
@@ -453,7 +379,7 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
     }
     }
 }
 }
 
 
-
+// NOTE: 9.0以后使用新API接口
 - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
 - (BOOL)application:(UIApplication *)application handleOpenURL:(NSURL *)url
 {
 {
     BOOL result = [[UMSocialManager defaultManager] handleOpenURL:url];
     BOOL result = [[UMSocialManager defaultManager] handleOpenURL:url];
@@ -462,6 +388,38 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
         if ([url.scheme isEqualToString:@"wx0e6a5b18f4cfd10d"]) {
         if ([url.scheme isEqualToString:@"wx0e6a5b18f4cfd10d"]) {
             return  [WXApi handleOpenURL:url delegate:(id<WXApiDelegate>)self];
             return  [WXApi handleOpenURL:url delegate:(id<WXApiDelegate>)self];
         }
         }
+        
+        if ([url.host isEqualToString:@"safepay"]) {
+            //跳转支付宝钱包进行支付,处理支付结果
+            [[AlipaySDK defaultService] processOrderWithPaymentResult:url standbyCallback:^(NSDictionary *resultDic) {
+                NSLog(@"reslut = %@",resultDic);
+                NSInteger orderState=[resultDic[@"resultStatus"] integerValue];
+                if (orderState==9000) {
+                    //订单界面支付
+                    
+                } else {
+                    NSString *returnStr;
+                    switch (orderState) {
+                        case 8000:
+                            returnStr=@"订单正在处理中";
+                            break;
+                        case 4000:
+                            returnStr=@"订单支付失败";
+                            break;
+                        case 6001:
+                            returnStr=@"取消支付,订单支付失败";
+                            break;
+                        case 6002:
+                            returnStr=@"网络连接出错,订单支付失败";
+                            break;
+                        default:
+                            break;
+                    }
+                    //                    [SVProgressHUD showErrorWithStatus:returnStr];
+                    NSLog(@"%@",returnStr);
+                }
+            }];
+        }
     }
     }
     return result;
     return result;
 }
 }
@@ -475,10 +433,46 @@ didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
         if ([url.scheme isEqualToString:@"wx0e6a5b18f4cfd10d"]) {
         if ([url.scheme isEqualToString:@"wx0e6a5b18f4cfd10d"]) {
             return  [WXApi handleOpenURL:url delegate:(id<WXApiDelegate>)self];
             return  [WXApi handleOpenURL:url delegate:(id<WXApiDelegate>)self];
         }
         }
+        
+        if ([url.host isEqualToString:@"safepay"]) {
+            //跳转支付宝钱包进行支付,处理支付结果
+            [[AlipaySDK defaultService] processOrderWithPaymentResult:url standbyCallback:^(NSDictionary *resultDic) {
+                NSLog(@"result = %@",resultDic);
+            }];
+        }
     }
     }
     return result;
     return result;
 }
 }
 
 
+#pragma mark 微信支付代理方法
+-(void)onResp:(BaseResp*)resp{
+    
+    if ([resp isKindOfClass:[PayResp class]]){
+        PayResp*response=(PayResp*)resp;
+        switch(response.errCode){
+            case WXSuccess:
+                
+                //                [[NSNotificationCenter defaultCenter] postNotificationName:LPWeiXinPayCallback object:nil userInfo:nil];
+                break;
+                
+            case WXErrCodeUserCancel:
+                //                [SVProgressHUD showErrorWithStatus:@"微信支付取消"];
+                NSLog(@"微信支付取消");
+                break;
+                
+            default:
+                //                [SVProgressHUD showErrorWithStatus:@"微信支付失败"];
+                NSLog(@"微信支付失败");
+                break;
+        }
+    }
+    
+    NSLog(@"收到 微信 回执");
+}
+
+
+
+
 -(void)addImgView{
 -(void)addImgView{
     [self removeImgView];
     [self removeImgView];
     self.imgView = [[UIImageView alloc] init];
     self.imgView = [[UIImageView alloc] init];

+ 25 - 9
ios/JianYuIOS/JianYuIOS/BaseClass1/PrefixHeader.pch

@@ -95,22 +95,32 @@ _Pragma("clang diagnostic pop")\
 //点击订阅通知
 //点击订阅通知
 #define ClickSubNotiMethods @"ClickSubNotiMethods"
 #define ClickSubNotiMethods @"ClickSubNotiMethods"
 
 
-//微信SDK头文件 支付
+//微信SDK头文件
 #import "WXApi.h"
 #import "WXApi.h"
+//支付宝支付头文件
+#import <AlipaySDK/AlipaySDK.h>
+
 #import "UIView+Extension.h"
 #import "UIView+Extension.h"
 #import "GlobalData.h"
 #import "GlobalData.h"
-//#define kHost @"https://www.jianyu360.com/"
 
 
-//#define kHost @"http://weblxl.qmx.top/" //小璐
+
+
 //#define kHost @"http://webws.qmx.top/" //王山
 //#define kHost @"http://webws.qmx.top/" //王山
-#define kHost @"http://webwcj.qmx.top/"//王传近
-//#define kHost @"http://w2blmjy.qmx.top/"//测试环境
-//#define kHost @"http://w4blmjy.qmx.top/"//测试环境2
-//#define kHost @"123.56.103.12/"
 
 
-//#define kHost @"https://app1.jianyu360.com/"
+//#define kHost @"https://web-jydev-wcj.jianyu360.cn/"//王传近
+
+//#define kHost @"https://app-jytest.jianyu360.cn/"//新测试
+
+#define kHost @"http://web-jydev-wky.jianyu360.cn/" //王凯悦
+
+
+//#define kHost @"https://app1.jianyu360.com/"//弃用
+
+//#define kHost @"https://res.jianyu360.com/"//正式
+
+
+
 
 
-//#define kHost @"https://res.jianyu360.com/"
 
 
 #endif /* PrefixHeader_pch */
 #endif /* PrefixHeader_pch */
 
 
@@ -118,3 +128,9 @@ _Pragma("clang diagnostic pop")\
 
 
 
 
 
 
+
+
+
+
+
+

+ 156 - 82
ios/JianYuIOS/JianYuIOS/Classes(模块)/JYSearchViewController.m

@@ -50,7 +50,7 @@ JSExportAs(loginSuccess, -(void)jsLoginSuccess:(NSString*)status);
 JSExportAs(backUrl, -(void)jsBackUrl:(NSString*)str);
 JSExportAs(backUrl, -(void)jsBackUrl:(NSString*)str);
 
 
 
 
-JSExportAs(redirectKeyset, -(void)jsRedirectKeyset:(NSString*)str);
+//JSExportAs(redirectKeyset, -(void)jsRedirectKeyset:(NSString*)str);
 
 
 JSExportAs(clearPushMessage, -(void)jsClearPushMessage:(NSString*)type);
 JSExportAs(clearPushMessage, -(void)jsClearPushMessage:(NSString*)type);
 
 
@@ -58,8 +58,9 @@ JSExportAs(clearPushMessage, -(void)jsClearPushMessage:(NSString*)type);
 JSExportAs(hideRedSpotOnMenu, -(void)jsHideRedSpotOnMenu:(NSString*)str);
 JSExportAs(hideRedSpotOnMenu, -(void)jsHideRedSpotOnMenu:(NSString*)str);
 JSExportAs(showRedSpotOnMenu, -(void)jsShowRedSpotOnMenu:(NSString*)str);
 JSExportAs(showRedSpotOnMenu, -(void)jsShowRedSpotOnMenu:(NSString*)str);
 
 
-
-
+//支付相关
+JSExportAs(payWeiXin, -(void)jsPayWeiXin:(NSDictionary*)dict);
+JSExportAs(payAlipay, -(void)jsPayAlipay:(NSString*)str);
 
 
 
 
 
 
@@ -119,7 +120,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     [self.view addSubview: self.webView];
     [self.view addSubview: self.webView];
     self.webView.scrollView.bounces = NO;
     self.webView.scrollView.bounces = NO;
     self.webView.delegate = self;
     self.webView.delegate = self;
-
+    
     [[LXViewControllerManager shareViewControllerManager] showHudText:nil];
     [[LXViewControllerManager shareViewControllerManager] showHudText:nil];
     [self webViewFirstRequest];//请求页面数据
     [self webViewFirstRequest];//请求页面数据
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(requestWebView:) name:kRequestWebViewWithUrl object:nil];
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(requestWebView:) name:kRequestWebViewWithUrl object:nil];
@@ -133,7 +134,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     
     
     [[AFNetworkReachabilityManager sharedManager] startMonitoring];
     [[AFNetworkReachabilityManager sharedManager] startMonitoring];
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(netReachChanged:) name:AFNetworkingReachabilityDidChangeNotification object:nil];
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(netReachChanged:) name:AFNetworkingReachabilityDidChangeNotification object:nil];
-
+    
     
     
     //前往登录通知-tabbar
     //前往登录通知-tabbar
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(isLoginTabBar:) name:@"isLoginTabBar" object:nil];
     [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(isLoginTabBar:) name:@"isLoginTabBar" object:nil];
@@ -142,7 +143,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     [recognizer delaysTouchesBegan];
     [recognizer delaysTouchesBegan];
     [self.view addGestureRecognizer:recognizer];
     [self.view addGestureRecognizer:recognizer];
     //手势
     //手势
-
+    
     //新增监听
     //新增监听
     
     
     if([LXUserDefaults token]) {
     if([LXUserDefaults token]) {
@@ -163,7 +164,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     [self haveRedPoint];
     [self haveRedPoint];
     
     
     [self clearWeb];
     [self clearWeb];
-
+    
     
     
 }
 }
 -(void)newsRedPoint:(NSNotification *)notificaition
 -(void)newsRedPoint:(NSNotification *)notificaition
@@ -250,6 +251,10 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
                 AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
                 AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
                 JYTabBarController *tab = (JYTabBarController *)delegate.window.rootViewController;
                 JYTabBarController *tab = (JYTabBarController *)delegate.window.rootViewController;
                 tab.selectedIndex = 1;
                 tab.selectedIndex = 1;
+                
+                
+                [self performSelector:@selector(pushDY:) withObject:self.notiDict[@"info"] afterDelay:1];
+                
             }else {
             }else {
                 [[LXViewControllerManager shareViewControllerManager] showHudText:nil];
                 [[LXViewControllerManager shareViewControllerManager] showHudText:nil];
                 self.afterOpenPushMessage = YES;
                 self.afterOpenPushMessage = YES;
@@ -395,7 +400,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
 
 
 //收到消息退出并重新加载web
 //收到消息退出并重新加载web
 -(void)webViewRequestByMsg{
 -(void)webViewRequestByMsg{
-
+    
     NSString *url = [NSString stringWithFormat:@"%@%@", kHost, @"jyapp/free/login?back=index&isios=t&flag=kicked"];
     NSString *url = [NSString stringWithFormat:@"%@%@", kHost, @"jyapp/free/login?back=index&isios=t&flag=kicked"];
     
     
     url =  [url stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
     url =  [url stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
@@ -436,7 +441,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
         if(self.tabBarController.selectedIndex != 0) {
         if(self.tabBarController.selectedIndex != 0) {
             return;
             return;
         }else {
         }else {
-//            [[NSNotificationCenter defaultCenter] postNotificationName:@"refreshMine" object:nil];;
+            //            [[NSNotificationCenter defaultCenter] postNotificationName:@"refreshMine" object:nil];;
         }
         }
         
         
         [[LXViewControllerManager shareViewControllerManager] showHudText:nil];
         [[LXViewControllerManager shareViewControllerManager] showHudText:nil];
@@ -452,20 +457,26 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     if (!infoDict) {
     if (!infoDict) {
         return;
         return;
     }
     }
+    NSLog(@"%@",infoDict);
     NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"url"]];
     NSString * urlStr = [NSString stringWithFormat:@"%@",infoDict[@"url"]];
     if (urlStr) {
     if (urlStr) {
+        NSLog(@"有info");
         if(self.tabBarController.selectedIndex == 0) {
         if(self.tabBarController.selectedIndex == 0) {
             //底部栏置换到订阅
             //底部栏置换到订阅
-            [[NSNotificationCenter defaultCenter] postNotificationName:@"refreshDY" object:nil userInfo:nil];
             AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
             AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
             JYTabBarController *tab = (JYTabBarController *)delegate.window.rootViewController;
             JYTabBarController *tab = (JYTabBarController *)delegate.window.rootViewController;
             tab.selectedIndex = 1;
             tab.selectedIndex = 1;
+            
+            [self performSelector:@selector(pushDY:) withObject:infoDict afterDelay:1];
+            
         }
         }
     }
     }
 }
 }
 
 
-
-
+-(void)pushDY:(NSDictionary *)infoDict
+{
+    [[NSNotificationCenter defaultCenter] postNotificationName:@"refreshDY" object:nil userInfo:infoDict];
+}
 
 
 // 收到通知消息
 // 收到通知消息
 -(void)afterReceiveNewMsg{
 -(void)afterReceiveNewMsg{
@@ -490,10 +501,6 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     //
     //
     NSLog(@"我从第几个页面过来:%@",dict[@"item_index"]);
     NSLog(@"我从第几个页面过来:%@",dict[@"item_index"]);
     pushIndex = [dict[@"item_index"] integerValue];
     pushIndex = [dict[@"item_index"] integerValue];
-
-    
-    
-    
     
     
     //
     //
     NSString *url = [NSString stringWithFormat:@"%@%@", kHost, @"jyapp/free/login"];
     NSString *url = [NSString stringWithFormat:@"%@%@", kHost, @"jyapp/free/login"];
@@ -503,8 +510,8 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     
     
     
     
     
     
-//    NSString *index = [NSString stringWithFormat:@"%ld",pushIndex];
-//    [[NSNotificationCenter defaultCenter] postNotificationName:@"isLoginTabBar" object:nil userInfo:@{@"item_index":index}];
+    //    NSString *index = [NSString stringWithFormat:@"%ld",pushIndex];
+    //    [[NSNotificationCenter defaultCenter] postNotificationName:@"isLoginTabBar" object:nil userInfo:@{@"item_index":index}];
     
     
 }
 }
 
 
@@ -518,10 +525,12 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     }
     }
 }
 }
 
 
+
+
 //js方法登录成功
 //js方法登录成功
 -(void)jsLoginSuccess:(NSString*)status
 -(void)jsLoginSuccess:(NSString*)status
 {
 {
-    NSLog(@"登录成功提示;;;%@当前下标:%ld",status,(long)pushIndex);
+    NSLog(@"登录成功提示;%@当前下标:%ld",status,(long)pushIndex);
     [GlobalData shareInstance].isReLogin = YES;
     [GlobalData shareInstance].isReLogin = YES;
     if([status isEqualToString:@"S"]) {
     if([status isEqualToString:@"S"]) {
         if(pushIndex!=0) {
         if(pushIndex!=0) {
@@ -553,7 +562,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     kMainQueue(^{
     kMainQueue(^{
         [self webViewFirstRequest];
         [self webViewFirstRequest];
     });
     });
-
+    
     
     
     
     
 }
 }
@@ -562,34 +571,34 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
 - (void)hideTabBar {
 - (void)hideTabBar {
     NSLog(@"隐藏tabbar");
     NSLog(@"隐藏tabbar");
     kMainQueue(^{
     kMainQueue(^{
-    if (self.tabBarController.tabBar.hidden == YES) {
-        return;
-    }
-    UIView *contentView;
-    if ( [[self.tabBarController.view.subviews objectAtIndex:0] isKindOfClass:[UITabBar class]] )
-        contentView = [self.tabBarController.view.subviews objectAtIndex:1];
-    else
-        contentView = [self.tabBarController.view.subviews objectAtIndex:0];
-    contentView.frame = CGRectMake(contentView.bounds.origin.x,  contentView.bounds.origin.y,  contentView.bounds.size.width, contentView.bounds.size.height + self.tabBarController.tabBar.frame.size.height);
-    self.tabBarController.tabBar.hidden = YES;
+        if (self.tabBarController.tabBar.hidden == YES) {
+            return;
+        }
+        UIView *contentView;
+        if ( [[self.tabBarController.view.subviews objectAtIndex:0] isKindOfClass:[UITabBar class]] )
+            contentView = [self.tabBarController.view.subviews objectAtIndex:1];
+        else
+            contentView = [self.tabBarController.view.subviews objectAtIndex:0];
+        contentView.frame = CGRectMake(contentView.bounds.origin.x,  contentView.bounds.origin.y,  contentView.bounds.size.width, contentView.bounds.size.height + self.tabBarController.tabBar.frame.size.height);
+        self.tabBarController.tabBar.hidden = YES;
     });
     });
 }
 }
 - (void)showTabBar{
 - (void)showTabBar{
     kMainQueue(^{
     kMainQueue(^{
-    if (self.tabBarController.tabBar.hidden == NO)
-    {
-        return;
-    }
-    UIView *contentView;
-    if ([[self.tabBarController.view.subviews objectAtIndex:0] isKindOfClass:[UITabBar class]])
-        
-        contentView = [self.tabBarController.view.subviews objectAtIndex:1];
-    
-    else
+        if (self.tabBarController.tabBar.hidden == NO)
+        {
+            return;
+        }
+        UIView *contentView;
+        if ([[self.tabBarController.view.subviews objectAtIndex:0] isKindOfClass:[UITabBar class]])
+            
+            contentView = [self.tabBarController.view.subviews objectAtIndex:1];
         
         
-        contentView = [self.tabBarController.view.subviews objectAtIndex:0];
-    contentView.frame = CGRectMake(contentView.bounds.origin.x, contentView.bounds.origin.y,  contentView.bounds.size.width, contentView.bounds.size.height - self.tabBarController.tabBar.frame.size.height);
-    self.tabBarController.tabBar.hidden = NO;
+        else
+            
+            contentView = [self.tabBarController.view.subviews objectAtIndex:0];
+        contentView.frame = CGRectMake(contentView.bounds.origin.x, contentView.bounds.origin.y,  contentView.bounds.size.width, contentView.bounds.size.height - self.tabBarController.tabBar.frame.size.height);
+        self.tabBarController.tabBar.hidden = NO;
     });
     });
 }
 }
 
 
@@ -617,7 +626,7 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
     NSString *current_url = [self.webView stringByEvaluatingJavaScriptFromString:@"document.location.href"];
     NSString *current_url = [self.webView stringByEvaluatingJavaScriptFromString:@"document.location.href"];
     
     
     //[current_url isEqualToString:[NSString stringWithFormat:@"%@jyapp/free/index",kHost]]
     //[current_url isEqualToString:[NSString stringWithFormat:@"%@jyapp/free/index",kHost]]
-//    NSLog(@"%@",current_url);
+    //    NSLog(@"%@",current_url);
     if([current_url isEqualToString:[NSString stringWithFormat:@"%@jyapp/jylab/mainSearch",kHost]]){
     if([current_url isEqualToString:[NSString stringWithFormat:@"%@jyapp/jylab/mainSearch",kHost]]){
         NSLog(@"展示");
         NSLog(@"展示");
         [self showTabBar];
         [self showTabBar];
@@ -647,13 +656,13 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
         //正常的网页加载
         //正常的网页加载
         [self judgeIsHidden];//是否隐藏
         [self judgeIsHidden];//是否隐藏
     }
     }
-   
+    
     
     
     
     
     [self removeNoNetViews];
     [self removeNoNetViews];
     [[LXViewControllerManager shareViewControllerManager] hideHud];
     [[LXViewControllerManager shareViewControllerManager] hideHud];
     JSContext *context = [webView valueForKeyPath:@"documentView.webView.mainFrame.javaScriptContext"];
     JSContext *context = [webView valueForKeyPath:@"documentView.webView.mainFrame.javaScriptContext"];
-//    // Disable user selection
+    //    // Disable user selection
     [webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.style.webkitUserSelect='none';"];
     [webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.style.webkitUserSelect='none';"];
     // Disable callout
     // Disable callout
     [webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.style.webkitTouchCallout='none';"];
     [webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.style.webkitTouchCallout='none';"];
@@ -684,14 +693,14 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
 
 
 -(void)webViewDidStartLoad:(UIWebView *)webView{
 -(void)webViewDidStartLoad:(UIWebView *)webView{
     //    if ([[UIDevice currentDevice].systemVersion floatValue] < 10) {
     //    if ([[UIDevice currentDevice].systemVersion floatValue] < 10) {
-    //        [[LXViewControllerManager shareViewControllerManager] hideHud];
+    //        [[LXViewControllerMager shareViewControllerManager] hideHud];
     //    }
     //    }
 }
 }
 
 
 
 
 - (void)didReceiveMemoryWarning {
 - (void)didReceiveMemoryWarning {
     [super didReceiveMemoryWarning];
     [super didReceiveMemoryWarning];
-//    [self clearWeb];
+    //    [self clearWeb];
     // Dispose of any resources that can be recreated.
     // Dispose of any resources that can be recreated.
 }
 }
 
 
@@ -927,16 +936,16 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
 -(int)jsGetUnReadMessageCount:(NSString *)openid{
 -(int)jsGetUnReadMessageCount:(NSString *)openid{
     NSLog(@"openid=%@",openid);
     NSLog(@"openid=%@",openid);
     //    NSLog(@"%d",[[LXDataBaseManager shareDataBaseManager] getUnReadMessageCount:openid]);
     //    NSLog(@"%d",[[LXDataBaseManager shareDataBaseManager] getUnReadMessageCount:openid]);
-//    if([[LXDataBaseManager shareDataBaseManager] getUnReadMessageCount:openid] ==0){
-//        //显示
-//        kMainQueue(^{
-//            [self.tabBarController.tabBar hideBadgeOnItemIndex:3];
-//        });
-//    }else {
-//        kMainQueue(^{
-//            [self.tabBarController.tabBar showBadgeOnItemIndex:3];
-//        });
-//    }
+    //    if([[LXDataBaseManager shareDataBaseManager] getUnReadMessageCount:openid] ==0){
+    //        //显示
+    //        kMainQueue(^{
+    //            [self.tabBarController.tabBar hideBadgeOnItemIndex:3];
+    //        });
+    //    }else {
+    //        kMainQueue(^{
+    //            [self.tabBarController.tabBar showBadgeOnItemIndex:3];
+    //        });
+    //    }
     return [[LXDataBaseManager shareDataBaseManager] getUnReadMessageCount:openid];
     return [[LXDataBaseManager shareDataBaseManager] getUnReadMessageCount:openid];
 }
 }
 
 
@@ -1085,23 +1094,21 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
 
 
 
 
 
 
--(void)jsRedirectKeyset:(NSString*)str
-{
-
-    [[NSNotificationCenter defaultCenter] postNotificationName:@"refreshDY" object:nil userInfo:nil];
-    
-    [self performSelector:@selector(nextVC) withObject:nil afterDelay:0.5];
-}
-
-
--(void)nextVC
-{
-    AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
-    JYTabBarController *tab = (JYTabBarController *)delegate.window.rootViewController;
-    tab.selectedIndex = 1;
-    
-    [self webViewFirstRequest];
-}
+//-(void)jsRedirectKeyset:(NSString*)str
+//{
+//    [[NSNotificationCenter defaultCenter] postNotificationName:@"refreshDY" object:nil userInfo:nil];
+//    [self performSelector:@selector(nextVC) withObject:nil afterDelay:0.5];
+//}
+//
+//
+//-(void)nextVC
+//{
+//    AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
+//    JYTabBarController *tab = (JYTabBarController *)delegate.window.rootViewController;
+//    tab.selectedIndex = 1;
+//
+//    [self webViewFirstRequest];
+//}
 
 
 //通知刷新页面
 //通知刷新页面
 -(void)refreshSS:(NSNotification *)notificaition{
 -(void)refreshSS:(NSNotification *)notificaition{
@@ -1156,14 +1163,81 @@ NSString *const AesKey_0 = @"mGlAgnIBB8bx2nch";
 }
 }
 
 
 
 
-/*
-#pragma mark - Navigation
 
 
-// In a storyboard-based application, you will often want to do a little preparation before navigation
-- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
-    // Get the new view controller using [segue destinationViewController].
-    // Pass the selected object to the new view controller.
+
+
+
+
+#pragma mark  支付相关
+
+-(void)jsPayWeiXin:(NSDictionary*)dict
+{
+    
+    //吊起微信
+    PayReq *request = [[PayReq alloc] init] ;
+    
+    
+    request.package = @"Sign=WXPay";
+    request.nonceStr= dict[@"nonceStr"];
+    request.partnerId = dict[@"partnerid"];
+    request.sign= dict[@"paySign"];
+    request.timeStamp= [dict[@"timeStamp"] intValue];
+    request.openID = dict[@"appId"];
+    request.prepayId= dict[@"prepay_id"];
+    [WXApi sendReq:request];
 }
 }
-*/
+-(void)jsPayAlipay:(NSString*)str
+{
+    [[AlipaySDK defaultService] payOrder:str fromScheme:@"alisdkjianyu" callback:^(NSDictionary *resultDic) {
+        NSLog(@"reslut = %@",resultDic);
+        //
+        NSInteger orderState=[resultDic[@"resultStatus"] integerValue];
+        if (orderState==9000) {
+            //订单界面支付
+            NSLog(@"支付成功");
+        } else {
+            NSString *returnStr;
+            switch (orderState) {
+                case 8000:
+                    returnStr=@"订单正在处理中";
+                    break;
+                case 4000:
+                    returnStr=@"订单支付失败";
+                    break;
+                case 6001:
+                    returnStr=@"取消支付,订单支付失败";
+                    break;
+                case 6002:
+                    returnStr=@"网络连接出错,订单支付失败";
+                    break;
+                default:
+                    break;
+            }
+            NSLog(@"%@",returnStr);
+        }
+    }];
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+/*
+ #pragma mark - Navigation
+ 
+ // In a storyboard-based application, you will often want to do a little preparation before navigation
+ - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
+ // Get the new view controller using [segue destinationViewController].
+ // Pass the selected object to the new view controller.
+ }
+ */
 
 
 @end
 @end

二進制
ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/bar@2x.png


二進制
ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/refresh@2x.png


二進制
ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/refresh_click@2x.png


二進制
ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/shutdown@2x.png


二進制
ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.bundle/shutdown_click@2x.png


二進制
ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.framework/AlipaySDK


+ 33 - 0
ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.framework/Headers/APayAuthInfo.h

@@ -0,0 +1,33 @@
+//
+//  APAuthInfo.h
+//  APAuth
+//
+//  Created by antfin on 17-10-24.
+//  Copyright (c) 2017年 AntFin. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+
+@interface APayAuthInfo : NSObject
+
+@property(nonatomic, copy)NSString *appID;
+@property(nonatomic, copy)NSString *pid;
+@property(nonatomic, copy)NSString *redirectUri;
+
+/**
+ *  初始化AuthInfo
+ *
+ *  @param appIDStr     应用ID
+ *  @param pidStr       商户ID   可不填
+ *  @param uriStr       授权的应用回调地址  比如:alidemo://auth
+ *
+ *  @return authinfo实例
+ */
+- (id)initWithAppID:(NSString *)appIDStr
+                pid:(NSString *)pidStr
+        redirectUri:(NSString *)uriStr;
+
+- (NSString *)description;
+- (NSString *)wapDescription;
+
+@end

+ 170 - 0
ios/JianYuIOS/JianYuIOS/Libs(第三方)/AlipaySDK/AlipaySDK.framework/Headers/AlipaySDK.h

@@ -0,0 +1,170 @@
+//
+//  AlipaySDK.h
+//  AlipaySDK
+//
+//  Created by antfin on 17-10-24.
+//  Copyright (c) 2017年 AntFin. All rights reserved.
+//
+
+
+////////////////////////////////////////////////////////
+///////////////// 支付宝标准版本支付SDK ///////////////////
+/////////// version:15.5.5  motify:2018.05.09 ///////////
+////////////////////////////////////////////////////////
+
+#import <UIKit/UIKit.h>
+#import "APayAuthInfo.h"
+
+typedef void(^CompletionBlock)(NSDictionary *resultDic);
+
+
+@interface AlipaySDK : NSObject
+
+/**
+ *  创建支付单例服务
+ *
+ *  @return 返回单例对象
+ */
++ (AlipaySDK *)defaultService;
+
+/**
+ *  用于设置SDK使用的window,如果没有自行创建window无需设置此接口
+ */
+@property (nonatomic, weak) UIWindow *targetWindow;
+
+/**
+ *  支付接口
+ *
+ *  @param orderStr       订单信息
+ *  @param schemeStr      调用支付的app注册在info.plist中的scheme
+ *  @param completionBlock 支付结果回调Block,用于wap支付结果回调(非跳转钱包支付)
+ */
+- (void)payOrder:(NSString *)orderStr
+      fromScheme:(NSString *)schemeStr
+        callback:(CompletionBlock)completionBlock;
+
+/**
+ *  处理钱包或者独立快捷app支付跳回商户app携带的支付结果Url
+ *
+ *  @param resultUrl        支付结果url
+ *  @param completionBlock  支付结果回调
+ */
+- (void)processOrderWithPaymentResult:(NSURL *)resultUrl
+                      standbyCallback:(CompletionBlock)completionBlock;
+
+/**
+ *  获取交易token。
+ *
+ *  @return 交易token,若无则为空。
+ */
+- (NSString *)fetchTradeToken;
+
+/**
+ *  是否已经使用过
+ *
+ *  @return YES为已经使用过,NO反之
+ */
+- (BOOL)isLogined;
+
+/**
+ *  获取当前版本号
+ *
+ *  @return 当前版本字符串
+ */
+- (NSString *)currentVersion;
+
+/**
+ *  測試所用,realse包无效
+ *
+ *  @param url  测试环境
+ */
+- (void)setUrl:(NSString *)url;
+
+
+//////////////////////////////////////////////////////////////////////////////////////////////
+//////////////////////////h5 拦截支付入口///////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////////////////////
+/**
+ *  从h5链接中获取订单串并支付接口(自版本15.4.0起,推荐使用该接口)
+ *
+ *  @param urlStr     拦截的 url string
+ *
+ *  @return YES为成功获取订单信息并发起支付流程;NO为无法获取订单信息,输入url是普通url
+ */
+- (BOOL)payInterceptorWithUrl:(NSString *)urlStr
+                   fromScheme:(NSString *)schemeStr
+                     callback:(CompletionBlock)completionBlock;
+
+/**
+ *  从h5链接中获取订单串接口(自版本15.4.0起已废弃,请使用payInterceptorWithUrl...)
+ *
+ *  @param urlStr     拦截的 url string
+ *
+ *  @return 获取到的url order info
+ */
+- (NSString*)fetchOrderInfoFromH5PayUrl:(NSString*)urlStr;
+
+
+/**
+ *  h5链接获取到的订单串支付接口(自版本15.4.0起已废弃,请使用payInterceptorWithUrl...)
+ *
+ *  @param orderStr       订单信息
+ *  @param schemeStr      调用支付的app注册在info.plist中的scheme
+ *  @param completionBlock 支付结果回调Block
+ */
+- (void)payUrlOrder:(NSString *)orderStr
+         fromScheme:(NSString *)schemeStr
+           callback:(CompletionBlock)completionBlock;
+
+
+//////////////////////////////////////////////////////////////////////////////////////////////
+//////////////////////////授权2.0//////////////////////////////////////////////////////////////
+//////////////////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  快登授权2.0
+ *
+ *  @param infoStr          授权请求信息字符串
+ *  @param schemeStr        调用授权的app注册在info.plist中的scheme
+ *  @param completionBlock  授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效,
+ 需要调用方在appDelegate中调用processAuth_V2Result:standbyCallback:方法获取授权结果
+ */
+- (void)auth_V2WithInfo:(NSString *)infoStr
+             fromScheme:(NSString *)schemeStr
+               callback:(CompletionBlock)completionBlock;
+
+/**
+ *  处理授权信息Url
+ *
+ *  @param resultUrl        钱包返回的授权结果url
+ *  @param completionBlock  授权结果回调
+ */
+- (void)processAuth_V2Result:(NSURL *)resultUrl
+             standbyCallback:(CompletionBlock)completionBlock;
+
+
+//////////////////////////////////////////////////////////////////////////////////////////////
+//////////////////////////授权1.0 (授权1.0接口即将废弃,请使用授权2.0接口)///////////////////////////
+//////////////////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  快登授权
+ *  @param authInfo         需授权信息
+ *  @param completionBlock  授权结果回调,若在授权过程中,调用方应用被系统终止,则此block无效,
+                            需要调用方在appDelegate中调用processAuthResult:standbyCallback:方法获取授权结果
+ */
+- (void)authWithInfo:(APayAuthInfo *)authInfo
+             callback:(CompletionBlock)completionBlock;
+
+
+/**
+ *  处理授权信息Url
+ *
+ *  @param resultUrl        钱包返回的授权结果url
+ *  @param completionBlock  授权结果回调
+ */
+- (void)processAuthResult:(NSURL *)resultUrl
+          standbyCallback:(CompletionBlock)completionBlock;
+
+
+@end

+ 98 - 0
ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/README.txt

@@ -0,0 +1,98 @@
+重要!
+SDK1.8.4
+1. 调整分享图片大小限制
+2. 新增openBusinessView接口
+
+SDK1.8.3
+1. SDK增加调起微信刷卡支付接口
+2. SDK增加小程序订阅消息接口
+3. 修复小程序订阅消息接口没有resp的问题
+
+SDK1.8.2
+1. SDK增加开发票授权 WXInvoiceAuthInsert
+2. SDK增加非税接口   WXNontaxPay
+3. SDK增加医保接口   WXPayInsurance
+4. 更换MTA库
+
+SDK1.8.1
+1. SDK打开小程序支持指定版本(体验,开发,正式版)
+2. SDK分享小程序支持指定版本(体验,开发,正式版)
+3. SDK支持输出log日志
+
+SDK1.8.0
+1. SDK支持打开小程序
+2. SDK分享小程序支持shareTicket
+
+SDK1.7.9
+1. SDK订阅一次性消息
+
+SDK1.7.8
+1 SDK分享小程序支持大图
+
+SDK1.7.7
+1 增加SDK分享小程序
+2 增加选择发票接口
+
+SDK1.7.6
+1. 提高稳定性
+1 修复mta崩溃
+2  新增接口支持开发者关闭mta数据统计上报
+
+SDK1.7.5
+1. 提高稳定性
+2. 加快registerApp接口启动速度
+
+SDK1.7.4
+1. 更新支持iOS启用 ATS(App Transport Security)
+2. 需要在工程中链接CFNetwork.framework
+3. 在工程配置中的”Other Linker Flags”中加入”-Objc -all_load”
+
+SDK1.7.3
+1. 增强稳定性,适配iOS10
+2. 修复小于32K的jpg格式缩略图设置失败的问题
+
+SDK1.7.2
+1. 修复因CTTeleponyNetworkInfo引起的崩溃问题
+
+SDK1.7.1
+1. 支持兼容ipv6(提升稳定性)
+2. xCode Version 7.3.1 (7D1014) 编译
+
+SDK1.7
+1. 支持兼容ipv6
+2. 修复若干问题增强稳定性
+
+SDK1.6.3
+1. xCode7.2 构建的sdk包。
+2. 请使用xCode7.2进行编译。
+3. 需要在Build Phases中Link  Security.framework
+4. 修复若干小问题。
+
+SDK1.6.2
+1、xCode7.1 构建的sdk包
+2、请使用xCode7.1进行编译
+
+SDK1.6.1
+1、修复armv7s下,bitcode可能编译不过
+2、解决warning
+
+SDK1.6
+1、iOS 9系统策略更新,限制了http协议的访问,此外应用需要在“Info.plist”中将要使用的URL Schemes列为白名单,才可正常检查其他应用是否安装。
+受此影响,当你的应用在iOS 9中需要使用微信SDK的相关能力(分享、收藏、支付、登录等)时,需要在“Info.plist”里增加如下代码:
+<key>LSApplicationQueriesSchemes</key>
+<array>
+<string>weixin</string>
+</array>
+<key>NSAppTransportSecurity</key>
+<dict>
+<key>NSAllowsArbitraryLoads</key>
+<true/>
+</dict>
+2、开发者需要在工程中链接上 CoreTelephony.framework
+3、解决bitcode编译不过问题
+
+SDK1.5
+1、废弃safeSendReq:接口,使用sendReq:即可。
+2、新增+(BOOL) sendAuthReq:(SendAuthReq*) req viewController : (UIViewController*) viewController delegate:(id<WXApiDelegate>) delegate;
+支持未安装微信情况下Auth,具体见WXApi.h接口描述
+3、微信开放平台新增了微信模块用户统计功能,便于开发者统计微信功能模块的用户使用和活跃情况。开发者需要在工程中链接上:SystemConfiguration.framework,libz.dylib,libsqlite3.0.dylib。

+ 196 - 0
ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/WXApi.h

@@ -0,0 +1,196 @@
+//
+//  WXApi.h
+//  所有Api接口
+//
+//  Created by Wechat on 12-2-28.
+//  Copyright (c) 2012年 Tencent. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import "WXApiObject.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+#pragma mark - WXApiDelegate
+/*! @brief 接收并处理来自微信终端程序的事件消息
+ *
+ * 接收并处理来自微信终端程序的事件消息,期间微信界面会切换到第三方应用程序。
+ * WXApiDelegate 会在handleOpenURL:delegate:中使用并触发。
+ */
+@protocol WXApiDelegate <NSObject>
+@optional
+
+/*! @brief 收到一个来自微信的请求,第三方应用程序处理完后调用sendResp向微信发送结果
+ *
+ * 收到一个来自微信的请求,异步处理完成后必须调用sendResp发送处理结果给微信。
+ * 可能收到的请求有GetMessageFromWXReq、ShowMessageFromWXReq等。
+ * @param req 具体请求内容,是自动释放的
+ */
+- (void)onReq:(BaseReq*)req;
+
+
+
+/*! @brief 发送一个sendReq后,收到微信的回应
+ *
+ * 收到一个来自微信的处理结果。调用一次sendReq后会收到onResp。
+ * 可能收到的处理结果有SendMessageToWXResp、SendAuthResp等。
+ * @param resp具体的回应内容,是自动释放的
+ */
+- (void)onResp:(BaseResp*)resp;
+
+@end
+
+#pragma mark - WXApiLogDelegate
+
+@protocol WXApiLogDelegate <NSObject>
+
+- (void)onLog:(NSString*)log logLevel:(WXLogLevel)level;
+
+@end
+
+#pragma mark - WXApi
+
+/*! @brief 微信Api接口函数类
+ *
+ * 该类封装了微信终端SDK的所有接口
+ */
+@interface WXApi : NSObject
+
+/*! @brief WXApi的成员函数,向微信终端程序注册第三方应用。
+ *
+ * 需要在每次启动第三方应用程序时调用。第一次调用后,会在微信的可用应用列表中出现,默认开启MTA数据上报。
+ * iOS7及以上系统需要调起一次微信才会出现在微信的可用应用列表中。
+ * @attention 请保证在主线程中调用此函数
+ * @param appid 微信开发者ID
+ * @param typeFlag 应用支持打开的文件类型
+ * @return 成功返回YES,失败返回NO。
+ */
++ (BOOL)registerApp:(NSString *)appid;
+
+/*! @brief WXApi的成员函数,向微信终端程序注册第三方应用。
+ *
+ * 需要在每次启动第三方应用程序时调用。第一次调用后,会在微信的可用应用列表中出现。
+ * iOS7及以上系统需要调起一次微信才会出现在微信的可用应用列表中。
+ * @attention 请保证在主线程中调用此函数
+ * @param appid 微信开发者ID
+ * @param isEnableMTA 是否支持MTA数据上报
+ * @return 成功返回YES,失败返回NO。
+ */
++ (BOOL)registerApp:(NSString *)appid enableMTA:(BOOL)isEnableMTA;
+
+
+/*! @brief WXApi的成员函数,向微信终端程序注册应用支持打开的文件类型。
+ *
+ * 需要在每次启动第三方应用程序时调用。调用后并第一次成功分享数据到微信后,会在微信的可用应用列表中出现。
+ * @see registerApp
+ * @param typeFlag 应用支持打开的数据类型, enAppSupportContentFlag枚举类型 “|” 操作后结果
+ */
++ (void)registerAppSupportContentFlag:(UInt64)typeFlag;
+
+
+
+/*! @brief 处理微信通过URL启动App时传递的数据
+ *
+ * 需要在 application:openURL:sourceApplication:annotation:或者application:handleOpenURL中调用。
+ * @param url 微信启动第三方应用时传递过来的URL
+ * @param delegate  WXApiDelegate对象,用来接收微信触发的消息。
+ * @return 成功返回YES,失败返回NO。
+ */
++ (BOOL)handleOpenURL:(NSURL *)url delegate:(nullable id<WXApiDelegate>)delegate;
+
+
+
+/*! @brief 检查微信是否已被用户安装
+ *
+ * @return 微信已安装返回YES,未安装返回NO。
+ */
++ (BOOL)isWXAppInstalled;
+
+
+
+/*! @brief 判断当前微信的版本是否支持OpenApi
+ *
+ * @return 支持返回YES,不支持返回NO。
+ */
++ (BOOL)isWXAppSupportApi;
+
+
+
+/*! @brief 获取微信的itunes安装地址
+ *
+ * @return 微信的安装地址字符串。
+ */
++ (NSString *)getWXAppInstallUrl;
+
+
+
+/*! @brief 获取当前微信SDK的版本号
+ *
+ * @return 返回当前微信SDK的版本号
+ */
++ (NSString *)getApiVersion;
+
+
+
+/*! @brief 打开微信
+ *
+ * @return 成功返回YES,失败返回NO。
+ */
++ (BOOL)openWXApp;
+
+
+
+/*! @brief 发送请求到微信,等待微信返回onResp
+ *
+ * 函数调用后,会切换到微信的界面。第三方应用程序等待微信返回onResp。微信在异步处理完成后一定会调用onResp。支持以下类型
+ * SendAuthReq、SendMessageToWXReq、PayReq等。
+ * @param req 具体的发送请求,在调用函数后,请自己释放。
+ * @return 成功返回YES,失败返回NO。
+ */
++ (BOOL)sendReq:(BaseReq*)req;
+
+/*! @brief 发送Auth请求到微信,支持用户没安装微信,等待微信返回onResp
+ *
+ * 函数调用后,会切换到微信的界面。第三方应用程序等待微信返回onResp。微信在异步处理完成后一定会调用onResp。支持SendAuthReq类型。
+ * @param req 具体的发送请求,在调用函数后,请自己释放。
+ * @param viewController 当前界面对象。
+ * @param delegate  WXApiDelegate对象,用来接收微信触发的消息。
+ * @return 成功返回YES,失败返回NO。
+ */
++ (BOOL)sendAuthReq:(SendAuthReq*)req viewController:(UIViewController*)viewController delegate:(nullable id<WXApiDelegate>)delegate;
+
+
+/*! @brief 收到微信onReq的请求,发送对应的应答给微信,并切换到微信界面
+ *
+ * 函数调用后,会切换到微信的界面。第三方应用程序收到微信onReq的请求,异步处理该请求,完成后必须调用该函数。可能发送的相应有
+ * GetMessageFromWXResp、ShowMessageFromWXResp等。
+ * @param resp 具体的应答内容,调用函数后,请自己释放
+ * @return 成功返回YES,失败返回NO。
+ */
++ (BOOL)sendResp:(BaseResp*)resp;
+
+
+/*! @brief WXApi的成员函数,接受微信的log信息。byBlock
+    注意1:SDK会强引用这个block,注意不要导致内存泄漏,注意不要导致内存泄漏
+    注意2:调用过一次startLog by block之后,如果再调用一次任意方式的startLoad,会释放上一次logBlock,不再回调上一个logBlock
+ *
+ *  @param level 打印log的级别
+ *  @param logBlock 打印log的回调block
+ */
++ (void)startLogByLevel:(WXLogLevel)level logBlock:(WXLogBolock)logBlock;
+
+/*! @brief WXApi的成员函数,接受微信的log信息。byDelegate 
+    注意1:sdk会弱引用这个delegate,这里可加任意对象为代理,不需要与WXApiDelegate同一个对象
+    注意2:调用过一次startLog by delegate之后,再调用一次任意方式的startLoad,不会再回调上一个logDelegate对象
+ *  @param level 打印log的级别
+ *  @param logDelegate 打印log的回调代理,
+ */
++ (void)startLogByLevel:(WXLogLevel)level logDelegate:(id<WXApiLogDelegate>)logDelegate;
+
+/*! @brief 停止打印log,会清理block或者delegate为空,释放block
+ *  @param 
+ */
++ (void)stopLog;
+@end
+
+NS_ASSUME_NONNULL_END

+ 1101 - 0
ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/WXApiObject.h

@@ -0,0 +1,1101 @@
+//
+//  MMApiObject.h
+//  Api对象,包含所有接口和对象数据定义
+//
+//  Created by Wechat on 12-2-28.
+//  Copyright (c) 2012年 Tencent. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*! @brief 错误码
+ *
+ */
+enum  WXErrCode {
+    WXSuccess           = 0,    /**< 成功    */
+    WXErrCodeCommon     = -1,   /**< 普通错误类型    */
+    WXErrCodeUserCancel = -2,   /**< 用户点击取消并返回    */
+    WXErrCodeSentFail   = -3,   /**< 发送失败    */
+    WXErrCodeAuthDeny   = -4,   /**< 授权失败    */
+    WXErrCodeUnsupport  = -5,   /**< 微信不支持    */
+};
+
+
+
+/*! @brief 请求发送场景
+ *
+ */
+enum WXScene {
+    WXSceneSession          = 0,   /**< 聊天界面    */
+    WXSceneTimeline         = 1,   /**< 朋友圈     */
+    WXSceneFavorite         = 2,   /**< 收藏       */
+    WXSceneSpecifiedSession = 3,   /**< 指定联系人  */
+};
+
+
+enum WXAPISupport {
+    WXAPISupportSession = 0,
+};
+
+
+
+/*! @brief 跳转profile类型
+ *
+ */
+enum WXBizProfileType {
+    WXBizProfileType_Normal = 0,    //**< 普通公众号  */
+    WXBizProfileType_Device = 1,    //**< 硬件公众号  */
+};
+
+/*! @brief 分享小程序类型
+ *
+ */
+typedef NS_ENUM(NSUInteger, WXMiniProgramType) {
+    WXMiniProgramTypeRelease = 0,       //**< 正式版  */
+    WXMiniProgramTypeTest = 1,        //**< 开发版  */
+    WXMiniProgramTypePreview = 2,         //**< 体验版  */
+};
+
+/*! @brief 跳转mp网页类型
+ *
+ */
+enum WXMPWebviewType {
+    WXMPWebviewType_Ad = 0,        /**< 广告网页 **/
+};
+
+
+
+/*! @brief 应用支持接收微信的文件类型
+ *
+ */
+typedef NS_ENUM(UInt64, enAppSupportContentFlag) {
+    MMAPP_SUPPORT_NOCONTENT = 0x0,
+    MMAPP_SUPPORT_TEXT      = 0x1,
+    MMAPP_SUPPORT_PICTURE   = 0x2,
+    MMAPP_SUPPORT_LOCATION  = 0x4,
+    MMAPP_SUPPORT_VIDEO     = 0x8,
+    MMAPP_SUPPORT_AUDIO     = 0x10,
+    MMAPP_SUPPORT_WEBPAGE   = 0x20,
+    
+    // Suport File Type
+    MMAPP_SUPPORT_DOC  = 0x40,               // doc
+    MMAPP_SUPPORT_DOCX = 0x80,               // docx
+    MMAPP_SUPPORT_PPT  = 0x100,              // ppt
+    MMAPP_SUPPORT_PPTX = 0x200,              // pptx
+    MMAPP_SUPPORT_XLS  = 0x400,              // xls
+    MMAPP_SUPPORT_XLSX = 0x800,              // xlsx
+    MMAPP_SUPPORT_PDF  = 0x1000,             // pdf
+};
+
+/*! @brief log的级别
+ *
+ */
+typedef NS_ENUM(NSInteger,WXLogLevel) {
+    WXLogLevelNormal = 0,      // 打印日常的日志
+    WXLogLevelDetail = 1,      // 打印详细的日志
+};
+
+
+/*! @brief 打印回调的block
+ *
+ */
+typedef void(^WXLogBolock)(NSString *log);
+
+#pragma mark - BaseReq
+/*! @brief 该类为微信终端SDK所有请求类的基类
+ *
+ */
+@interface BaseReq : NSObject
+
+/** 请求类型 */
+@property (nonatomic, assign) int type;
+/** 由用户微信号和AppID组成的唯一标识,发送请求时第三方程序必须填写,用于校验微信用户是否换号登录*/
+@property (nonatomic, copy) NSString *openID;
+
+@end
+
+
+
+#pragma mark - BaseResp
+/*! @brief 该类为微信终端SDK所有响应类的基类
+ *
+ */
+@interface BaseResp : NSObject
+/** 错误码 */
+@property (nonatomic, assign) int errCode;
+/** 错误提示字符串 */
+@property (nonatomic, copy) NSString *errStr;
+/** 响应类型 */
+@property (nonatomic, assign) int type;
+
+@end
+
+
+
+#pragma mark - WXMediaMessage
+@class WXMediaMessage;
+
+#ifndef BUILD_WITHOUT_PAY
+
+/*! @brief 第三方向微信终端发起支付的消息结构体
+ *
+ *  第三方向微信终端发起支付的消息结构体,微信终端处理后会向第三方返回处理结果
+ * @see PayResp
+ */
+@interface PayReq : BaseReq
+
+/** 商家向财付通申请的商家id */
+@property (nonatomic, copy) NSString *partnerId;
+/** 预支付订单 */
+@property (nonatomic, copy) NSString *prepayId;
+/** 随机串,防重发 */
+@property (nonatomic, copy) NSString *nonceStr;
+/** 时间戳,防重发 */
+@property (nonatomic, assign) UInt32 timeStamp;
+/** 商家根据财付通文档填写的数据和签名 */
+@property (nonatomic, copy) NSString *package;
+/** 商家根据微信开放平台文档对数据做的签名 */
+@property (nonatomic, copy) NSString *sign;
+
+@end
+
+
+#pragma mark - PayResp
+/*! @brief 微信终端返回给第三方的关于支付结果的结构体
+ *
+ *  微信终端返回给第三方的关于支付结果的结构体
+ */
+@interface PayResp : BaseResp
+
+/** 财付通返回给商家的信息 */
+@property (nonatomic, copy) NSString *returnKey;
+
+@end
+
+
+#pragma mark - WXOfflinePay
+/*! @brief 第三方向微信终端发起离线支付
+ *
+ *  第三方向微信终端发起离线支付的消息结构体
+ */
+@interface WXOfflinePayReq : BaseReq
+
+@end
+
+/*! @brief 第三方向微信终端发起离线支付返回
+ *
+ *  第三方向微信终端发起离线支付返回的消息结构体
+ */
+@interface WXOfflinePayResp : BaseResp
+
+@end
+
+#endif
+
+
+
+#pragma mark - SendAuthReq
+/*! @brief 第三方程序向微信终端请求认证的消息结构
+ *
+ * 第三方程序要向微信申请认证,并请求某些权限,需要调用WXApi的sendReq成员函数,
+ * 向微信终端发送一个SendAuthReq消息结构。微信终端处理完后会向第三方程序发送一个处理结果。
+ * @see SendAuthResp
+ */
+@interface SendAuthReq : BaseReq
+/** 第三方程序要向微信申请认证,并请求某些权限,需要调用WXApi的sendReq成员函数,向微信终端发送一个SendAuthReq消息结构。微信终端处理完后会向第三方程序发送一个处理结果。
+ * @see SendAuthResp
+ * @note scope字符串长度不能超过1K
+ */
+@property (nonatomic, copy) NSString *scope;
+/** 第三方程序本身用来标识其请求的唯一性,最后跳转回第三方程序时,由微信终端回传。
+ * @note state字符串长度不能超过1K
+ */
+@property (nonatomic, copy) NSString *state;
+@end
+
+#pragma mark - SendAuthResp
+/*! @brief 微信处理完第三方程序的认证和权限申请后向第三方程序回送的处理结果。
+ *
+ * 第三方程序要向微信申请认证,并请求某些权限,需要调用WXApi的sendReq成员函数,向微信终端发送一个SendAuthReq消息结构。
+ * 微信终端处理完后会向第三方程序发送一个SendAuthResp。
+ * @see onResp
+ */
+@interface SendAuthResp : BaseResp
+@property (nonatomic, copy, nullable) NSString *code;
+/** 第三方程序发送时用来标识其请求的唯一性的标志,由第三方程序调用sendReq时传入,由微信终端回传
+ * @note state字符串长度不能超过1K
+ */
+@property (nonatomic, copy, nullable) NSString *state;
+@property (nonatomic, copy, nullable) NSString *lang;
+@property (nonatomic, copy, nullable) NSString *country;
+@end
+
+
+
+#pragma mark - SendMessageToWXReq
+/*! @brief 第三方程序发送消息至微信终端程序的消息结构体
+ *
+ * 第三方程序向微信发送信息需要传入SendMessageToWXReq结构体,信息类型包括文本消息和多媒体消息,
+ * 分别对应于text和message成员。调用该方法后,微信处理完信息会向第三方程序发送一个处理结果。
+ * @see SendMessageToWXResp
+ */
+@interface SendMessageToWXReq : BaseReq
+/** 发送消息的文本内容
+ * @note 文本长度必须大于0且小于10K
+ */
+@property (nonatomic, copy) NSString *text;
+/** 发送消息的多媒体内容
+ * @see WXMediaMessage
+ */
+@property (nonatomic, strong) WXMediaMessage *message;
+/** 发送消息的类型,包括文本消息和多媒体消息两种,两者只能选择其一,不能同时发送文本和多媒体消息 */
+@property (nonatomic, assign) BOOL bText;
+/** 发送的目标场景,可以选择发送到会话(WXSceneSession)或者朋友圈(WXSceneTimeline)。 默认发送到会话。
+ * @see WXScene
+ */
+@property (nonatomic, assign) int scene;
+/** 指定发送消息的人
+ * @note WXSceneSpecifiedSession时有效
+ */
+@property (nonatomic, copy, nullable) NSString *toUserOpenId;
+@end
+
+#pragma mark - SendMessageToWXResp
+/*! @brief 微信终端向第三方程序返回的SendMessageToWXReq处理结果。
+ *
+ * 第三方程序向微信终端发送SendMessageToWXReq后,微信发送回来的处理结果,该结果用SendMessageToWXResp表示。
+ */
+@interface SendMessageToWXResp : BaseResp
+@property(nonatomic, copy) NSString *lang;
+@property(nonatomic, copy) NSString *country;
+@end
+
+
+
+#pragma mark - GetMessageFromWXReq
+/*! @brief 微信终端向第三方程序请求提供内容的消息结构体。
+ *
+ * 微信终端向第三方程序请求提供内容,微信终端会向第三方程序发送GetMessageFromWXReq消息结构体,
+ * 需要第三方程序调用sendResp返回一个GetMessageFromWXResp消息结构体。
+ */
+@interface GetMessageFromWXReq : BaseReq
+@property (nonatomic, strong) NSString *lang;
+@property (nonatomic, strong) NSString *country;
+@end
+
+
+
+#pragma mark - GetMessageFromWXResp
+/*! @brief 微信终端向第三方程序请求提供内容,第三方程序向微信终端返回的消息结构体。
+ *
+ * 微信终端向第三方程序请求提供内容,第三方程序调用sendResp向微信终端返回一个GetMessageFromWXResp消息结构体。
+ */
+@interface GetMessageFromWXResp : BaseResp
+/** 向微信终端提供的文本内容
+ @note 文本长度必须大于0且小于10K
+ */
+@property (nonatomic, strong) NSString *text;
+/** 向微信终端提供的多媒体内容。
+ * @see WXMediaMessage
+ */
+@property (nonatomic, strong) WXMediaMessage *message;
+/** 向微信终端提供内容的消息类型,包括文本消息和多媒体消息两种,两者只能选择其一,不能同时发送文本和多媒体消息 */
+@property (nonatomic, assign) BOOL bText;
+@end
+
+
+
+#pragma mark - ShowMessageFromWXReq
+/*! @brief 微信通知第三方程序,要求第三方程序显示的消息结构体。
+ *
+ * 微信需要通知第三方程序显示或处理某些内容时,会向第三方程序发送ShowMessageFromWXReq消息结构体。
+ * 第三方程序处理完内容后调用sendResp向微信终端发送ShowMessageFromWXResp。
+ */
+@interface ShowMessageFromWXReq : BaseReq
+/** 微信终端向第三方程序发送的要求第三方程序处理的多媒体内容
+ * @see WXMediaMessage
+ */
+@property (nonatomic, strong) WXMediaMessage *message;
+@property (nonatomic, copy) NSString *lang;
+@property (nonatomic, copy) NSString *country;
+@end
+
+
+
+#pragma mark - ShowMessageFromWXResp
+/*! @brief 微信通知第三方程序,要求第三方程序显示或处理某些消息,第三方程序处理完后向微信终端发送的处理结果。
+ *
+ * 微信需要通知第三方程序显示或处理某些内容时,会向第三方程序发送ShowMessageFromWXReq消息结构体。
+ * 第三方程序处理完内容后调用sendResp向微信终端发送ShowMessageFromWXResp。
+ */
+@interface ShowMessageFromWXResp : BaseResp
+@end
+
+
+#pragma mark - LaunchFromWXReq
+/*! @brief 微信终端打开第三方程序携带的消息结构体
+ *
+ *  微信向第三方发送的结构体,第三方不需要返回
+ */
+@interface LaunchFromWXReq : BaseReq
+@property (nonatomic, strong) WXMediaMessage *message;
+@property (nonatomic, copy) NSString *lang;
+@property (nonatomic, copy) NSString *country;
+@end
+
+
+
+#pragma mark - OpenTempSessionReq
+/* ! @brief 第三方通知微信,打开临时会话
+ *
+ * 第三方通知微信,打开临时会话
+ */
+@interface OpenTempSessionReq : BaseReq
+/** 需要打开的用户名
+ * @attention 长度不能超过512字节
+ */
+@property (nonatomic, copy) NSString *username;
+/** 开发者自定义参数,拉起临时会话后会发给开发者后台,可以用于识别场景
+ * @attention 长度不能超过32位
+ */
+@property (nonatomic, copy) NSString *sessionFrom;
+@end
+
+#pragma mark - OpenTempSessionResp
+/*! @brief 微信终端向第三方程序返回的OpenTempSessionReq处理结果。
+ *
+ * 第三方程序向微信终端发送OpenTempSessionReq后,微信发送回来的处理结果,该结果用OpenTempSessionResp表示。
+ */
+@interface OpenTempSessionResp : BaseResp
+
+@end
+
+
+
+#pragma mark - OpenWebviewReq
+/* ! @brief 第三方通知微信启动内部浏览器,打开指定网页
+ *
+ *  第三方通知微信启动内部浏览器,打开指定Url对应的网页
+ */
+@interface OpenWebviewReq : BaseReq
+/** 需要打开的网页对应的Url
+ * @attention 长度不能超过1024
+ */
+@property(nonatomic, copy) NSString *url;
+
+@end
+
+#pragma mark - OpenWebviewResp
+/*! @brief 微信终端向第三方程序返回的OpenWebviewReq处理结果
+ *
+ * 第三方程序向微信终端发送OpenWebviewReq后,微信发送回来的处理结果,该结果用OpenWebviewResp表示
+ */
+@interface OpenWebviewResp : BaseResp
+
+@end
+
+
+
+#pragma mark - WXOpenBusinessWebViewReq
+/*! @brief 第三方通知微信启动内部浏览器,打开指定业务的网页
+ *
+ *
+ */
+@interface WXOpenBusinessWebViewReq : BaseReq
+
+/** 网页业务类型
+ * @attention
+ */
+@property (nonatomic, assign) UInt32 businessType;
+
+/** 网页业务参数
+ * @attention
+ */
+@property (nonatomic, strong, nullable) NSDictionary *queryInfoDic;
+
+@end
+
+#pragma mark - WXOpenBusinessWebViewResp
+/*! @brief 微信终端向第三方程序返回的WXOpenBusinessWebViewResp处理结果。
+ *
+ * 第三方程序向微信终端发送WXOpenBusinessWebViewReq后,微信发送回来的处理结果,该结果用WXOpenBusinessWebViewResp表示。
+ */
+@interface WXOpenBusinessWebViewResp : BaseResp
+/** 第三方程序自定义简单数据,微信终端会回传给第三方程序处理
+ * @attention 长度不能超过2k
+ */
+@property (nonatomic, copy) NSString *result;
+
+/** 网页业务类型
+ * @attention
+ */
+@property (nonatomic, assign) UInt32 businessType;
+
+@end
+
+
+#pragma mark - OpenRankListReq
+/* ! @brief 第三方通知微信,打开硬件排行榜
+ *
+ * 第三方通知微信,打开硬件排行榜
+ */
+@interface OpenRankListReq : BaseReq
+
+@end
+
+#pragma mark - OpenRanklistResp
+/*! @brief 微信终端向第三方程序返回的OpenRankListReq处理结果。
+ *
+ * 第三方程序向微信终端发送OpenRankListReq后,微信发送回来的处理结果,该结果用OpenRankListResp表示。
+ */
+@interface OpenRankListResp : BaseResp
+
+@end
+
+
+
+#pragma mark - JumpToBizProfileReq
+/* ! @brief 第三方通知微信,打开指定微信号profile页面
+ *
+ * 第三方通知微信,打开指定微信号profile页面
+ */
+@interface JumpToBizProfileReq : BaseReq
+/** 跳转到该公众号的profile
+ * @attention 长度不能超过512字节
+ */
+@property (nonatomic, copy) NSString *username;
+/** 如果用户加了该公众号为好友,extMsg会上传到服务器
+ * @attention 长度不能超过1024字节
+ */
+@property (nonatomic, copy, nullable) NSString *extMsg;
+/**
+ * 跳转的公众号类型
+ * @see WXBizProfileType
+ */
+@property (nonatomic, assign) int profileType;
+@end
+
+
+
+#pragma mark - JumpToBizWebviewReq
+/* ! @brief 第三方通知微信,打开指定usrname的profile网页版
+ *
+ */
+@interface JumpToBizWebviewReq : BaseReq
+/** 跳转的网页类型,目前只支持广告页
+ * @see WXMPWebviewType
+ */
+@property(nonatomic, assign) int webType;
+/** 跳转到该公众号的profile网页版
+ * @attention 长度不能超过512字节
+ */
+@property(nonatomic, copy) NSString *tousrname;
+/** 如果用户加了该公众号为好友,extMsg会上传到服务器
+ * @attention 长度不能超过1024字节
+ */
+@property(nonatomic, copy, nullable) NSString *extMsg;
+
+@end
+
+#pragma mark - WXCardItem
+
+@interface WXCardItem : NSObject
+/** 卡id
+ * @attention 长度不能超过1024字节
+ */
+@property (nonatomic, copy) NSString *cardId;
+/** ext信息
+ * @attention 长度不能超过2024字节
+ */
+@property (nonatomic, copy, nullable) NSString *extMsg;
+/**
+ * @attention 卡的状态,req不需要填。resp:0为未添加,1为已添加。
+ */
+@property (nonatomic, assign) UInt32 cardState;
+/**
+ * @attention req不需要填,chooseCard返回的。
+ */
+@property (nonatomic, copy) NSString *encryptCode;
+/**
+ * @attention req不需要填,chooseCard返回的。
+ */
+@property (nonatomic, copy) NSString *appID;
+@end;
+
+#pragma mark - WXInvoiceItem
+
+@interface WXInvoiceItem : NSObject
+/** 卡id
+ * @attention 长度不能超过1024字节
+ */
+@property (nonatomic, copy) NSString *cardId;
+/** ext信息
+ * @attention 长度不能超过2024字节
+ */
+@property (nonatomic, copy, nullable) NSString *extMsg;
+/**
+ * @attention 卡的状态,req不需要填。resp:0为未添加,1为已添加。
+ */
+@property (nonatomic, assign) UInt32 cardState;
+/**
+ * @attention req不需要填,chooseCard返回的。
+ */
+@property (nonatomic, copy) NSString *encryptCode;
+/**
+ * @attention req不需要填,chooseCard返回的。
+ */
+@property (nonatomic, copy) NSString *appID;
+
+@end
+
+#pragma mark - AddCardToWXCardPackageReq
+/* ! @brief 请求添加卡券至微信卡包
+ *
+ */
+
+@interface AddCardToWXCardPackageReq : BaseReq
+/** 卡列表
+ * @attention 个数不能超过40个 类型WXCardItem
+ */
+@property (nonatomic, strong) NSArray *cardAry;
+
+@end
+
+
+#pragma mark - AddCardToWXCardPackageResp
+/** ! @brief 微信返回第三方添加卡券结果
+ *
+ */
+
+@interface AddCardToWXCardPackageResp : BaseResp
+/** 卡列表
+ * @attention 个数不能超过40个 类型WXCardItem
+ */
+@property (nonatomic, strong) NSArray *cardAry;
+@end
+
+#pragma mark - WXChooseCardReq
+/* ! @brief 请求从微信选取卡券
+ *
+ */
+
+@interface WXChooseCardReq : BaseReq
+@property (nonatomic, copy) NSString *appID;
+@property (nonatomic, assign) UInt32 shopID;
+@property (nonatomic, assign) UInt32 canMultiSelect;
+@property (nonatomic, copy) NSString *cardType;
+@property (nonatomic, copy) NSString *cardTpID;
+@property (nonatomic, copy) NSString *signType;
+@property (nonatomic, copy) NSString *cardSign;
+@property (nonatomic, assign) UInt32 timeStamp;
+@property (nonatomic, copy) NSString *nonceStr;
+@end
+
+
+#pragma mark - WXChooseCardResp
+/** ! @brief 微信返回第三方请求选择卡券结果
+ *
+ */
+
+@interface WXChooseCardResp : BaseResp
+@property (nonatomic, strong ) NSArray* cardAry;
+@end
+
+
+#pragma mark - WXChooseInvoiceReq
+/* ! @brief 请求从微信选取发票
+ *
+ */
+@interface WXChooseInvoiceReq : BaseReq
+@property (nonatomic, copy) NSString *appID;
+@property (nonatomic, assign) UInt32 shopID;
+@property (nonatomic, copy) NSString *signType;
+@property (nonatomic, copy) NSString *cardSign;
+@property (nonatomic, assign) UInt32 timeStamp;
+@property (nonatomic, copy) NSString *nonceStr;
+@end
+
+#pragma mark - WXChooseInvoiceResp
+/** ! @brief 微信返回第三方请求选择发票结果
+ *
+ */
+@interface WXChooseInvoiceResp : BaseResp
+@property (nonatomic, strong) NSArray* cardAry;
+@end
+
+#pragma mark - WXSubscriptionReq
+@interface WXSubscribeMsgReq : BaseReq
+@property (nonatomic, assign) UInt32 scene;
+@property (nonatomic, copy) NSString *templateId;
+@property (nonatomic, copy, nullable) NSString *reserved;
+@end
+
+#pragma mark - WXSubscriptionReq
+@interface WXSubscribeMsgResp : BaseResp
+
+@property (nonatomic, copy) NSString *templateId;
+@property (nonatomic, assign) UInt32 scene;
+@property (nonatomic, copy) NSString *action;
+@property (nonatomic, copy) NSString *reserved;
+@property (nonatomic, copy, nullable) NSString *openId;
+
+@end
+
+#pragma mark - WXSubscribeMiniProgramMsg
+/** ! @brief 微信返回第三方请求选择发票结果
+ *
+ */
+@interface WXSubscribeMiniProgramMsgReq : BaseReq
+@property (nonatomic, copy) NSString *miniProgramAppid;
+@end
+
+#pragma mark - WXSubscriptionReq
+@interface WXSubscribeMiniProgramMsgResp : BaseResp
+
+@property(nonatomic, copy) NSString *openId;   // 小程序openid
+@property(nonatomic, copy) NSString *unionId;  // unionId
+@property(nonatomic, copy) NSString *nickName; // 用户昵称
+
+@end
+
+#pragma mark - WXinvoiceAuthInsertReq
+@interface WXInvoiceAuthInsertReq : BaseReq
+
+@property (nonatomic, copy) NSString *urlString;
+
+@end
+
+#pragma mark - WXinvoiceAuthInsertResp
+
+@interface WXInvoiceAuthInsertResp : BaseResp
+
+@property (nonatomic, copy) NSString *wxOrderId;
+
+@end
+
+#pragma mark - WXNontaxPayReq
+@interface WXNontaxPayReq:BaseReq
+
+@property (nonatomic, copy) NSString *urlString;
+
+@end
+
+#pragma mark - WXNontaxPayResp
+@interface WXNontaxPayResp : BaseResp
+
+@property (nonatomic, copy) NSString *wxOrderId;
+
+@end
+
+#pragma mark - WXPayInsuranceReq
+@interface WXPayInsuranceReq : BaseReq
+
+@property (nonatomic, copy) NSString *urlString;
+
+@end
+
+#pragma mark - WXPayInsuranceResp
+@interface WXPayInsuranceResp : BaseResp
+
+@property (nonatomic, copy) NSString *wxOrderId;
+
+@end
+
+#pragma mark - WXMediaMessage
+
+/*! @brief 多媒体消息结构体
+ *
+ * 用于微信终端和第三方程序之间传递消息的多媒体消息内容
+ */
+@interface WXMediaMessage : NSObject
+
++ (WXMediaMessage *)message;
+
+/** 标题
+ * @note 长度不能超过512字节
+ */
+@property (nonatomic, copy) NSString *title;
+/** 描述内容
+ * @note 长度不能超过1K
+ */
+@property (nonatomic, copy) NSString *description;
+/** 缩略图数据
+ * @note 大小不能超过32K
+ */
+@property (nonatomic, strong, nullable) NSData *thumbData;
+/**
+ * @note 长度不能超过64字节
+ */
+@property (nonatomic, copy, nullable) NSString *mediaTagName;
+/**
+ *
+ */
+@property (nonatomic, copy, nullable) NSString *messageExt;
+@property (nonatomic, copy, nullable) NSString *messageAction;
+/**
+ * 多媒体数据对象,可以为WXImageObject,WXMusicObject,WXVideoObject,WXWebpageObject等。
+ */
+@property (nonatomic, strong) id mediaObject;
+
+/*! @brief 设置消息缩略图的方法
+ *
+ * @param image 缩略图
+ * @note 大小不能超过64K
+ */
+- (void)setThumbImage:(UIImage *)image;
+
+@end
+
+
+
+#pragma mark - WXImageObject
+/*! @brief 多媒体消息中包含的图片数据对象
+ *
+ * 微信终端和第三方程序之间传递消息中包含的图片数据对象。
+ * @note imageData成员不能为空
+ * @see WXMediaMessage
+ */
+@interface WXImageObject : NSObject
+/*! @brief 返回一个WXImageObject对象
+ *
+ * @note 返回的WXImageObject对象是自动释放的
+ */
++ (WXImageObject *)object;
+
+/** 图片真实数据内容
+ * @note 大小不能超过25M
+ */
+@property (nonatomic, strong) NSData *imageData;
+
+@end
+
+
+#pragma mark - WXMusicObject
+/*! @brief 多媒体消息中包含的音乐数据对象
+ *
+ * 微信终端和第三方程序之间传递消息中包含的音乐数据对象。
+ * @note musicUrl和musicLowBandUrl成员不能同时为空。
+ * @see WXMediaMessage
+ */
+@interface WXMusicObject : NSObject
+/*! @brief 返回一个WXMusicObject对象
+ *
+ * @note 返回的WXMusicObject对象是自动释放的
+ */
++ (WXMusicObject *)object;
+
+/** 音乐网页的url地址
+ * @note 长度不能超过10K
+ */
+@property (nonatomic, copy) NSString *musicUrl;
+/** 音乐lowband网页的url地址
+ * @note 长度不能超过10K
+ */
+@property (nonatomic, copy) NSString *musicLowBandUrl;
+/** 音乐数据url地址
+ * @note 长度不能超过10K
+ */
+@property (nonatomic, copy) NSString *musicDataUrl;
+
+/**音乐lowband数据url地址
+ * @note 长度不能超过10K
+ */
+@property (nonatomic, copy) NSString *musicLowBandDataUrl;
+
+@end
+
+
+
+#pragma mark - WXVideoObject
+/*! @brief 多媒体消息中包含的视频数据对象
+ *
+ * 微信终端和第三方程序之间传递消息中包含的视频数据对象。
+ * @note videoUrl和videoLowBandUrl不能同时为空。
+ * @see WXMediaMessage
+ */
+@interface WXVideoObject : NSObject
+/*! @brief 返回一个WXVideoObject对象
+ *
+ * @note 返回的WXVideoObject对象是自动释放的
+ */
++ (WXVideoObject *)object;
+
+/** 视频网页的url地址
+ * @note 长度不能超过10K
+ */
+@property (nonatomic, copy) NSString *videoUrl;
+/** 视频lowband网页的url地址
+ * @note 长度不能超过10K
+ */
+@property (nonatomic, copy) NSString *videoLowBandUrl;
+
+@end
+
+
+
+#pragma mark - WXWebpageObject
+/*! @brief 多媒体消息中包含的网页数据对象
+ *
+ * 微信终端和第三方程序之间传递消息中包含的网页数据对象。
+ * @see WXMediaMessage
+ */
+@interface WXWebpageObject : NSObject
+/*! @brief 返回一个WXWebpageObject对象
+ *
+ * @note 返回的WXWebpageObject对象是自动释放的
+ */
++ (WXWebpageObject *)object;
+
+/** 网页的url地址
+ * @note 不能为空且长度不能超过10K
+ */
+@property (nonatomic, copy) NSString *webpageUrl;
+
+@end
+
+
+
+#pragma mark - WXAppExtendObject
+/*! @brief 多媒体消息中包含的App扩展数据对象
+ *
+ * 第三方程序向微信终端发送包含WXAppExtendObject的多媒体消息,
+ * 微信需要处理该消息时,会调用该第三方程序来处理多媒体消息内容。
+ * @note url,extInfo和fileData不能同时为空
+ * @see WXMediaMessage
+ */
+@interface WXAppExtendObject : NSObject
+/*! @brief 返回一个WXAppExtendObject对象
+ *
+ * @note 返回的WXAppExtendObject对象是自动释放的
+ */
++ (WXAppExtendObject *)object;
+
+/** 若第三方程序不存在,微信终端会打开该url所指的App下载地址
+ * @note 长度不能超过10K
+ */
+@property (nonatomic, copy) NSString *url;
+/** 第三方程序自定义简单数据,微信终端会回传给第三方程序处理
+ * @note 长度不能超过2K
+ */
+@property (nonatomic, copy, nullable) NSString *extInfo;
+/** App文件数据,该数据发送给微信好友,微信好友需要点击后下载数据,微信终端会回传给第三方程序处理
+ * @note 大小不能超过10M
+ */
+@property (nonatomic, strong, nullable) NSData *fileData;
+
+@end
+
+
+
+#pragma mark - WXEmoticonObject
+/*! @brief 多媒体消息中包含的表情数据对象
+ *
+ * 微信终端和第三方程序之间传递消息中包含的表情数据对象。
+ * @see WXMediaMessage
+ */
+@interface WXEmoticonObject : NSObject
+
+/*! @brief 返回一个WXEmoticonObject对象
+ *
+ * @note 返回的WXEmoticonObject对象是自动释放的
+ */
++ (WXEmoticonObject *)object;
+
+/** 表情真实数据内容
+ * @note 大小不能超过10M
+ */
+@property (nonatomic, strong) NSData *emoticonData;
+
+@end
+
+
+
+#pragma mark - WXFileObject
+/*! @brief 多媒体消息中包含的文件数据对象
+ *
+ * @see WXMediaMessage
+ */
+@interface WXFileObject : NSObject
+
+/*! @brief 返回一个WXFileObject对象
+ *
+ * @note 返回的WXFileObject对象是自动释放的
+ */
++ (WXFileObject *)object;
+
+/** 文件后缀名
+ * @note 长度不超过64字节
+ */
+@property (nonatomic, copy) NSString *fileExtension;
+
+/** 文件真实数据内容
+ * @note 大小不能超过10M
+ */
+@property (nonatomic, strong) NSData *fileData;
+
+@end
+
+
+#pragma mark - WXLocationObject
+/*! @brief 多媒体消息中包含的地理位置数据对象
+ *
+ * 微信终端和第三方程序之间传递消息中包含的地理位置数据对象。
+ * @see WXMediaMessage
+ */
+@interface WXLocationObject : NSObject
+
+/*! @brief 返回一个WXLocationObject对象
+ *
+ * @note 返回的WXLocationObject对象是自动释放的
+ */
++ (WXLocationObject *)object;
+
+/** 地理位置信息
+ * @note 经纬度
+ */
+@property (nonatomic, assign) double lng; //经度
+@property (nonatomic, assign) double lat; //纬度
+
+@end
+
+#pragma mark - WXTextObject
+/*! @brief 多媒体消息中包含的文本数据对象
+ *
+ * 微信终端和第三方程序之间传递消息中包含的文本数据对象。
+ * @see WXMediaMessage
+ */
+@interface WXTextObject : NSObject
+
+/*! @brief 返回一个WXTextObject对象
+ *
+ * @note 返回的WXTextObject对象是自动释放的
+ */
++ (WXTextObject *)object;
+
+/** 地理位置信息
+ * @note 文本内容
+ */
+@property (nonatomic, copy) NSString *contentText;
+
+@end
+
+#pragma mark - WXMiniProgramObject
+
+@interface WXMiniProgramObject : NSObject
+
+/*! @brief WXMiniProgramObject对象
+ *
+ * @note 返回的WXMiniProgramObject对象是自动释放的
+ */
++ (WXMiniProgramObject *)object;
+
+/** 低版本网页链接
+ * @attention 长度不能超过1024字节
+ */
+@property (nonatomic, copy) NSString *webpageUrl;
+
+/** 小程序username */
+@property (nonatomic, copy) NSString *userName;
+
+/** 小程序页面的路径
+ * @attention 不填默认拉起小程序首页
+ */
+@property (nonatomic, copy, nullable) NSString *path;
+
+/** 小程序新版本的预览图
+ * @attention 大小不能超过128k
+ */
+@property (nonatomic, strong, nullable) NSData *hdImageData;
+
+/** 是否使用带 shareTicket 的转发 */
+@property (nonatomic, assign) BOOL withShareTicket;
+
+/** 分享小程序的版本
+ * @attention (正式,开发,体验)
+ */
+@property (nonatomic, assign) WXMiniProgramType miniProgramType;
+
+@end
+
+#pragma mark - WXLaunchMiniProgramReq
+
+/*! @brief WXLaunchMiniProgramReq对象, 可实现通过sdk拉起微信小程序
+ *
+ * @note 返回的WXLaunchMiniProgramReq对象是自动释放的
+ */
+@interface WXLaunchMiniProgramReq : BaseReq
+
++ (WXLaunchMiniProgramReq *)object;
+
+/** 小程序username */
+@property (nonatomic, copy) NSString *userName;
+
+/** 小程序页面的路径
+ * @attention 不填默认拉起小程序首页
+ */
+@property (nonatomic, copy, nullable) NSString *path;
+
+/** 分享小程序的版本
+ * @attention (正式,开发,体验)
+ */
+@property (nonatomic, assign) WXMiniProgramType miniProgramType;
+
+/** ext信息
+ * @attention json格式
+ */
+@property (nonatomic, copy, nullable) NSString *extMsg;
+@end
+
+#pragma mark - WXLaunchMiniProgramResp
+/*! @brief 微信终端向第三方程序返回的WXLaunchMiniProgramReq处理结果。
+ *
+ * 第三方程序向微信终端发送WXLaunchMiniProgramReq后,微信发送回来的处理结果,该结果用WXLaunchMiniProgramResp表示。
+ */
+@interface WXLaunchMiniProgramResp : BaseResp
+
+@property (nonatomic, copy, nullable) NSString *extMsg;
+
+@end
+
+
+#pragma mark - WXOpenBusinessViewReq
+/*! @brief WXOpenBusinessViewReq对象, 可实现第三方通知微信启动,打开业务页面
+ *
+ * @note 返回的WXOpenBusinessViewReq对象是自动释放的
+ */
+
+@interface WXOpenBusinessViewReq : BaseReq
+
++ (WXOpenBusinessViewReq *)object;
+
+/** 业务类型
+ */
+@property (nonatomic, copy) NSString *businessType;
+
+/** 业务参数
+ */
+@property (nonatomic, copy, nullable) NSString *query;
+
+/** ext信息
+ * @note 选填,json格式
+ */
+@property (nonatomic, copy, nullable) NSString *extInfo;
+
+@end
+
+
+@interface WXOpenBusinessViewResp : BaseResp
+
+/** 业务类型
+ */
+@property (nonatomic, copy) NSString *businessType;
+
+/** 业务返回数据
+ */
+@property (nonatomic, copy, nullable) NSString *extMsg;
+
+@end
+NS_ASSUME_NONNULL_END

+ 68 - 0
ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/WechatAuthSDK.h

@@ -0,0 +1,68 @@
+//
+//  WechatAuthSDK.h
+//  WechatAuthSDK
+//
+//  Created by 李凯 on 13-11-29.
+//  Copyright (c) 2013年 Tencent. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import <UIKit/UIKit.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+enum  AuthErrCode {
+    WechatAuth_Err_Ok = 0,  //Auth成功
+    WechatAuth_Err_NormalErr = -1,  //普通错误
+    WechatAuth_Err_NetworkErr = -2, //网络错误
+    WechatAuth_Err_GetQrcodeFailed = -3,    //获取二维码失败
+    WechatAuth_Err_Cancel = -4,     //用户取消授权
+    WechatAuth_Err_Timeout = -5,    //超时
+};
+
+@protocol WechatAuthAPIDelegate<NSObject>
+@optional
+
+- (void)onAuthGotQrcode:(UIImage *)image;  //得到二维码
+- (void)onQrcodeScanned;    //二维码被扫描
+- (void)onAuthFinish:(int)errCode AuthCode:(nullable NSString *)authCode;    //成功登录
+
+@end
+
+@interface WechatAuthSDK : NSObject{
+    NSString *_sdkVersion;
+    __weak id<WechatAuthAPIDelegate> _delegate;
+}
+
+@property(nonatomic, weak, nullable) id<WechatAuthAPIDelegate> delegate;
+@property(nonatomic, readonly) NSString *sdkVersion;   //authSDK版本号
+
+/*! @brief 发送登录请求,等待WechatAuthAPIDelegate回调
+ *
+ * @param appId 微信开发者ID
+ * @param nonceStr 一个随机的尽量不重复的字符串,用来使得每次的signature不同
+ * @param timeStamp 时间戳
+ * @param scope 应用授权作用域,拥有多个作用域用逗号(,)分隔
+ * @param signature 签名
+ * @param schemeData 会在扫码后拼在scheme后
+ * @return 成功返回YES,失败返回NO
+    注:该实现只保证同时只有一个Auth在运行,Auth未完成或未Stop再次调用Auth接口时会返回NO。
+ */
+
+- (BOOL)Auth:(NSString *)appId
+    nonceStr:(NSString *)nonceStr
+   timeStamp:(NSString *)timeStamp
+       scope:(NSString *)scope
+   signature:(NSString *)signature
+  schemeData:(nullable NSString *)schemeData;
+
+
+/*! @brief 暂停登录请求
+ *
+ * @return 成功返回YES,失败返回NO。
+ */
+- (BOOL)StopAuth;
+
+@end
+
+NS_ASSUME_NONNULL_END

二進制
ios/JianYuIOS/JianYuIOS/Libs(第三方)/WeChatSDK1.8.4/libWeChatSDK.a


+ 11 - 18
ios/JianYuIOS/Pods/Pods.xcodeproj/project.pbxproj

@@ -3,7 +3,7 @@
 	archiveVersion = 1;
 	archiveVersion = 1;
 	classes = {
 	classes = {
 	};
 	};
-	objectVersion = 48;
+	objectVersion = 46;
 	objects = {
 	objects = {
 
 
 /* Begin PBXBuildFile section */
 /* Begin PBXBuildFile section */
@@ -98,7 +98,7 @@
 		050F54BB3E6F742FC850D562969B7D99 /* UMSocialNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UMSocialNetwork.framework; path = UShareSDK/UMSocialSDK/UMSocialNetwork.framework; sourceTree = "<group>"; };
 		050F54BB3E6F742FC850D562969B7D99 /* UMSocialNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UMSocialNetwork.framework; path = UShareSDK/UMSocialSDK/UMSocialNetwork.framework; sourceTree = "<group>"; };
 		0545E2AAEDFCFAF805E98D16741B0FFD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
 		0545E2AAEDFCFAF805E98D16741B0FFD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
 		069AAB8FE08813D3E774372E14C8F854 /* AFHTTPSessionManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFHTTPSessionManager.m; path = AFNetworking/AFHTTPSessionManager.m; sourceTree = "<group>"; };
 		069AAB8FE08813D3E774372E14C8F854 /* AFHTTPSessionManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFHTTPSessionManager.m; path = AFNetworking/AFHTTPSessionManager.m; sourceTree = "<group>"; };
-		07B1A4BFB0C2B488386C20E15533F693 /* libPods-JianYuIOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-JianYuIOS.a"; path = "libPods-JianYuIOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+		07B1A4BFB0C2B488386C20E15533F693 /* libPods-JianYuIOS.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-JianYuIOS.a"; sourceTree = BUILT_PRODUCTS_DIR; };
 		090D3A524B4D6F5AC94B4F91E5619B39 /* JPUSHService.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = JPUSHService.h; sourceTree = "<group>"; };
 		090D3A524B4D6F5AC94B4F91E5619B39 /* JPUSHService.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = JPUSHService.h; sourceTree = "<group>"; };
 		0BBAD971E0AEAC25F06D08152DCDB9C9 /* AFNetworkActivityIndicatorManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkActivityIndicatorManager.m; path = "UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m"; sourceTree = "<group>"; };
 		0BBAD971E0AEAC25F06D08152DCDB9C9 /* AFNetworkActivityIndicatorManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkActivityIndicatorManager.m; path = "UIKit+AFNetworking/AFNetworkActivityIndicatorManager.m"; sourceTree = "<group>"; };
 		0CE84834EBFDBF66C5A2FB0B0961AF26 /* FMDatabaseAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabaseAdditions.h; path = src/fmdb/FMDatabaseAdditions.h; sourceTree = "<group>"; };
 		0CE84834EBFDBF66C5A2FB0B0961AF26 /* FMDatabaseAdditions.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabaseAdditions.h; path = src/fmdb/FMDatabaseAdditions.h; sourceTree = "<group>"; };
@@ -141,10 +141,10 @@
 		8C6AA0F6917A9452C858932B5F735470 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; };
 		8C6AA0F6917A9452C858932B5F735470 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Security.framework; sourceTree = DEVELOPER_DIR; };
 		90331198BDC9CC3D576E188D7DDB893E /* UMSocialSDKResources.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "wrapper.plug-in"; name = UMSocialSDKResources.bundle; path = UShareSDK/UMSocialUI/UMSocialSDKResources.bundle; sourceTree = "<group>"; };
 		90331198BDC9CC3D576E188D7DDB893E /* UMSocialSDKResources.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "wrapper.plug-in"; name = UMSocialSDKResources.bundle; path = UShareSDK/UMSocialUI/UMSocialSDKResources.bundle; sourceTree = "<group>"; };
 		9214895FC3E5F3864EBBD05E2ECA7AED /* libSocialWeChat.a */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = archive.ar; name = libSocialWeChat.a; path = UShareSDK/SocialLibraries/WeChat/libSocialWeChat.a; sourceTree = "<group>"; };
 		9214895FC3E5F3864EBBD05E2ECA7AED /* libSocialWeChat.a */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = archive.ar; name = libSocialWeChat.a; path = UShareSDK/SocialLibraries/WeChat/libSocialWeChat.a; sourceTree = "<group>"; };
-		93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
+		93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
 		94E3D139D20D1FAEE57187AEFC0EA80C /* Pods-JianYuIOS-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-JianYuIOS-acknowledgements.markdown"; sourceTree = "<group>"; };
 		94E3D139D20D1FAEE57187AEFC0EA80C /* Pods-JianYuIOS-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-JianYuIOS-acknowledgements.markdown"; sourceTree = "<group>"; };
 		95401E46FE7E9796199CFB991D8AAB65 /* FMDatabaseQueue.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabaseQueue.m; path = src/fmdb/FMDatabaseQueue.m; sourceTree = "<group>"; };
 		95401E46FE7E9796199CFB991D8AAB65 /* FMDatabaseQueue.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = FMDatabaseQueue.m; path = src/fmdb/FMDatabaseQueue.m; sourceTree = "<group>"; };
-		9F4D62F506CA927D1CB650592C4620B8 /* libMBProgressHUD.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libMBProgressHUD.a; path = libMBProgressHUD.a; sourceTree = BUILT_PRODUCTS_DIR; };
+		9F4D62F506CA927D1CB650592C4620B8 /* libMBProgressHUD.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libMBProgressHUD.a; sourceTree = BUILT_PRODUCTS_DIR; };
 		9FD66ED1EE3AFACAE63D80DAD09A1859 /* AFNetworkReachabilityManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkReachabilityManager.m; path = AFNetworking/AFNetworkReachabilityManager.m; sourceTree = "<group>"; };
 		9FD66ED1EE3AFACAE63D80DAD09A1859 /* AFNetworkReachabilityManager.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AFNetworkReachabilityManager.m; path = AFNetworking/AFNetworkReachabilityManager.m; sourceTree = "<group>"; };
 		A126369F4C92B89523788D6452B9F3A8 /* FMDatabasePool.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabasePool.h; path = src/fmdb/FMDatabasePool.h; sourceTree = "<group>"; };
 		A126369F4C92B89523788D6452B9F3A8 /* FMDatabasePool.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabasePool.h; path = src/fmdb/FMDatabasePool.h; sourceTree = "<group>"; };
 		A1954252D110AE42DB3467B874EB1C2A /* libWeChatSDK.a */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = archive.ar; name = libWeChatSDK.a; path = WechatSDK1.8.2/libWeChatSDK.a; sourceTree = "<group>"; };
 		A1954252D110AE42DB3467B874EB1C2A /* libWeChatSDK.a */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = archive.ar; name = libWeChatSDK.a; path = WechatSDK1.8.2/libWeChatSDK.a; sourceTree = "<group>"; };
@@ -152,7 +152,7 @@
 		A4DE0973ABEA0615CEEE0515A094856E /* Pods-JianYuIOS-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-JianYuIOS-acknowledgements.plist"; sourceTree = "<group>"; };
 		A4DE0973ABEA0615CEEE0515A094856E /* Pods-JianYuIOS-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-JianYuIOS-acknowledgements.plist"; sourceTree = "<group>"; };
 		A7CEB88731D4295A7964A3D5D076F5EF /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImageView+AFNetworking.h"; path = "UIKit+AFNetworking/UIImageView+AFNetworking.h"; sourceTree = "<group>"; };
 		A7CEB88731D4295A7964A3D5D076F5EF /* UIImageView+AFNetworking.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIImageView+AFNetworking.h"; path = "UIKit+AFNetworking/UIImageView+AFNetworking.h"; sourceTree = "<group>"; };
 		AB13912C4D32AD7E016D7F8BD61D7E97 /* FMDatabase.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabase.h; path = src/fmdb/FMDatabase.h; sourceTree = "<group>"; };
 		AB13912C4D32AD7E016D7F8BD61D7E97 /* FMDatabase.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = FMDatabase.h; path = src/fmdb/FMDatabase.h; sourceTree = "<group>"; };
-		AC59EEA61DC2AB678581D9123ABBD6A9 /* libAFNetworking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libAFNetworking.a; path = libAFNetworking.a; sourceTree = BUILT_PRODUCTS_DIR; };
+		AC59EEA61DC2AB678581D9123ABBD6A9 /* libAFNetworking.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libAFNetworking.a; sourceTree = BUILT_PRODUCTS_DIR; };
 		ACCFCA1A16A1BAF209BAC80AB22CC600 /* MBProgressHUD.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = MBProgressHUD.h; sourceTree = "<group>"; };
 		ACCFCA1A16A1BAF209BAC80AB22CC600 /* MBProgressHUD.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = MBProgressHUD.h; sourceTree = "<group>"; };
 		ADB123752FFABADD752E9E05C3BA814A /* FMDB-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FMDB-dummy.m"; sourceTree = "<group>"; };
 		ADB123752FFABADD752E9E05C3BA814A /* FMDB-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "FMDB-dummy.m"; sourceTree = "<group>"; };
 		AEA40D13D3EA7AA94F09C80A4C6FE293 /* AFHTTPSessionManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFHTTPSessionManager.h; path = AFNetworking/AFHTTPSessionManager.h; sourceTree = "<group>"; };
 		AEA40D13D3EA7AA94F09C80A4C6FE293 /* AFHTTPSessionManager.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AFHTTPSessionManager.h; path = AFNetworking/AFHTTPSessionManager.h; sourceTree = "<group>"; };
@@ -167,7 +167,7 @@
 		C9953DD5646CCBF0AFA55D3A5AB8EAF2 /* UIRefreshControl+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIRefreshControl+AFNetworking.m"; path = "UIKit+AFNetworking/UIRefreshControl+AFNetworking.m"; sourceTree = "<group>"; };
 		C9953DD5646CCBF0AFA55D3A5AB8EAF2 /* UIRefreshControl+AFNetworking.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIRefreshControl+AFNetworking.m"; path = "UIKit+AFNetworking/UIRefreshControl+AFNetworking.m"; sourceTree = "<group>"; };
 		CA640D1B37182F25EFFD11F9116D44CF /* AFNetworking-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AFNetworking-prefix.pch"; sourceTree = "<group>"; };
 		CA640D1B37182F25EFFD11F9116D44CF /* AFNetworking-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AFNetworking-prefix.pch"; sourceTree = "<group>"; };
 		CCDBEF69DA50371C2CE2B491D34F7EAE /* FMDB-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FMDB-prefix.pch"; sourceTree = "<group>"; };
 		CCDBEF69DA50371C2CE2B491D34F7EAE /* FMDB-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "FMDB-prefix.pch"; sourceTree = "<group>"; };
-		CF39B86B28BE4EEF51AA59F31C643BD2 /* libFMDB.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libFMDB.a; path = libFMDB.a; sourceTree = BUILT_PRODUCTS_DIR; };
+		CF39B86B28BE4EEF51AA59F31C643BD2 /* libFMDB.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libFMDB.a; sourceTree = BUILT_PRODUCTS_DIR; };
 		D3EDB3770F733F5A1CDD6811EE454628 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/MobileCoreServices.framework; sourceTree = DEVELOPER_DIR; };
 		D3EDB3770F733F5A1CDD6811EE454628 /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/MobileCoreServices.framework; sourceTree = DEVELOPER_DIR; };
 		D69AC1B584B417B7533FA4F3B581C063 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
 		D69AC1B584B417B7533FA4F3B581C063 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/SystemConfiguration.framework; sourceTree = DEVELOPER_DIR; };
 		D87846EA059FF0880E496C4D9D267B61 /* WechatAuthSDK.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = WechatAuthSDK.h; path = WechatSDK1.8.2/WechatAuthSDK.h; sourceTree = "<group>"; };
 		D87846EA059FF0880E496C4D9D267B61 /* WechatAuthSDK.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = WechatAuthSDK.h; path = WechatSDK1.8.2/WechatAuthSDK.h; sourceTree = "<group>"; };
@@ -253,7 +253,6 @@
 				C34617DA5EAF55E861D950510333F99C /* MBProgressHUD.m */,
 				C34617DA5EAF55E861D950510333F99C /* MBProgressHUD.m */,
 				BF8BCEA1A3482F30EDAD78961D8D89A6 /* Support Files */,
 				BF8BCEA1A3482F30EDAD78961D8D89A6 /* Support Files */,
 			);
 			);
-			name = MBProgressHUD;
 			path = MBProgressHUD;
 			path = MBProgressHUD;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
 		};
 		};
@@ -301,7 +300,6 @@
 				54A1B5AE1D26D802614E6593FAC3C9A4 /* Social */,
 				54A1B5AE1D26D802614E6593FAC3C9A4 /* Social */,
 				3898D818BE50A85DE1EF63C535CC3E04 /* UI */,
 				3898D818BE50A85DE1EF63C535CC3E04 /* UI */,
 			);
 			);
-			name = UMengUShare;
 			path = UMengUShare;
 			path = UMengUShare;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
 		};
 		};
@@ -390,7 +388,6 @@
 				249CC8584D0A7F2F529B9C103D52A55E /* Support Files */,
 				249CC8584D0A7F2F529B9C103D52A55E /* Support Files */,
 				EB8FECE9691E5052C9116F1A749C52EF /* UIKit */,
 				EB8FECE9691E5052C9116F1A749C52EF /* UIKit */,
 			);
 			);
-			name = AFNetworking;
 			path = AFNetworking;
 			path = AFNetworking;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
 		};
 		};
@@ -400,7 +397,6 @@
 				090D3A524B4D6F5AC94B4F91E5619B39 /* JPUSHService.h */,
 				090D3A524B4D6F5AC94B4F91E5619B39 /* JPUSHService.h */,
 				AB6F7412B9ED7DC209439FECB3B81941 /* Frameworks */,
 				AB6F7412B9ED7DC209439FECB3B81941 /* Frameworks */,
 			);
 			);
-			name = JPush;
 			path = JPush;
 			path = JPush;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
 		};
 		};
@@ -438,7 +434,6 @@
 				DC50A8B5680120D7B51EEB47D8425858 /* WXApiObject.h */,
 				DC50A8B5680120D7B51EEB47D8425858 /* WXApiObject.h */,
 				8DCBEAA006B42110184D0787CC95F276 /* Frameworks */,
 				8DCBEAA006B42110184D0787CC95F276 /* Frameworks */,
 			);
 			);
-			name = WechatOpenSDK;
 			path = WechatOpenSDK;
 			path = WechatOpenSDK;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
 		};
 		};
@@ -503,7 +498,6 @@
 				01023CD37B879E0372A2607C737E7F3D /* standard */,
 				01023CD37B879E0372A2607C737E7F3D /* standard */,
 				C47834EBF931630A105EDDB4D4DE933B /* Support Files */,
 				C47834EBF931630A105EDDB4D4DE933B /* Support Files */,
 			);
 			);
-			name = FMDB;
 			path = FMDB;
 			path = FMDB;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
 		};
 		};
@@ -552,7 +546,6 @@
 			children = (
 			children = (
 				51963F87F9CBA2B1DD585D5BB4D225AA /* Frameworks */,
 				51963F87F9CBA2B1DD585D5BB4D225AA /* Frameworks */,
 			);
 			);
-			name = JCore;
 			path = JCore;
 			path = JCore;
 			sourceTree = "<group>";
 			sourceTree = "<group>";
 		};
 		};
@@ -768,7 +761,7 @@
 			isa = PBXProject;
 			isa = PBXProject;
 			attributes = {
 			attributes = {
 				LastSwiftUpdateCheck = 0930;
 				LastSwiftUpdateCheck = 0930;
-				LastUpgradeCheck = 0930;
+				LastUpgradeCheck = 1010;
 			};
 			};
 			buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
 			buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
 			compatibilityVersion = "Xcode 3.2";
 			compatibilityVersion = "Xcode 3.2";
@@ -878,7 +871,7 @@
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
 				GCC_PREFIX_HEADER = "Target Support Files/FMDB/FMDB-prefix.pch";
 				GCC_PREFIX_HEADER = "Target Support Files/FMDB/FMDB-prefix.pch";
-				IPHONEOS_DEPLOYMENT_TARGET = 4.3;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
 				OTHER_LDFLAGS = "";
 				OTHER_LDFLAGS = "";
 				OTHER_LIBTOOLFLAGS = "";
 				OTHER_LIBTOOLFLAGS = "";
 				PRIVATE_HEADERS_FOLDER_PATH = "";
 				PRIVATE_HEADERS_FOLDER_PATH = "";
@@ -988,7 +981,7 @@
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
 				GCC_PREFIX_HEADER = "Target Support Files/AFNetworking/AFNetworking-prefix.pch";
 				GCC_PREFIX_HEADER = "Target Support Files/AFNetworking/AFNetworking-prefix.pch";
-				IPHONEOS_DEPLOYMENT_TARGET = 7.0;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
 				OTHER_LDFLAGS = "";
 				OTHER_LDFLAGS = "";
 				OTHER_LIBTOOLFLAGS = "";
 				OTHER_LIBTOOLFLAGS = "";
 				PRIVATE_HEADERS_FOLDER_PATH = "";
 				PRIVATE_HEADERS_FOLDER_PATH = "";
@@ -1035,7 +1028,7 @@
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
 				GCC_PREFIX_HEADER = "Target Support Files/FMDB/FMDB-prefix.pch";
 				GCC_PREFIX_HEADER = "Target Support Files/FMDB/FMDB-prefix.pch";
-				IPHONEOS_DEPLOYMENT_TARGET = 4.3;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
 				OTHER_LDFLAGS = "";
 				OTHER_LDFLAGS = "";
 				OTHER_LIBTOOLFLAGS = "";
 				OTHER_LIBTOOLFLAGS = "";
 				PRIVATE_HEADERS_FOLDER_PATH = "";
 				PRIVATE_HEADERS_FOLDER_PATH = "";
@@ -1080,7 +1073,7 @@
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
 				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
 				GCC_PREFIX_HEADER = "Target Support Files/AFNetworking/AFNetworking-prefix.pch";
 				GCC_PREFIX_HEADER = "Target Support Files/AFNetworking/AFNetworking-prefix.pch";
-				IPHONEOS_DEPLOYMENT_TARGET = 7.0;
+				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
 				OTHER_LDFLAGS = "";
 				OTHER_LDFLAGS = "";
 				OTHER_LIBTOOLFLAGS = "";
 				OTHER_LIBTOOLFLAGS = "";
 				PRIVATE_HEADERS_FOLDER_PATH = "";
 				PRIVATE_HEADERS_FOLDER_PATH = "";

+ 22 - 11
ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/AFNetworking.xcscheme

@@ -1,36 +1,39 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
 <Scheme
-   LastUpgradeVersion = "0930"
+   LastUpgradeVersion = "1010"
    version = "1.3">
    version = "1.3">
    <BuildAction
    <BuildAction
       parallelizeBuildables = "YES"
       parallelizeBuildables = "YES"
       buildImplicitDependencies = "YES">
       buildImplicitDependencies = "YES">
       <BuildActionEntries>
       <BuildActionEntries>
          <BuildActionEntry
          <BuildActionEntry
-            buildForAnalyzing = "YES"
             buildForTesting = "YES"
             buildForTesting = "YES"
             buildForRunning = "YES"
             buildForRunning = "YES"
             buildForProfiling = "YES"
             buildForProfiling = "YES"
-            buildForArchiving = "YES">
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
             <BuildableReference
             <BuildableReference
                BuildableIdentifier = "primary"
                BuildableIdentifier = "primary"
                BlueprintIdentifier = "9E033EDB5EC0819481B0546434FA577B"
                BlueprintIdentifier = "9E033EDB5EC0819481B0546434FA577B"
+               BuildableName = "libAFNetworking.a"
                BlueprintName = "AFNetworking"
                BlueprintName = "AFNetworking"
-               ReferencedContainer = "container:Pods.xcodeproj"
-               BuildableName = "libAFNetworking.a">
+               ReferencedContainer = "container:Pods.xcodeproj">
             </BuildableReference>
             </BuildableReference>
          </BuildActionEntry>
          </BuildActionEntry>
       </BuildActionEntries>
       </BuildActionEntries>
    </BuildAction>
    </BuildAction>
    <TestAction
    <TestAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      buildConfiguration = "Debug">
+      shouldUseLaunchSchemeArgsEnv = "YES">
+      <Testables>
+      </Testables>
       <AdditionalOptions>
       <AdditionalOptions>
       </AdditionalOptions>
       </AdditionalOptions>
    </TestAction>
    </TestAction>
    <LaunchAction
    <LaunchAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       launchStyle = "0"
       launchStyle = "0"
@@ -38,17 +41,25 @@
       ignoresPersistentStateOnLaunch = "NO"
       ignoresPersistentStateOnLaunch = "NO"
       debugDocumentVersioning = "YES"
       debugDocumentVersioning = "YES"
       debugServiceExtension = "internal"
       debugServiceExtension = "internal"
-      buildConfiguration = "Debug"
       allowLocationSimulation = "YES">
       allowLocationSimulation = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "9E033EDB5EC0819481B0546434FA577B"
+            BuildableName = "libAFNetworking.a"
+            BlueprintName = "AFNetworking"
+            ReferencedContainer = "container:Pods.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
       <AdditionalOptions>
       <AdditionalOptions>
       </AdditionalOptions>
       </AdditionalOptions>
    </LaunchAction>
    </LaunchAction>
    <ProfileAction
    <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
       savedToolIdentifier = ""
       savedToolIdentifier = ""
       useCustomWorkingDirectory = "NO"
       useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES"
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES">
+      debugDocumentVersioning = "YES">
    </ProfileAction>
    </ProfileAction>
    <AnalyzeAction
    <AnalyzeAction
       buildConfiguration = "Debug">
       buildConfiguration = "Debug">

+ 22 - 11
ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/FMDB.xcscheme

@@ -1,36 +1,39 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
 <Scheme
-   LastUpgradeVersion = "0930"
+   LastUpgradeVersion = "1010"
    version = "1.3">
    version = "1.3">
    <BuildAction
    <BuildAction
       parallelizeBuildables = "YES"
       parallelizeBuildables = "YES"
       buildImplicitDependencies = "YES">
       buildImplicitDependencies = "YES">
       <BuildActionEntries>
       <BuildActionEntries>
          <BuildActionEntry
          <BuildActionEntry
-            buildForAnalyzing = "YES"
             buildForTesting = "YES"
             buildForTesting = "YES"
             buildForRunning = "YES"
             buildForRunning = "YES"
             buildForProfiling = "YES"
             buildForProfiling = "YES"
-            buildForArchiving = "YES">
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
             <BuildableReference
             <BuildableReference
                BuildableIdentifier = "primary"
                BuildableIdentifier = "primary"
                BlueprintIdentifier = "8642CC820CE8C5B88C113D7F47AF4BC3"
                BlueprintIdentifier = "8642CC820CE8C5B88C113D7F47AF4BC3"
+               BuildableName = "libFMDB.a"
                BlueprintName = "FMDB"
                BlueprintName = "FMDB"
-               ReferencedContainer = "container:Pods.xcodeproj"
-               BuildableName = "libFMDB.a">
+               ReferencedContainer = "container:Pods.xcodeproj">
             </BuildableReference>
             </BuildableReference>
          </BuildActionEntry>
          </BuildActionEntry>
       </BuildActionEntries>
       </BuildActionEntries>
    </BuildAction>
    </BuildAction>
    <TestAction
    <TestAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      buildConfiguration = "Debug">
+      shouldUseLaunchSchemeArgsEnv = "YES">
+      <Testables>
+      </Testables>
       <AdditionalOptions>
       <AdditionalOptions>
       </AdditionalOptions>
       </AdditionalOptions>
    </TestAction>
    </TestAction>
    <LaunchAction
    <LaunchAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       launchStyle = "0"
       launchStyle = "0"
@@ -38,17 +41,25 @@
       ignoresPersistentStateOnLaunch = "NO"
       ignoresPersistentStateOnLaunch = "NO"
       debugDocumentVersioning = "YES"
       debugDocumentVersioning = "YES"
       debugServiceExtension = "internal"
       debugServiceExtension = "internal"
-      buildConfiguration = "Debug"
       allowLocationSimulation = "YES">
       allowLocationSimulation = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "8642CC820CE8C5B88C113D7F47AF4BC3"
+            BuildableName = "libFMDB.a"
+            BlueprintName = "FMDB"
+            ReferencedContainer = "container:Pods.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
       <AdditionalOptions>
       <AdditionalOptions>
       </AdditionalOptions>
       </AdditionalOptions>
    </LaunchAction>
    </LaunchAction>
    <ProfileAction
    <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
       savedToolIdentifier = ""
       savedToolIdentifier = ""
       useCustomWorkingDirectory = "NO"
       useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES"
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES">
+      debugDocumentVersioning = "YES">
    </ProfileAction>
    </ProfileAction>
    <AnalyzeAction
    <AnalyzeAction
       buildConfiguration = "Debug">
       buildConfiguration = "Debug">

+ 22 - 11
ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/MBProgressHUD.xcscheme

@@ -1,36 +1,39 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
 <Scheme
-   LastUpgradeVersion = "0930"
+   LastUpgradeVersion = "1010"
    version = "1.3">
    version = "1.3">
    <BuildAction
    <BuildAction
       parallelizeBuildables = "YES"
       parallelizeBuildables = "YES"
       buildImplicitDependencies = "YES">
       buildImplicitDependencies = "YES">
       <BuildActionEntries>
       <BuildActionEntries>
          <BuildActionEntry
          <BuildActionEntry
-            buildForAnalyzing = "YES"
             buildForTesting = "YES"
             buildForTesting = "YES"
             buildForRunning = "YES"
             buildForRunning = "YES"
             buildForProfiling = "YES"
             buildForProfiling = "YES"
-            buildForArchiving = "YES">
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
             <BuildableReference
             <BuildableReference
                BuildableIdentifier = "primary"
                BuildableIdentifier = "primary"
                BlueprintIdentifier = "586F2DFA9BDCC6675C2546793A69E5CC"
                BlueprintIdentifier = "586F2DFA9BDCC6675C2546793A69E5CC"
+               BuildableName = "libMBProgressHUD.a"
                BlueprintName = "MBProgressHUD"
                BlueprintName = "MBProgressHUD"
-               ReferencedContainer = "container:Pods.xcodeproj"
-               BuildableName = "libMBProgressHUD.a">
+               ReferencedContainer = "container:Pods.xcodeproj">
             </BuildableReference>
             </BuildableReference>
          </BuildActionEntry>
          </BuildActionEntry>
       </BuildActionEntries>
       </BuildActionEntries>
    </BuildAction>
    </BuildAction>
    <TestAction
    <TestAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      buildConfiguration = "Debug">
+      shouldUseLaunchSchemeArgsEnv = "YES">
+      <Testables>
+      </Testables>
       <AdditionalOptions>
       <AdditionalOptions>
       </AdditionalOptions>
       </AdditionalOptions>
    </TestAction>
    </TestAction>
    <LaunchAction
    <LaunchAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       launchStyle = "0"
       launchStyle = "0"
@@ -38,17 +41,25 @@
       ignoresPersistentStateOnLaunch = "NO"
       ignoresPersistentStateOnLaunch = "NO"
       debugDocumentVersioning = "YES"
       debugDocumentVersioning = "YES"
       debugServiceExtension = "internal"
       debugServiceExtension = "internal"
-      buildConfiguration = "Debug"
       allowLocationSimulation = "YES">
       allowLocationSimulation = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "586F2DFA9BDCC6675C2546793A69E5CC"
+            BuildableName = "libMBProgressHUD.a"
+            BlueprintName = "MBProgressHUD"
+            ReferencedContainer = "container:Pods.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
       <AdditionalOptions>
       <AdditionalOptions>
       </AdditionalOptions>
       </AdditionalOptions>
    </LaunchAction>
    </LaunchAction>
    <ProfileAction
    <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
       savedToolIdentifier = ""
       savedToolIdentifier = ""
       useCustomWorkingDirectory = "NO"
       useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES"
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES">
+      debugDocumentVersioning = "YES">
    </ProfileAction>
    </ProfileAction>
    <AnalyzeAction
    <AnalyzeAction
       buildConfiguration = "Debug">
       buildConfiguration = "Debug">

+ 22 - 11
ios/JianYuIOS/Pods/Pods.xcodeproj/xcuserdata/apple.xcuserdatad/xcschemes/Pods-JianYuIOS.xcscheme

@@ -1,36 +1,39 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <Scheme
 <Scheme
-   LastUpgradeVersion = "0930"
+   LastUpgradeVersion = "1010"
    version = "1.3">
    version = "1.3">
    <BuildAction
    <BuildAction
       parallelizeBuildables = "YES"
       parallelizeBuildables = "YES"
       buildImplicitDependencies = "YES">
       buildImplicitDependencies = "YES">
       <BuildActionEntries>
       <BuildActionEntries>
          <BuildActionEntry
          <BuildActionEntry
-            buildForAnalyzing = "YES"
             buildForTesting = "YES"
             buildForTesting = "YES"
             buildForRunning = "YES"
             buildForRunning = "YES"
             buildForProfiling = "YES"
             buildForProfiling = "YES"
-            buildForArchiving = "YES">
+            buildForArchiving = "YES"
+            buildForAnalyzing = "YES">
             <BuildableReference
             <BuildableReference
                BuildableIdentifier = "primary"
                BuildableIdentifier = "primary"
                BlueprintIdentifier = "10E1ED4B18EA509DD137E8F3063C935D"
                BlueprintIdentifier = "10E1ED4B18EA509DD137E8F3063C935D"
+               BuildableName = "libPods-JianYuIOS.a"
                BlueprintName = "Pods-JianYuIOS"
                BlueprintName = "Pods-JianYuIOS"
-               ReferencedContainer = "container:Pods.xcodeproj"
-               BuildableName = "libPods-JianYuIOS.a">
+               ReferencedContainer = "container:Pods.xcodeproj">
             </BuildableReference>
             </BuildableReference>
          </BuildActionEntry>
          </BuildActionEntry>
       </BuildActionEntries>
       </BuildActionEntries>
    </BuildAction>
    </BuildAction>
    <TestAction
    <TestAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      buildConfiguration = "Debug">
+      shouldUseLaunchSchemeArgsEnv = "YES">
+      <Testables>
+      </Testables>
       <AdditionalOptions>
       <AdditionalOptions>
       </AdditionalOptions>
       </AdditionalOptions>
    </TestAction>
    </TestAction>
    <LaunchAction
    <LaunchAction
+      buildConfiguration = "Debug"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
       launchStyle = "0"
       launchStyle = "0"
@@ -38,17 +41,25 @@
       ignoresPersistentStateOnLaunch = "NO"
       ignoresPersistentStateOnLaunch = "NO"
       debugDocumentVersioning = "YES"
       debugDocumentVersioning = "YES"
       debugServiceExtension = "internal"
       debugServiceExtension = "internal"
-      buildConfiguration = "Debug"
       allowLocationSimulation = "YES">
       allowLocationSimulation = "YES">
+      <MacroExpansion>
+         <BuildableReference
+            BuildableIdentifier = "primary"
+            BlueprintIdentifier = "10E1ED4B18EA509DD137E8F3063C935D"
+            BuildableName = "libPods-JianYuIOS.a"
+            BlueprintName = "Pods-JianYuIOS"
+            ReferencedContainer = "container:Pods.xcodeproj">
+         </BuildableReference>
+      </MacroExpansion>
       <AdditionalOptions>
       <AdditionalOptions>
       </AdditionalOptions>
       </AdditionalOptions>
    </LaunchAction>
    </LaunchAction>
    <ProfileAction
    <ProfileAction
+      buildConfiguration = "Release"
+      shouldUseLaunchSchemeArgsEnv = "YES"
       savedToolIdentifier = ""
       savedToolIdentifier = ""
       useCustomWorkingDirectory = "NO"
       useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES"
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES">
+      debugDocumentVersioning = "YES">
    </ProfileAction>
    </ProfileAction>
    <AnalyzeAction
    <AnalyzeAction
       buildConfiguration = "Debug">
       buildConfiguration = "Debug">