dkahgld

PrefixHeader.pch 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216
  1. //
  2. // PrefixHeader.pch
  3. // ZBProject
  4. //
  5. // Created by 学丽 on 2019/3/26.
  6. // Copyright © 2019 ZB. All rights reserved.
  7. //
  8. #ifndef PrefixHeader_pch
  9. #define PrefixHeader_pch
  10. #define APP_ID @"1460643519"
  11. #define APP_STORE_URL [NSString stringWithFormat:@"https://itunes.apple.com/cn/app/id%@?mt=8",APP_ID]
  12. //友盟key
  13. #define UMENG_KEY @"5cbebbdc4ca357298a000094"
  14. #define Channel_id @"7000"
  15. #define UserPhone @"UserPhone"
  16. #define jiaochengUrl @"https://mapi.kuxuan-inc.com/cool_store/service/index.html"
  17. //验证码签名
  18. #define SignCode @"cNHWj7pqBSXTi2DS4uvxqMTzuXOk5xvL"
  19. //当前版本号
  20. #define VERSION_INFO_CURRENT @"currentversion"
  21. //定义屏幕的宽度
  22. #define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width<[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
  23. //定义屏幕的高度
  24. #define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.width>[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
  25. #define iPhoneX (SCREEN_HEIGHT>736)
  26. #define FITSIZE(X) (SCREEN_WIDTH/375.0) * X
  27. #define Fitsize(X) (SCREEN_WIDTH/375.0) * X
  28. #define KStatusBarHeight (iPhoneX ? 44.f : 20.f)
  29. #define TabbarHeight (iPhoneX ? (49.f+34.f) : 49.f)
  30. #define NavBarHeight (iPhoneX ? 88.f : 64.f)
  31. #define SafeBottomHeight (iPhoneX ? 34.f : 0)
  32. #define SafeTopHeight (iPhoneX ? 20.f : 0)
  33. #define TabbarHeight (iPhoneX ? (49.f+34.f) : 49.f)
  34. //弱引用
  35. #define kWeak(self) @autoreleasepool{} __weak typeof(self) self##Weak = self;
  36. #define WeakSelf(weakSelf) __weak __typeof(self) weakSelf = self;
  37. //强引用
  38. #define kStrong(self) @autoreleasepool{} __strong typeof(self##Weak) self = self##Weak;
  39. #define Placehold_Img [UIImage imageNamed:@"placeHolder"]
  40. #ifdef DEBUG
  41. #define NSLog(...) NSLog(__VA_ARGS__)
  42. #else
  43. #define NSLog(...)
  44. #endif
  45. #define kwaiUrl @"kwai://"
  46. #define TBTipe @"需要安装淘宝客户端"
  47. #define KWaiTipe @"需要安装快手客户端"
  48. //#define BASEURL @"http://yhq.quyaqu.com/"//测试
  49. #define BASEURL @"https://mapi.kuxuan-inc.com/"//线上
  50. //#define BASEURL @"http://47.93.151.217:9523/"
  51. #pragma mark---招商合作
  52. #define CooperationURl @"https://mapi.kuxuan-inc.com/cool_store/expert.html"
  53. #define GetCodeURL [NSString stringWithFormat:@"%@api/users/sendCode",BASEURL]//验证码
  54. #define LoginURL [NSString stringWithFormat:@"%@api/users/loginCode",BASEURL]//登录
  55. #define LoginOutURL [NSString stringWithFormat:@"%@api/users/logout",BASEURL]//退出登录
  56. #define SetUserInfoURL [NSString stringWithFormat:@"%@api/users/updateSelfInfo",BASEURL]//填写用户信息
  57. #define getUserInfoURL [NSString stringWithFormat:@"%@api/users/userinfo",BASEURL]//获取用户信息
  58. #define getOrderListURL [NSString stringWithFormat:@"%@api/order/listTodayOrders",BASEURL]//获取订单列表
  59. #define getCarListURL [NSString stringWithFormat:@"%@api/order/listTodayGoods",BASEURL]//x当日购物袋列表
  60. #define getGoodListURL [NSString stringWithFormat:@"%@api/goods/listGoods",BASEURL]//选品列表
  61. #define getGoodDetailURL [NSString stringWithFormat:@"%@api/goods/detail",BASEURL]//商品详情
  62. #define gettbkAuthURL [NSString stringWithFormat:@"%@api/relationAuth/tbkUserToAuth",BASEURL]//淘宝授权
  63. #define getMyEarnURL [NSString stringWithFormat:@"%@api/earning/myEarnings",BASEURL]//我的收益头部
  64. #define getEarnEveryMonthURL [NSString stringWithFormat:@"%@api/earning/monthEarnings",BASEURL]//每月收入
  65. #define getBalancelistURL [NSString stringWithFormat:@"%@api/earning/myBalanceList",BASEURL]//收益列表
  66. #define getaccountPriceURL [NSString stringWithFormat:@"%@api/earning/accountPrice",BASEURL]//账户余额
  67. #define getIncomeListURL [NSString stringWithFormat:@"%@api/earning/incomeDetailList",BASEURL]//收益详情列表
  68. #define getOrderStatisticsURL [NSString stringWithFormat:@"%@api/order/getOrderStatistics",BASEURL]//统计
  69. #define getpidStatisticalUrl [NSString stringWithFormat:@"%@api/goods/updateUserPidAlert",BASEURL]//pid统计
  70. #import <AFNetworking.h>
  71. #import <YYModel.h>
  72. #import <SDWebImage/UIButton+WebCache.h>
  73. #import <SDWebImage/UIImageView+WebCache.h>
  74. #import <Masonry.h>
  75. #import <MJRefresh.h>
  76. #import <MBProgressHUD/MBProgressHUD.h>
  77. #import <UMMobClick/MobClick.h>
  78. #import <YYText.h>
  79. #import <YYCategories.h>
  80. #import "UIColor+ZBColor.h"
  81. #import "DataViewController.h"
  82. #import "MineViewController.h"
  83. #import "OrderViewController.h"
  84. #import "ProductViewController.h"
  85. #import "UIView+LayoutMethods.h"
  86. #import "ZBHTTP.h"
  87. #import "XHToast.h"
  88. #import "AccountTool.h"
  89. #import "ZBLoginViewController.h"
  90. #import "ZBWebViewController.h"
  91. #import "ZBOrderListCell.h"
  92. #import "ZBGoodModel.h"
  93. #import "ZBShopCarView.h"
  94. #import "ZBShopCarListCell.h"
  95. #import "ZBGoodDetailVC.h"
  96. #import "ZBGoodDetailViewCell.h"
  97. #import "ZBGoodDetailShopViewCell.h"
  98. #import <SDCycleScrollView.h>
  99. #import "ZBOrderTitleView.h"
  100. #import "ZBSetNameViewController.h"
  101. #import "WBSliderViewController.h"
  102. #import "ZBSliderViewController.h"
  103. #import "UIViewController+WBSliderViewController.h"
  104. #import "ZBAccountListCell.h"
  105. #import "ZBAccountHeadView.h"
  106. #import "ZBWithDrawalViewController.h"
  107. #import "MBProgressHUD+Extension.h"
  108. #import "PublicFunction.h"
  109. #import "ZBOrderModel.h"
  110. #import <SVProgressHUD.h>
  111. #import "ZBLoginTipeViewController.h"
  112. #import "ZBWithDrawalModel.h"
  113. #import "ZBPidView.h"
  114. #import "ZBOrderListViewController.h"
  115. #import "TopTypeHeader.h"
  116. #import "TopTypeSegmentManager.h"
  117. #import "MLMSegmentHead.h"
  118. #import "MLMSegmentManager.h"
  119. #import "UITableView+AddForPlaceholder.h"
  120. #import "ZBIncomeStatisticsViewController.h"
  121. #import "ZBSetViewController.h"
  122. #import "ActivityIndicatorAnimation.h"
  123. #import "LoadingView.h"
  124. #import "ZBTBShareView.h"
  125. #import "ActivityIndicatorView.h"
  126. #import "ITDatePickerController.h"
  127. #import "LDCalendarView.h"
  128. #import "CCAlertShowView.h"
  129. #import "UIButton+ImageTitleStyle.h"
  130. #import "ZBHotGoodVC.h"
  131. #import "ZBLiveDataVC.h"
  132. #import "SSWLineChartView.h"
  133. #import "ZBTableHeadView.h"
  134. #import "ZBOrderBannerView.h"
  135. #import "ZBOrderHeadView.h"
  136. #import "ZBOrderDataCell.h"
  137. #import "ZBOrderBannerCell.h"
  138. #import "ZBProductListViewController.h"
  139. #import "ZBIncomeView.h"
  140. #import "ZBIncomeChartCell.h"
  141. #import "ZBMonthOrderVC.h"
  142. #import <YYCategories.h>
  143. #import <UIView+YYAdd.h>
  144. #import "ZBTipeView.h"
  145. #import "ClassModel.h"
  146. #import "ZBbannerModel.h"
  147. #import "WYWeakScriptMessageDelegate.h"
  148. #import "ZBAdWebViewController.h"
  149. #import "WebviewProgressLine.h"
  150. #import "ZBIncomeViewController.h"
  151. #import "ZBSecondListVC.h"
  152. #import "ZBProductListCell.h"
  153. #import "ZBUseStep.h"
  154. #import "ZBProductClassCell.h"
  155. #import "ZBProductClassListCell.h"
  156. #import "ZBProductGoodListCell.h"
  157. #import "XLPlainFlowLayout.h"
  158. #import "ZBProductHeadView.h"
  159. #import "ZBFilterView.h"
  160. #import "ZBFilterListCell.h"
  161. #import <PYSearch.h>
  162. #import "ZBOrderListVC.h"
  163. #import "ZBSearchResultVC.h"
  164. #import "ZBSearchViewController.h"
  165. #import "ZBMessageListCell.h"
  166. #import "ZBMessageViewController.h"
  167. #import <MiPushSDK.h>
  168. #import "ZBHotSaleViewController.h"
  169. #import "ZBHotSaleListCell.h"
  170. #import "ZBTypeSelectViewController.h"
  171. #import "ZBTypeLIstCell.h"
  172. #import "ZBTypeModel.h"
  173. #import "XHLTagLabelsLayout.h"
  174. #import "NSString+XHLStringSize.h"
  175. #import "ZBBaseViewController.h"
  176. #import "ZBUserClassListCell.h"
  177. #import"ZBUserSelectListVC.h"
  178. #import "FMListPlaceholder.h"
  179. #import "NoDataCell.h"
  180. #import "NoDataView.h"
  181. #import "ZBCollectionVC.h"
  182. #import "ZBUserInfoViewController.h"
  183. #import "ZBPIdViewController.h"
  184. #import "ZBUserInfoModel.h"
  185. #endif /* PrefixHeader_pch */