猎豆优选

YHPrefixHeader.pch 6.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. //
  2. // YHPrefixHeader.pch
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/1/16.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #ifndef YHPrefixHeader_pch
  9. #define YHPrefixHeader_pch
  10. #import "LDHeader.h"
  11. #import "WeiXinDefaults.h"
  12. #import "AFNetworking.h"
  13. #import "Masonry.h"
  14. #import "MBProgressHUD.h"
  15. #import "UIImageView+WebCache.h"
  16. #import "YYModel.h"
  17. #import "MJRefresh.h"
  18. #import "UIColor+YHColor.h"
  19. #import "UIView+LayoutMethods.h"
  20. #import "SGPagingView.h"
  21. #import "YYWebImage.h"
  22. #import "YYCategories.h"
  23. #import "UITableView+AddForPlaceholder.h"
  24. #import "LDHttp.h"
  25. #import "PublicFunction.h"
  26. #import <ReactiveCocoa/ReactiveCocoa.h>
  27. #import "SVProgressHUD.h"
  28. #import "AccountTool.h"
  29. #import "UIButton+WSLTitleImage.h"
  30. #import "YYFPSLabel.h"
  31. #import <YYText.h>
  32. #import "LDAdWebViewController.h"
  33. #import <UMMobClick/MobClick.h>
  34. #import "RouteManager.h"
  35. #import "LDCacheHttp.h"
  36. #import "LDEventModel.h"
  37. #import "UICollectionView+MJRefreshAutoManger.h"
  38. #import "UITableView+MJRefreshAutoManager.h"
  39. #import "UIButton+ImageTitleStyle.h"
  40. #import "DetailRequestModel.h"
  41. #import "LDUMbindWeChat.h"
  42. #import "UIImageView+SDCategory.h"
  43. #import "SDAutoLayout.h"
  44. #import "UITabBar+LDExtension.h"
  45. #import "CIImage+YHExtend.h"
  46. #import "UIView+YHExtend.h"
  47. #import "MBProgressHUD+Extension.h"
  48. #import "UIButton+YHExtend.h"
  49. #import <MJExtension.h>
  50. #import "LoadingView.h"
  51. #import "ActivityIndicatorView.h"
  52. #import "UIView+CCShadow.h"
  53. #import "LDUserInfoManager.h"
  54. #import "GlobalPopQueneManager.h"
  55. #import "XHToast.h"
  56. #import "LDLoginViewController.h"
  57. #import "WLCaptcheButton.h"
  58. #import "LDSendCodeRequest.h"
  59. #import "LDLoginRequest.h"
  60. #import "LDLoginViewController.h"
  61. #import "WLCaptcheButton.h"
  62. #import "LDSendCodeRequest.h"
  63. #import "WXApiManager.h"
  64. #import "TYAlertView.h"
  65. #import "UIView+TYAlertView.h"
  66. #import "TYAlertController.h"
  67. #import "LDLinkPhoneController.h"
  68. #import "LDLinkFansController.h"
  69. #import "LDLinkPhoneController.h"
  70. #import "LDUserInfo.h"
  71. #import "LDOldLoginViewController.h"
  72. #import "PhoneLoginManager.h"
  73. #import "LDAdWebViewController.h"
  74. #import "LDNewWebVC.h"
  75. #import "PGIndexBannerSubiew.h"
  76. #import "LDSuperInfoVC.h"
  77. #import "UIButton+ImageTitleStyle.h"
  78. #import "LDFanslistModel.h"
  79. #import "LDGoodDetailViewController.h"
  80. #import "LDNewLoginVC.h"
  81. #import "LDTaobaoAuthorTool.h"
  82. #import <ZLPhotoBrowser/ZLPhotoBrowser.h>
  83. #import "LDDeviceTools.h"
  84. #import "LDnoticeView.h"
  85. #import "LDLoginAgreeMentView.h"
  86. #import "LDNewLoginVC.h"
  87. #import "HotSearchModel.h"
  88. //#import <PYSearch.h>
  89. #import "CCAlertShowView.h"
  90. #define ChangeSex @"changeSex"
  91. #define openNotice @"openNotice"
  92. #define BaseURL @"https://ld.726p.com" //正式环境
  93. //#define BaseURL @"http://preapi.726p.com"//预发环境(2.9.6之后)
  94. //#define BaseURL @"http://apitbk.726p.com"
  95. //#define BaseURL @"http://yhq.quyaqu.com"//测试环境
  96. //红包规则
  97. #define redRulesUrl [NSString stringWithFormat:@"%@%@",BaseURL,@"/newh5/redEnvelopesActivity/rule.html"]
  98. //static NSString *const advURL = @"http://182.92.118.1:8070/api"; //广告测试URL
  99. static NSString *const advURL = @"http://ads.726p.com/api"; //广告线上URL
  100. #define receiveWechat [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/remindAlert"]
  101. #define sendWechatFans [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/remindInsert"]
  102. #define FansSurperDetail [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/friendDetail"]
  103. #define ChannelNewList [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/newList"]
  104. #define ChannelList [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/list"]
  105. #define CategorySubList [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/categorySubList"]
  106. #define CategoryGoods [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/categoryGoods"]
  107. #define Banner_list [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/homeact/bannerlist"]
  108. #define Goldgroups [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/groupgoldgroups"]
  109. #define StocklistByCategoryId [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/goods/stocklistByCategoryId"]
  110. #define GoldCollectiongroups [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/groupRoundNew"]
  111. #define Send_Code [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/sendCode"]
  112. #define ValidLoginAPI [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/loginCode"]
  113. #define MobileValidLoginAPI [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/adzoneCreate/mbindingInvitationCode"]
  114. #define MyCollectCollectTicket [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/collectTickets"]
  115. #define MyDelReceiveTickets [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/delReceiveTickets"]
  116. #define DelCollectionTickets [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/delCollectTickets"]
  117. #define MySetting [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/userSetSex"]
  118. #define Logout [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/logout"]
  119. #define UserInfo [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/userInfo"]
  120. #define NewUserInfo [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/userInfoNew"]
  121. #define MyReceiveTickets [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/receiveTickets"]
  122. #define HotSearch [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/hotsearch"]
  123. #define SearchAdvice [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/searchAdvice"]
  124. #define RelevantRecommendations [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/relevantRecommendations"]
  125. #define SimilarGoods [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/goods/similarGoods"]
  126. #define GoodlistByGid [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/goods/goodlistByGid"]
  127. #define UserFeedback [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/userFeedback"]
  128. #define Check_Update [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/homeact/updateVersion"]
  129. #define serviceWechat [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/adzoneCreate/serviceWechat"]
  130. #define changeUserInfo [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/user/updateSelfInfo"]
  131. #define messageNew [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/message_push/messageNew"]
  132. #define newServiceWechat [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/adzoneCreate/newServiceWechat"]
  133. //#define jcytesttoken [mgr.requestSerializer setValue:@"68b3b83fdfef1e7e3927c96e03d312821" forHTTPHeaderField:@"token"];
  134. #define jcytesttoken NSLog(@"");
  135. #endif /* YHPrefixHeader_pch */