//
//  AppDelegate.h
//  Open
//
//  Created by 黄江涛 on 16/9/6.
//  Copyright © 2016年 黄江涛. All rights reserved.
//
//#import <TencentOpenAPI/TencentApiInterface.h>
#import <UIKit/UIKit.h>
#import <UserNotifications/UserNotifications.h>     // iOS10 通知头文件
//#import <GTSDK/GeTuiSdk.h>
#import "LoginVC.h"
#import <CoreData/CoreData.h>
#import <GTSDK/GeTuiSdk.h>

static NSString *appKey = @"fd742f9db81969857a54d1e8";
static NSString *channel = @"Publish channel";
static BOOL isProduction = FALSE;

#define DEVELOPHOST @"http://39.105.151.133/"
#define DEVELOPACCESSKEY @"b7daf9f2977142f28f53e063a2b67449"
#define DEVEChannelNo @"2000000000"

#define TESTHOST @"https://test-ssc.mohrss.gov.cn/"
#define TESTACCESSKEY @"2d262b1bcc634a768724661cb55bc7ce"
#define TESTChannelNo @"2000000000"

#define PRODUCTIONHOST @"https://ssc.mohrss.gov.cn/"
#define PRODUCTIONACCESSKEY @"2cee1e67858440688c4a5e3d14ed4f03"
#define PRODUCChannelNo @"9900000099"

#define RealHOST @"http://172.16.10.18:8017"
//#define RealURL @"http://172.16.10.18:8017/elec/card/token"
#define RealURL   @"https://web.kanface.com:444/elec/card/token"
@interface AppDelegate : UIResponder <UIApplicationDelegate, GeTuiSdkDelegate>

//电子社保卡SDK参数
@property (copy, nonatomic) NSString* hostUrl;
@property (copy, nonatomic) NSString* accessKey;
@property (copy, nonatomic) NSString* channelNo;


//判断是否有网络
@property(nonatomic,getter=isOnLine) BOOL onLine;
@property (strong, nonatomic) UIWindow *window;
//判断是否有城市名
@property BOOL isLogin;
//无用
@property BOOL isHuoti;
//判断是否有手机号
@property BOOL isTel;
@property(nonatomic,getter=isOnStr) BOOL onstr;
@property(nonatomic,strong)NSString *telStr;
@property(nonatomic,strong)NSString *telephoneLoginStr;
@property(nonatomic,strong)NSString *telephoneLoginPassport;
//经度
@property(nonatomic,copy)NSString *jin;
//维度
@property(nonatomic,copy)NSString *wei;
//



@property(nonatomic,strong)NSString *successProvince;
@property(nonatomic,strong)NSString *successVillage;
@property(nonatomic,strong)NSString *changeProgress;
@property(nonatomic,strong)NSString *mySelfSignation;
@property(nonatomic,strong)NSMutableArray *numberXMLArray;

@property (assign, nonatomic) BOOL showSplashWhenBecomeActive;

@property (assign, nonatomic) BOOL loginShow;

@property (strong, nonatomic) LoginVC *loginVC;

@end

