123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- //
- // FKProDetailRequest.h
- // FirstLink
- //
- // Created by jack on 16/8/17.
- // Copyright © 2016年 FirstLink. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- 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 <FLNetworkDelegate>)delegate;
- + (void)reqBookBrand:(NSString *)brandID
- isCancel:(BOOL)cancel
- identify:(int)identify
- delegate:(id<FLNetworkDelegate>)delegate;
- + (void)reqTagList:(NSString *)brandID
- identify:(int)identify
- delegate:(id<FLNetworkDelegate>)delegate;
- + (void)reqAcitvity:(NSString *)productId
- identify:(int)identify
- delegate:(id<FLNetworkDelegate>)delegate;
- + (void)reqTipListWithIdentify:(int)identify
- delegate:(id<FLNetworkDelegate>)delegate;
- + (void)reqVipDiscountWithIdentify:(int)identify
- delegate:(id<FLNetworkDelegate>)delegate;
- @end
|