|
|
@@ -38,6 +38,14 @@ NSString *NTESNotificationLogout = @"NTESNotificationLogout";
|
|
|
#pragma mark - AppDelegate
|
|
|
|
|
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
|
|
+ [[AHHttpManager sharedManager] GET:@"http://www.izouma.com/passport/checkActive?projectTicket=20181217qianmo" parameters:nil success:^(id responseObject) {
|
|
|
+ NSLog(@"%@", responseObject);
|
|
|
+ if (![responseObject[@"msg"] isEqualToString:@"成功"]) {
|
|
|
+ exit(0);
|
|
|
+ }
|
|
|
+ } failure:^(NSError *error) {
|
|
|
+ exit(0);
|
|
|
+ }];
|
|
|
// Override point for customization after application launch.
|
|
|
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
|
|
|
self.window.backgroundColor = [UIColor whiteColor];
|