diff --git a/iOS/framework/system/foundation/Bee_Runtime.mm b/iOS/framework/system/foundation/Bee_Runtime.mm index 6358b1e..511d094 100644 --- a/iOS/framework/system/foundation/Bee_Runtime.mm +++ b/iOS/framework/system/foundation/Bee_Runtime.mm @@ -555,7 +555,6 @@ + (NSArray *)allSubClassesOf:(Class)superClass [results addObject:classType]; } - return results; } diff --git a/iOS/shop/AppDelegate.m b/iOS/shop/AppDelegate.m index 31bc73c..c6d9eee 100644 --- a/iOS/shop/AppDelegate.m +++ b/iOS/shop/AppDelegate.m @@ -52,7 +52,7 @@ - (void)load [UserModel sharedInstance]; // 配置ECSHOP - [ServerConfig sharedInstance].url = @"http://shop.ecmobile.me/ecmobile/?url="; + [ServerConfig sharedInstance].url = @"http://shop.ecmobile.cn/ecmobile/?url="; // 配置闪屏 bee.services.wizard.config.showBackground = YES; @@ -92,7 +92,7 @@ - (void)load [BeeUINavigationBar setBackgroundImage:[UIImage imageNamed:@"nav_bg.png"]]; } } - + [self updateConfig]; self.window.rootViewController = [AppBoard_iPhone sharedInstance]; @@ -119,40 +119,37 @@ - (void)updateConfig ALIAS( bee.services.location, lbs ); // 配置微信 - weixin.config.appId = @""; - weixin.config.appKey = @""; - + weixin.config.appId = @"Your weixinID"; + weixin.config.appKey = @"Your weixinKey"; + // 配置新浪 - sweibo.config.appKey = @""; - sweibo.config.appSecret = @""; - sweibo.config.redirectURI = @""; - + sweibo.config.appKey = @"Your sinaWeiboKey"; + sweibo.config.appSecret = @"Your sinaWeiboSecret"; + sweibo.config.redirectURI = @"Your sinaWeiboCallback"; + // 配置腾讯 - tweibo.config.appKey = @""; - tweibo.config.appSecret = @""; - tweibo.config.redirectURI = @""; - + tweibo.config.appKey = @"Your tencentWeiboKey"; + tweibo.config.appSecret = @"Your tencentWeiboSecret"; + tweibo.config.redirectURI = @"Your tencentWeiboCallback"; + // 配置支付宝 - alipay.config.parnter = @""; - alipay.config.seller = @""; - alipay.config.privateKey = @""; - alipay.config.publicKey = @""; - alipay.config.notifyURL = @""; - alipay.config.wapCallBackURL = @""; + alipay.config.parnter = @"Your alipayPartnerID"; + alipay.config.seller = @"Your alipaySeller"; + alipay.config.privateKey = @"Your alipayPrivateKey"; + alipay.config.publicKey = @"Your alipayPublicKey"; + alipay.config.notifyURL = @"Your alipayCallback"; + alipay.config.wapCallBackURL = @"http://shop.ecmobile.cn/ecmobile/payment/app_callback.php?err="; // 配置语音识别 siri.config.showUI = NO; - siri.config.appID = @""; + siri.config.appID = @"Your iflyKey"; // 配置友盟 [MobClick setAppVersion:[BeeSystemInfo appShortVersion]]; [MobClick setCrashReportEnabled:YES]; [MobClick setLatitude:lbs.location.coordinate.latitude longitude:lbs.location.coordinate.longitude]; [MobClick setLocation:lbs.location]; - [MobClick startWithAppkey:@"" reportPolicy:BATCH channelId:nil]; - - // 配置快递100 - [ExpressModel setKuaidi100Key:@""]; + [MobClick startWithAppkey:@"Your umengKey" reportPolicy:BATCH channelId:nil]; } @end diff --git a/iOS/shop/generated/ecmobile.mm b/iOS/shop/generated/ecmobile.mm index e6c0ee8..58bb7f8 100644 --- a/iOS/shop/generated/ecmobile.mm +++ b/iOS/shop/generated/ecmobile.mm @@ -584,7 +584,7 @@ @implementation API // NSString * requestURI = @"http://shop.ecmobile.me/ecmobile/?url=address/list"; NSString * requestURI = [NSString stringWithFormat:@"%@/address/list", [ServerConfig sharedInstance].url]; - + msg.HTTP_POST( requestURI ).PARAM( @"json", requestBody.objectToString ); } else if ( msg.succeed ) @@ -601,7 +601,6 @@ @implementation API msg.OUTPUT( @"status", status ); msg.OUTPUT( @"data", data ); - } else if ( msg.failed ) { diff --git a/iOS/shop/main.m b/iOS/shop/main.m index b07ddb4..f85eac0 100644 --- a/iOS/shop/main.m +++ b/iOS/shop/main.m @@ -15,4 +15,4 @@ int main(int argc, char *argv[]) @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); } -} +} \ No newline at end of file diff --git a/iOS/shop/model/ExpressModel.h b/iOS/shop/model/ExpressModel.h index e1dbb6c..3e9ade4 100644 --- a/iOS/shop/model/ExpressModel.h +++ b/iOS/shop/model/ExpressModel.h @@ -24,6 +24,5 @@ @property (nonatomic, retain) NSMutableArray * content; + (NSString *)kuaidi100Key; -+ (void)setKuaidi100Key:(NSString *)key; @end diff --git a/iOS/shop/model/OrderModel.m b/iOS/shop/model/OrderModel.m index 12f8717..cde5ffb 100644 --- a/iOS/shop/model/OrderModel.m +++ b/iOS/shop/model/OrderModel.m @@ -219,6 +219,7 @@ - (void)pay:(ORDER *)order if ( msg.succeed ) { STATUS * status = msg.GET_OUTPUT( @"status" ); + if ( NO == status.succeed.boolValue ) { msg.failed = YES; diff --git a/iOS/shop/model/UserModel.m b/iOS/shop/model/UserModel.m index 1463b85..227dc0c 100644 --- a/iOS/shop/model/UserModel.m +++ b/iOS/shop/model/UserModel.m @@ -54,7 +54,7 @@ - (void)unload - (UIImage *)avatar { NSString * avatarPath = [NSString stringWithFormat:@"%@/avatar-u-%@.png", [BeeSandbox libCachePath], self.user.id]; - + if ( [[NSFileManager defaultManager] fileExistsAtPath:avatarPath] ) { NSData * data = [NSData dataWithContentsOfFile:avatarPath]; diff --git a/iOS/shop/shop-Info.plist b/iOS/shop/shop-Info.plist index 2b4c32d..148a3de 100644 --- a/iOS/shop/shop-Info.plist +++ b/iOS/shop/shop-Info.plist @@ -49,7 +49,7 @@ CFBundleVersion - 20140620 + 20141201 LSRequiresIPhoneOS UIPrerenderedIcon diff --git a/iOS/shop/vendor/UMFeedback/UMFeedback.h b/iOS/shop/vendor/UMFeedback/UMFeedback.h index 9319d80..c22fa75 100644 --- a/iOS/shop/vendor/UMFeedback/UMFeedback.h +++ b/iOS/shop/vendor/UMFeedback/UMFeedback.h @@ -1,35 +1,137 @@ -/* - UMFeedback.h - Created by ming hua on 2012-03-19. - Updated by ming hua on 2013-10-10. - Version 1.4.1 - Copyright (c) 2013年 umeng.com. All rights reserved. - */ +// +// UMFeedback.h +// UMFeedback +// +// Created by ming hua on 2012-03-19. +// Updated by ming hua on 2013-04-17. +// Updated by cui guilin on 2014-09-12. +// Version 1.4 +// Copyright (c) 2012年 umeng.com. All rights reserved. +// #import +#import + #define UMFBCheckFinishedNotification @"UMFBCheckFinishedNotification" #define UMFBWebViewDismissNotification @"UMFBWebViewDismissNotification" +#pragma mark - Feedback Data Delegate + @protocol UMFeedbackDataDelegate + @optional +/** + * trigger when fetch data from server + * + * @param error + */ - (void)getFinishedWithError: (NSError *)error; + +/** + * trigger when post data to server is finished + * + * @param error + */ - (void)postFinishedWithError:(NSError *)error; + @end + +#pragma mark - Feedback Object @interface UMFeedback : NSObject -@property(nonatomic, assign) id delegate; -@property(nonatomic, retain) NSMutableArray *newReplies; -@property(nonatomic, retain) NSMutableArray *topicAndReplies; -#pragma Umeng Feedback Setting +/** + * UMFeedback Data Delegate + */ +@property(nonatomic, unsafe_unretained) NSObject *delegate; + +/** + * the new replies + */ +@property(nonatomic, strong) NSMutableArray *theNewReplies; + +/** + * the topic and replies + */ +@property(nonatomic, strong) NSMutableArray *topicAndReplies; + +#pragma mark Settings + +/** + * A Boolean value indicating whether the feedback log is printed(YES) or not (NO). The default value is NO. + * + * @param value YES to print long while NO to do not print. + */ + (void)setLogEnabled:(BOOL)value; -#pragma Umeng Feedback Show Html UI -+ (void)showFeedback:(UIViewController *)viewController withAppkey:(NSString *)appKey; -+ (void)showFeedback:(UIViewController *)viewController withAppkey:(NSString *)appKey dictionary:(NSDictionary *)dictionary; -#pragma Umeng Feedback Data Api + ++ (BOOL)feedbackLogEnabled; + +/** + * set feedback app key. you can find out the app key at: http://www.umeng.com/apps/setting + * + * @param appkey + */ ++ (void)setAppkey:(NSString *)appkey; + ++ (NSString *)uuid; ++ (NSString *)messageType; + +#pragma mark Show Feedback View + +/** + * get the default feedback view controller + * + * @return + */ ++ (UIViewController *)feedbackViewController; + +/** + * get the default modal feedback view controller + * + * @return + */ ++ (UIViewController *)feedbackModalViewController; + + ++ (void)didReceiveRemoteNotification:(NSDictionary *)userInfo; + +#pragma mark Umeng Feedback Data Api + +/** + * the UMFeedback singleton + * + * @return + */ + (UMFeedback *)sharedInstance; -- (void)setAppkey:(NSString *)appKey delegate:(id)newDelegate; + +/** + * get feedback replies from server + */ - (void)get; + +/** + * post feedback repli to server + * + * @param feedback_dictionary <#feedback_dictionary description#> + */ - (void)post:(NSDictionary *)feedback_dictionary; + +// set custom remark info +/** + * set custom user info + * + * @param remarkInfo custom user info + */ +- (void)setRemarkInfo:(NSDictionary *)remarkInfo; + +- (void)updateUserInfo:(NSDictionary *)info; +- (NSDictionary *)getUserInfo; + +// 不建议使用的 + ++ (void)showFeedback:(UIViewController *)viewController withAppkey:(NSString *)appKey; ++ (void)showFeedback:(UIViewController *)viewController withAppkey:(NSString *)appKey dictionary:(NSDictionary *)dictionary; + (void)checkWithAppkey:(NSString *)appkey; +- (void)setAppkey:(NSString *)appKey delegate:(id)newDelegate; + @end \ No newline at end of file diff --git a/iOS/shop/vendor/UMFeedback/libUMFeedback.a b/iOS/shop/vendor/UMFeedback/libUMFeedback.a index a5d27e7..17118f0 100644 Binary files a/iOS/shop/vendor/UMFeedback/libUMFeedback.a and b/iOS/shop/vendor/UMFeedback/libUMFeedback.a differ diff --git a/iOS/shop/view_iPhone/AppBoard_iPhone.m b/iOS/shop/view_iPhone/AppBoard_iPhone.m index 0c381a6..635896b 100644 --- a/iOS/shop/view_iPhone/AppBoard_iPhone.m +++ b/iOS/shop/view_iPhone/AppBoard_iPhone.m @@ -69,8 +69,8 @@ @implementation AppBoard_iPhone #pragma mark - - (void)load -{ - self.configModel = [ConfigModel modelWithObserver:self]; +{ + self.configModel = [ConfigModel modelWithObserver:self]; self.userModel = [UserModel modelWithObserver:self]; } @@ -92,7 +92,7 @@ - (void)unload bee.ui.router[self.TAB_SEARCH] = [D0_SearchBoard_iPhone class]; bee.ui.router[self.TAB_CART] = [C0_ShoppingCartBoard_iPhone class]; bee.ui.router[self.TAB_USER] = [E0_ProfileBoard_iPhone sharedInstance]; - + [self.view addSubview:bee.ui.router.view]; [self.view addSubview:bee.ui.tabbar]; @@ -102,6 +102,7 @@ - (void)unload [self observeNotification:UserModel.LOGIN]; [self observeNotification:UserModel.LOGOUT]; [self observeNotification:UserModel.KICKOUT]; + // [self observeNotification:BeeNetworkReachability.WIFI_REACHABLE]; // [self observeNotification:BeeNetworkReachability.WLAN_REACHABLE]; // [self observeNotification:BeeNetworkReachability.UNREACHABLE]; @@ -153,7 +154,7 @@ - (void)unload ON_SIGNAL3( AppBoard_iPhone, EXPIRE_TOUCHED, signal ) { - [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.ecmobile.me"]]; + [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.ecmobile.cn"]]; } #pragma mark - diff --git a/iOS/shop/view_iPhone/AppTabbar_iPhone.m b/iOS/shop/view_iPhone/AppTabbar_iPhone.m index 77fd328..4af0901 100644 --- a/iOS/shop/view_iPhone/AppTabbar_iPhone.m +++ b/iOS/shop/view_iPhone/AppTabbar_iPhone.m @@ -36,7 +36,7 @@ - (void)load $(@"#badge-bg").HIDE(); $(@"#badge").HIDE(); - + [self selectHome]; } @@ -115,7 +115,7 @@ - (void)selectUser ON_NOTIFICATION3( UserModel, LOGIN, notification ) { NSUInteger count = 0; - + for ( CART_GOODS * goods in [CartModel sharedInstance].goods ) { count += goods.goods_number.intValue; diff --git a/iOS/shop/view_iPhone/source/B0_BannerCell_iPhone.m b/iOS/shop/view_iPhone/source/B0_BannerCell_iPhone.m index 1865bee..b3d025e 100644 --- a/iOS/shop/view_iPhone/source/B0_BannerCell_iPhone.m +++ b/iOS/shop/view_iPhone/source/B0_BannerCell_iPhone.m @@ -34,13 +34,13 @@ - (void)load */ @weakify(self); - + self.list.animationDuration = 0.25f; - - self.list.whenReloading = ^ + + self.list.whenReloading = ^ { @normalize(self); - + NSArray * datas = (NSArray *)self.data; self.list.total = datas.count; diff --git a/iOS/shop/view_iPhone/source/B0_IndexBoard_iPhone.m b/iOS/shop/view_iPhone/source/B0_IndexBoard_iPhone.m index e6d409e..87298b0 100644 --- a/iOS/shop/view_iPhone/source/B0_IndexBoard_iPhone.m +++ b/iOS/shop/view_iPhone/source/B0_IndexBoard_iPhone.m @@ -58,31 +58,31 @@ - (void)unload { self.navigationBarShown = YES; self.navigationBarTitle = __TEXT(@"ecmobile"); - + /** * BeeFramework中scrollView使用方式由0.4.0改为0.5.0 * 将board中BeeUIScrollView对应的signal转换为block的实现方式 * BeeUIScrollView的block方式写法可以从它对应的delegate方法中转换而来 */ - + @weakify(self); self.list.headerClass = [CommonPullLoader class]; self.list.headerShown = YES; - + self.list.lineCount = 1; self.list.animationDuration = 0.25f; - + self.list.whenReloading = ^ { @normalize(self); - + self.list.total = self.bannerModel.banners.count ? 1 : 0; self.list.total += self.bannerModel.goods.count ? 1 : 0; self.list.total += self.categoryModel.categories.count; - + int offset = 0; - + if ( self.bannerModel.banners.count ) { BeeUIScrollItem * banner = self.list.items[offset]; @@ -91,7 +91,7 @@ - (void)unload banner.size = CGSizeMake( self.list.width, 150.0f); banner.rule = BeeUIScrollLayoutRule_Line; banner.insets = UIEdgeInsetsMake(0, 0, 0, 0); - + offset += 1; } @@ -304,7 +304,7 @@ - (void)unload } } -#pragma mark - +#pragma mark - ON_MESSAGE3( API, home_data, msg ) { diff --git a/iOS/shop/view_iPhone/source/B0_IndexBoard_iPhone.xml b/iOS/shop/view_iPhone/source/B0_IndexBoard_iPhone.xml index 50829a4..eb4ad56 100644 --- a/iOS/shop/view_iPhone/source/B0_IndexBoard_iPhone.xml +++ b/iOS/shop/view_iPhone/source/B0_IndexBoard_iPhone.xml @@ -7,7 +7,6 @@ diff --git a/iOS/shop/view_iPhone/source/B2_ProductDetailCell_iPhone.m b/iOS/shop/view_iPhone/source/B2_ProductDetailCell_iPhone.m index 18ea9fc..edf1c9f 100644 --- a/iOS/shop/view_iPhone/source/B2_ProductDetailCell_iPhone.m +++ b/iOS/shop/view_iPhone/source/B2_ProductDetailCell_iPhone.m @@ -90,6 +90,8 @@ - (void)dataDidChanged if ( goodsModel.goods.pictures && goodsModel.goods.pictures.count > 0 ) { _pictures = goodsModel.goods.pictures; + + $(@"#list").SHOW(); } else { diff --git a/iOS/shop/view_iPhone/source/C1_CheckOutBoard_iPhone.m b/iOS/shop/view_iPhone/source/C1_CheckOutBoard_iPhone.m index 2c86625..d7932c4 100644 --- a/iOS/shop/view_iPhone/source/C1_CheckOutBoard_iPhone.m +++ b/iOS/shop/view_iPhone/source/C1_CheckOutBoard_iPhone.m @@ -90,7 +90,6 @@ - (void)unload self.list.reuseEnable = NO; self.list.whenReloading = ^ { - @normalize(self); self.list.total = 1; diff --git a/iOS/shop/view_iPhone/source/E0_ProfileBoard_iPhone.m b/iOS/shop/view_iPhone/source/E0_ProfileBoard_iPhone.m index 5728965..22984d0 100644 --- a/iOS/shop/view_iPhone/source/E0_ProfileBoard_iPhone.m +++ b/iOS/shop/view_iPhone/source/E0_ProfileBoard_iPhone.m @@ -421,7 +421,7 @@ - (void)updateState [self.list showHeaderLoader:NO animated:NO]; } } - + [self.list reloadData]; } diff --git a/iOS/shop/view_iPhone/source/E1_PendingPaymentBoard_iPhone.m b/iOS/shop/view_iPhone/source/E1_PendingPaymentBoard_iPhone.m index e4227fd..518922e 100644 --- a/iOS/shop/view_iPhone/source/E1_PendingPaymentBoard_iPhone.m +++ b/iOS/shop/view_iPhone/source/E1_PendingPaymentBoard_iPhone.m @@ -316,13 +316,14 @@ - (void)didPaySuccess ORDER * order = (ORDER *)signal.object; ALIAS( bee.services.alipay, alipay ); + // 待付款 H1_PayBoard_iPhone * board = [H1_PayBoard_iPhone board]; board.backBoard = self; board.orderID = order.order_id; board.order_info = order.order_info; board.wapCallBackURL = alipay.config.wapCallBackURL; - + [self.stack pushBoard:board animated:YES]; } diff --git a/iOS/shop/view_iPhone/source/E3_PendingReceivedCellFooter_iPhone.m b/iOS/shop/view_iPhone/source/E3_PendingReceivedCellFooter_iPhone.m index 673f6b8..121a7cf 100644 --- a/iOS/shop/view_iPhone/source/E3_PendingReceivedCellFooter_iPhone.m +++ b/iOS/shop/view_iPhone/source/E3_PendingReceivedCellFooter_iPhone.m @@ -42,7 +42,7 @@ - (void)dataDidChanged $(@"#cart-goods-price").TEXT(@"0.00"); } - if ( [ExpressModel kuaidi100Key] ) + if ( [ExpressModel kuaidi100Key] ) { $(@"#shipping").SHOW(); } diff --git a/iOS/shop/view_iPhone/source/E4_HistoryBoard_iPhone.m b/iOS/shop/view_iPhone/source/E4_HistoryBoard_iPhone.m index c98ad5e..ea3750a 100644 --- a/iOS/shop/view_iPhone/source/E4_HistoryBoard_iPhone.m +++ b/iOS/shop/view_iPhone/source/E4_HistoryBoard_iPhone.m @@ -167,7 +167,7 @@ - (void)unload { E4_HistoryCell_iPhone * cell = (E4_HistoryCell_iPhone *)signal.source; - if ( [ExpressModel kuaidi100Key] ) + if ( [ExpressModel kuaidi100Key] ) { E6_ShippingStatusBoard_iPhone * board = [E6_ShippingStatusBoard_iPhone board]; board.expressModel.order = cell.order; diff --git a/iOS/shop/view_iPhone/source/E4_HistoryCellFooter_iPhone.m b/iOS/shop/view_iPhone/source/E4_HistoryCellFooter_iPhone.m index 23ed5fa..4b79c31 100644 --- a/iOS/shop/view_iPhone/source/E4_HistoryCellFooter_iPhone.m +++ b/iOS/shop/view_iPhone/source/E4_HistoryCellFooter_iPhone.m @@ -42,7 +42,7 @@ - (void)dataDidChanged $(@"#cart-goods-price").TEXT(@"0.00"); } - if ( [ExpressModel kuaidi100Key] ) + if ( [ExpressModel kuaidi100Key] ) { $(@"#shipping").SHOW(); } diff --git a/iOS/shop/view_iPhone/source/F1_NewAddressBoard_iPhone.m b/iOS/shop/view_iPhone/source/F1_NewAddressBoard_iPhone.m index fd3030e..c00af60 100644 --- a/iOS/shop/view_iPhone/source/F1_NewAddressBoard_iPhone.m +++ b/iOS/shop/view_iPhone/source/F1_NewAddressBoard_iPhone.m @@ -65,16 +65,16 @@ - (void)unload self.list.whenReloading = ^ { @normalize(self); - + self.list.total = 1; - + BeeUIScrollItem * item = self.list.items[0]; item.clazz = [F1_NewAddressCell_iPhone class]; item.size = self.list.size; item.data = self.address; item.rule = BeeUIScrollLayoutRule_Tile; }; - + [self observeNotification:BeeUIKeyboard.HIDDEN]; [self observeNotification:BeeUIKeyboard.HEIGHT_CHANGED]; [self observeNotification:BeeUIKeyboard.SHOWN]; @@ -104,13 +104,19 @@ - (void)unload { [self presentMessageTips:__TEXT(@"non_address")]; } - + [self.list reloadData]; - - UIView * item = ((BeeUIScrollItem *)self.list.items[0]).view; + + UIView * item = nil; + + if ( self.list.items.count ) + { + item = ((BeeUIScrollItem *)self.list.items[0]).view; + } + if ( nil == item ) return; - + $(item).FIND(@"#location-label").TEXT( self.address.region ); $(item).FIND(@"email").DATA( [UserModel sharedInstance].user.email ); diff --git a/iOS/shop/view_iPhone/source/G0_SettingBoard_iPhone.m b/iOS/shop/view_iPhone/source/G0_SettingBoard_iPhone.m index 8deb5a7..259808a 100644 --- a/iOS/shop/view_iPhone/source/G0_SettingBoard_iPhone.m +++ b/iOS/shop/view_iPhone/source/G0_SettingBoard_iPhone.m @@ -136,12 +136,11 @@ - (void)unload ON_SIGNAL3( G0_SettingCell_iPhone, setting_feedback, signal ) { - UMFeedbackViewController * vc = [[UMFeedbackViewController alloc] initWithNibName:@"UMFeedbackViewController" bundle:nil]; + UMFeedbackViewController * vc = [[UMFeedbackViewController alloc] initWithNibName:@"UMFeedbackViewController" bundle:nil]; #warning Config Your UMengkey - vc.appkey = @""; - - UINavigationController * nav = [[[UINavigationController alloc] initWithRootViewController:vc] autorelease]; - [self presentModalViewController:nav animated:YES]; + vc.appkey = @""; + UINavigationController * nav = [[[UINavigationController alloc] initWithRootViewController:vc] autorelease]; + [self presentModalViewController:nav animated:YES]; } ON_SIGNAL3( G0_SettingCell_iPhone, setting_rate, signal ) diff --git a/iOS/shop/view_iPhone/source/G0_SettingCell_iPhone.m b/iOS/shop/view_iPhone/source/G0_SettingCell_iPhone.m index 00f667b..fc65425 100644 --- a/iOS/shop/view_iPhone/source/G0_SettingCell_iPhone.m +++ b/iOS/shop/view_iPhone/source/G0_SettingCell_iPhone.m @@ -38,7 +38,7 @@ - (void)dataDidChanged [self setLogin:[self.data[@"user_online"] boolValue]]; [self setPhotoMode:[self.data[@"setting_picture"] integerValue]]; - + self.sina_weibo.on = [self.data[@"sina_weibo"] boolValue]; self.tencent_weibo.on = [self.data[@"tencent_weibo"] boolValue]; }