add weixinapi
This commit is contained in:
@@ -39,5 +39,13 @@
|
||||
+(void)saveAppGaurdflag:(BOOL)showedGaurd;
|
||||
+(BOOL)isShowedAppGaurd;
|
||||
|
||||
/**
|
||||
调用微信登录 获取access_token返回信息
|
||||
|
||||
@param dic 返回信息对象
|
||||
*/
|
||||
+(void)saveWeiXinaccesstokenInfoWithDic:(NSDictionary *)dic;
|
||||
+(NSDictionary *)getWeiXinAccessToenDic;
|
||||
|
||||
|
||||
@end
|
||||
|
||||
@@ -12,6 +12,7 @@ NSString *const kUserManagerVerision = @"GiGAUserDBVeriosn";
|
||||
NSString *const GIGADEFAULTKEY_USERID = @"GiGaUserId";
|
||||
NSString *const kShowUserGuard = @"ShowUserGuard";
|
||||
NSString *const kShowAppGuard = @"ShowAppGuard";
|
||||
NSString *const kWeiXinSaveToken = @"WeiXinSaveToken";
|
||||
|
||||
@implementation GiGaUserDefault
|
||||
|
||||
@@ -77,4 +78,14 @@ NSString *const kShowAppGuard = @"ShowAppGuard";
|
||||
return showedGaurd;
|
||||
}
|
||||
|
||||
+(void)saveWeiXinaccesstokenInfoWithDic:(NSDictionary *)dic
|
||||
{
|
||||
[UD_STADARDUD setObject:dic forKey:kWeiXinSaveToken];
|
||||
}
|
||||
|
||||
+(NSDictionary *)getWeiXinAccessToenDic{
|
||||
|
||||
return [UD_STADARDUD objectForKey:kWeiXinSaveToken];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user