// // CommonMacro.h // FirstLink // // Created by unicode on 14-9-30. // Copyright (c) 2014年 FirstLink. All rights reserved. // #ifndef FirstLink_CommonEnum_h typedef NS_ENUM(NSInteger, kOrderType) { kOrderTypeNoraml = 6, kOrderTypeProduct = 10, kOrderTypeGroup, kOrderTypeVIP, }; typedef NS_ENUM(NSInteger, kUserLevel) { kUserLevelNone = 0, kUserLevelNoraml, kUserLevelVIP }; typedef NS_ENUM(NSInteger, WeixinScene) { WeixinSceneFriend = 0, WeixinSceneCicle, WeixinSceneAll, }; typedef NS_ENUM(NSInteger, ProductState) { ProductStateNormal, ProductStateOver, ProductStateSaleDone, }; typedef NS_ENUM(NSInteger, VipState) { VipStateNormal, VipStateOverDue, VipStateNoApply }; typedef NS_ENUM(NSInteger, GroupState) { GroupStateUnknow = -1, GroupStateWait = 0, GroupStateNormal, GroupStateSuccess, GroupStateEnd }; typedef NS_ENUM(NSInteger, FKOrderPaymentSuccessController) { /** * 摇红包页面 */ FKOrderPaymentSuccessControllerRedpacket, /** * 参团详情页 */ FKOrderPaymentSuccessControllerGroupOrder, /** * 绑定身份信息 */ FKOrderPaymentSuccessControllerBindIDCard, }; typedef NS_ENUM(NSInteger, ProductType) { ProductTypeDefault, // 第三方商品 ProductTypeThird, // 会员商品 ProductTypeVIP, }; typedef NS_ENUM(NSInteger, FKPersonOrderClassify) { FKPersonOrderClassifyNonpayment, FKPersonOrderClassifyProgress, FKPersonOrderClassifyFinish, FKPersonOrderClassifyTotal, FKPersonOrderClassifySearchResult, FKPersonOrderClassifyUnkown, }; typedef NS_ENUM(NSUInteger, FKShareType) { FKShareTypeNone = 0, FKShareTypeWeixin, FKShareTypeWeibo, FKShareTypeQQzone, }; typedef NS_ENUM(NSUInteger, kSubmitChannelType) { kSubmitChannelTypeNone = 0, kSubmitChannelTypeAirDuty = 1, kSubmitChannelTypeAirNormal, kSubmitChannelTypeAirVIP, kSubmitChannelTypeBCNormal, kSubmitChannelTypeBCVIP, }; typedef NS_ENUM(NSInteger, kCircleType) { kCircleTypeNone = 0, kCircleTypeUserShare, // 购物分享 kCircleTypeInfoShare, // 购物资讯分享 }; #endif