// // FKProDetailRequest.h // FirstLink // // Created by jack on 16/8/17. // Copyright © 2016年 FirstLink. All rights reserved. // #import typedef NS_ENUM(NSUInteger, kProductReqType) { kProductReqTypeNone = 500, kProductReqTypeDetail, // 详情 kProductReqTypeSpec, // 商品规格 kProductReqTypeRelativePro, // 商品推荐列表 kProductReqTypeMoreRelativePro, // 更多商品推荐列表 kProductReqTypeAddCollect, // 提交收藏 kProductReqTypeRemoveCollect, // 删除收藏 kProductReqTypeAddToBasket, // 添加到购物车 kProductReqTypeBookBrand, // 订阅 kProductReqTypeBrandRecommend, // 品牌推荐 kProductReqTypeAllLookList, // 大家都在看 kProductReqTypeTagList, // 标签 kProductReqTypeActivity, // 活动 kProductReqTypeTips, // 提示文案 kProductReqTypeVipDiscountItem, // Vip折扣 }; //extern const int REQ_PRODUCT_DETAIL_IDENTIFY; static NSString *const PRODUCT_ID_KEY = @"DETAIL_POSTID_KEY"; static NSString *const BRAND_ID_KEY = @"BRAND_ID_KEY"; static NSString *const REFER_KEY = @"refer"; static NSString *const PRODUCT_AMOUNT_KEY = @"PRODUCT_AMOUNT_KEY"; static NSString *const PRODUCT_COLLECT_TYPE_KEY = @"PRODUCT_COLLECT_TYPE_KEY"; static NSString *const PRODUCT_RELATIVE_START_ROW_KEY = @"PRODUCT_RELATIVE_START_ROW_KEY"; @interface FKProDetailRequest : NSObject + (void)requestWithType:(kProductReqType)type info:(NSDictionary *)info delegate:(id )delegate; + (void)reqBookBrand:(NSString *)brandID isCancel:(BOOL)cancel identify:(int)identify delegate:(id)delegate; + (void)reqTagList:(NSString *)brandID identify:(int)identify delegate:(id)delegate; + (void)reqAcitvity:(NSString *)productId identify:(int)identify delegate:(id)delegate; + (void)reqTipListWithIdentify:(int)identify delegate:(id)delegate; + (void)reqVipDiscountWithIdentify:(int)identify delegate:(id)delegate; @end