Commit a959b63d authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

1. store pay

parent d0f61292
This diff is collapsed.
......@@ -60,7 +60,9 @@
[data InitPlist];
[KeychainItemManager ReadUUIDAndNickName];
[ZTPurchaseManager launchWithSwiftyStoreKit];
[ZTPurchaseManager launchWithSwiftyStoreKitWithSuccess:^{
}];
//创蓝
[ZJOauthLoginManager initWithShanYanAppID:ShanYanAppID];
......
......@@ -80,7 +80,7 @@ static ZJGoodsMagager * manager;
- (void)goodsWithVC:(UIViewController *)currentVC callBack:(resultCallBack)callBack{
if ([self ckeak]){
// if ([self ckeak]){
[MobClick event:@"go_member_with_Apple"];
ZJGoodsViewController *goods = [[ZJGoodsViewController alloc] init];
......@@ -93,18 +93,18 @@ static ZJGoodsMagager * manager;
[weak.navigationController popViewControllerAnimated:YES];
};
}else{
[MobClick event:@"go_member_with_H5"];
_tradeNoCount = 0;
_goodsCount = 0;
_callBack = callBack;
_currentVC = currentVC;
if ([self.products firstObject]) {
[self getUrl_new:0];
}else{
[self getGoods];
}
}
// }else{
// [MobClick event:@"go_member_with_H5"];
// _tradeNoCount = 0;
// _goodsCount = 0;
// _callBack = callBack;
// _currentVC = currentVC;
// if ([self.products firstObject]) {
// [self getUrl_new:0];
// }else{
// [self getGoods];
// }
// }
}
- (void)getGoods{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment