Commit ea22706ea7c0eb9b8c9b15075fa9b098f9768224
1 parent
2807acab
no message
Showing
1 changed file
with
4 additions
and
2 deletions
Example/CNLiveMyOrderModule/CNLIVEViewController.m
| @@ -32,8 +32,10 @@ | @@ -32,8 +32,10 @@ | ||
| 32 | } | 32 | } |
| 33 | - (void)buttonClicked:(UIButton *)button { | 33 | - (void)buttonClicked:(UIButton *)button { |
| 34 | if ((button.tag - 100) == 4) { | 34 | if ((button.tag - 100) == 4) { |
| 35 | - CNLiveRefundController *refundVc = [[CNLiveRefundController alloc]init]; | ||
| 36 | - [self.navigationController pushViewController:refundVc animated:YES]; | 35 | +// CNLiveRefundController *refundVc = [[CNLiveRefundController alloc]init]; |
| 36 | +// [self.navigationController pushViewController:refundVc animated:YES]; | ||
| 37 | + id<CNLiveOrderServiceProtocol> service = [[BeeHive shareInstance]createService:@protocol(CNLiveOrderServiceProtocol)]; | ||
| 38 | + [service pushToRefundViewController:0]; | ||
| 37 | }else { | 39 | }else { |
| 38 | id<CNLiveOrderServiceProtocol> service = [[BeeHive shareInstance]createService:@protocol(CNLiveOrderServiceProtocol)]; | 40 | id<CNLiveOrderServiceProtocol> service = [[BeeHive shareInstance]createService:@protocol(CNLiveOrderServiceProtocol)]; |
| 39 | [service pushToOrderViewController:button.tag - 100]; | 41 | [service pushToOrderViewController:button.tag - 100]; |