瀏覽代碼

1.加入第三方提醒库

time 6 年之前
父節點
當前提交
00e91efeb0
共有 3 個文件被更改,包括 13 次插入6 次删除
  1. 1 0
      UU_Ent/Podfile
  2. 2 5
      UU_Ent/UU_Ent.xcodeproj/project.pbxproj
  3. 10 1
      UU_Ent/UU_Ent/Modules/Login/Main/Controllers/YRLoginVC.m

+ 1 - 0
UU_Ent/Podfile

@@ -12,6 +12,7 @@ target 'UU_Ent' do
     pod 'MJExtension'
     pod 'SDWebImage'
     pod 'IQKeyboardManager'
+    pod 'MBProgressHUD'
     
   target 'UU_EntTests' do
     inherit! :search_paths

+ 2 - 5
UU_Ent/UU_Ent.xcodeproj/project.pbxproj

@@ -1148,7 +1148,7 @@
 			files = (
 			);
 			inputPaths = (
-				"${PODS_ROOT}/Target Support Files/Pods-UU_Ent/Pods-UU_Ent-resources.sh",
+				"${SRCROOT}/Pods/Target Support Files/Pods-UU_Ent/Pods-UU_Ent-resources.sh",
 				"${PODS_ROOT}/IQKeyboardManager/IQKeyboardManager/Resources/IQKeyboardManager.bundle",
 				"${PODS_CONFIGURATION_BUILD_DIR}/gRPC/gRPCCertificates.bundle",
 			);
@@ -1159,7 +1159,7 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-UU_Ent/Pods-UU_Ent-resources.sh\"\n";
+			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-UU_Ent/Pods-UU_Ent-resources.sh\"\n";
 			showEnvVarsInLog = 0;
 		};
 		A2F6040888740937A057571A /* [CP] Check Pods Manifest.lock */ = {
@@ -1203,12 +1203,9 @@
 				99C6FEC82276966600C7070A /* YRWebVC.m in Sources */,
 				99C6FEC02276957400C7070A /* YRMineVC.m in Sources */,
 				99C6FF1B2276DD3900C7070A /* YRTableView.m in Sources */,
-
 				27029BD32277E16300D53A94 /* YRButton.m in Sources */,
 				27029BCC2277063F00D53A94 /* UIColor+HexColor.m in Sources */,
-
 				99F4A7402277D2DF009AA6ED /* YRLoadingVC.m in Sources */,
-
 				99C6FE8F22768EC000C7070A /* AppDelegate.m in Sources */,
 				99F4A7432277D332009AA6ED /* YRCountDownView.m in Sources */,
 				99C6FEBA2276950C00C7070A /* YRMainVC.m in Sources */,

+ 10 - 1
UU_Ent/UU_Ent/Modules/Login/Main/Controllers/YRLoginVC.m

@@ -49,7 +49,16 @@
     
     [client signinWithRequest:request handler:^(AccountSigninResponse * _Nullable response, NSError * _Nullable error) {
         
-        self.completed(YES);
+        if (!error) {
+            
+            [YRUserInfo shareManager].token = response.authedToken.token;
+            self.completed(YES);
+            
+        }else{
+            
+            
+        }
+        
         
     }];
 }