//
//  ShareViewController.h
//  Lighting
//
//  Created by mac on 16/5/23.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "BaseViewController.h"



@protocol SharePicturedelegate <NSObject>

//回调
- (void)ShareProductImage:(UIImage *)image ;

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

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

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

/**
 *  code不为0
 */
- (void)CodeNotEqualZero:(NSString *)message;


//界面消失
- (void)resetShareBtn ;


@end

@interface ShareViewController : BaseViewController
@property (nonatomic,assign) id<SharePicturedelegate> delegate;
@property (nonatomic,strong) UIButton *weiXinFriend;
@property (nonatomic,strong) UIButton *weiXinFriendCircle;
@property (nonatomic,strong) UIButton *sinaMicroBlog ;




/**
 *  传入商品ID字符串（多个商品时用逗号隔开）
 */
@property (nonatomic,copy) NSString *goodsIDs;


/**
 *  传入分享图片
 */
@property (nonatomic,strong) UIImage *shareImage;

@end
