ShareGoodsViewController.h 1.04 KB
Newer Older
勾芒's avatar
勾芒 committed
1 2 3 4 5 6 7 8 9 10 11 12
//
//  ShareGoodsViewController.h
//  Lighting
//
//  Created by 曹云霄 on 16/6/3.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "BaseViewController.h"

@protocol SharePicturedelegate <NSObject>

勾芒's avatar
勾芒 committed
13 14
@optional

勾芒's avatar
勾芒 committed
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
//回调
- (void)ShareProductImage:(UIImage *)image ;

/**
 *  上传图片进度(显示)
 */
- (void)UploadImageProgress:(double)progress;

/**
 *  上传完成
 */
- (void)UploadImageSuccess;

/**
 *  上传失败
 */
- (void)UploadImageFailue;

曹云霄's avatar
曹云霄 committed
33 34 35 36

/**
 *  code不为0
 */
37
- (void)CodeNotEqualZERO:(NSString *)message;
曹云霄's avatar
曹云霄 committed
38

勾芒's avatar
勾芒 committed
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
@end


@interface ShareGoodsViewController : BaseViewController


/**
 *  需要分享的图片
 */
@property (nonatomic,strong) UIImage *shareImage;

/**
 *  分享的商品id
 */
@property (nonatomic,copy) NSString *goodsIds;

/**
 *  代理
 */
@property (nonatomic,assign) id<SharePicturedelegate> delegate;

60 61 62 63 64 65 66 67 68 69 70
/**
 *  分享订单、分享商品
 */
@property (nonatomic,assign) BOOL isShareOrderbill;

/**
 *  订单ID
 */
@property (nonatomic,copy) NSString *orderBillNumber;


曹云霄's avatar
曹云霄 committed
71

勾芒's avatar
勾芒 committed
72
@end