Commit f54c92a9 authored by Sandy's avatar Sandy

Merge branch 'master' of git.oschina.net:gomore/Opple-iOS

parents f58f7c24 2015f1e0
......@@ -273,6 +273,7 @@
}
shareController.shareID = goodsID;
shareController.shareImage = [self capture];
shareController.type = SHARE_GOODS;
shareController.preferredContentSize = CGSizeMake(290, 120);
shareController.modalPresentationStyle = UIModalPresentationPopover;
UIPopoverPresentationController *popover = shareController.popoverPresentationController;
......
......@@ -116,8 +116,8 @@
switch (self.type) {
case SHARE_GOODS:
{
UMShareImageObject *shareObject = [[UMShareImageObject alloc] init];
[shareObject setShareImage:self.shareImage];
UMShareWebpageObject *shareObject = [UMShareWebpageObject shareObjectWithTitle:@"欧立方体验中心一键分享" descr:@"欧立方体验中心一键分享" thumImage:self.shareImage];
shareObject.webpageUrl = shareWeb;
messageObject.shareObject = shareObject;
}
......
......@@ -538,7 +538,13 @@ NSString *const PROMOTIONALSTRING = @"促销信息";
weChatModel.total = weakSelf.weChatModel.wxcardDenomation;break;
}
}
[XBLoadingView showHUDViewWithText:[NSString stringWithFormat:@"微信卡劵(%ld元)使用成功",weakSelf.weChatModel.wxcardDenomation]];
NSString *message = MESSAGE(returnValue);
if ([[self class] isBlankString: message]) {
[XBLoadingView showHUDViewWithText:[NSString stringWithFormat:@"微信卡劵(%ld元)使用成功",weakSelf.weChatModel.wxcardDenomation]];
}else {
[XBLoadingView showHUDViewWithText:message];
}
[weakSelf promotionInformationExecutionOrder];
}else{
ShowDefaultAlertView(self, nil, [NSString stringWithFormat:@"微信卡劵使用失败:(%@),是否重试?",returnValue[@"msg"]], UIAlertControllerStyleAlert, ^{
......
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