《省钱达人》与《猎豆优选》UI相同版。域名tbk

YHPrefixHeader.pch 4.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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 "DRHeader.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 "DRHttp.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 <UMMobClick/MobClick.h>
  33. #import "RouteManager.h"
  34. #import "DRCacheHttp.h"
  35. #import "DREventModel.h"
  36. #import "UICollectionView+MJRefreshAutoManger.h"
  37. #import "UITableView+MJRefreshAutoManager.h"
  38. #import "UIButton+ImageTitleStyle.h"
  39. #import "DetailRequestModel.h"
  40. #import "DRUMbindWeChat.h"
  41. #import "UIImageView+SDCategory.h"
  42. #import "SDAutoLayout.h"
  43. #import "CIImage+YHExtend.h"
  44. #import "UIView+YHExtend.h"
  45. #import "MBProgressHUD+Extension.h"
  46. #import "UIButton+YHExtend.h"
  47. #import <MJExtension.h>
  48. #import "LoadingView.h"
  49. #import "ActivityIndicatorView.h"
  50. #import "UIView+CCShadow.h"
  51. #import "DRUserInfoManager.h"
  52. #import "GlobalPopQueneManager.h"
  53. #import "XHToast.h"
  54. #define ChangeSex @"changeSex"
  55. //#define BaseURL @"http://60.205.169.65"
  56. //#define BaseURL @"http://60.205.169.65"
  57. //#define BaseURL @"https://game.zhuadd.com"//
  58. #define BaseURL @"https://tbk.726p.com" //正式环境
  59. //#define BaseURL @"http://apitbk.726p.com"
  60. //#define BaseURL @"http://yhq.quyaqu.com"
  61. //static NSString *const advURL = @"http://182.92.118.1:8070/api"; //广告测试URL
  62. static NSString *const advURL = @"http://ads.726p.com/api"; //广告线上URL
  63. #define ChannelList [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/list"]
  64. #define CategorySubList [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/categorySubList"]
  65. #define CategoryGoods [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/categoryGoods"]
  66. #define Banner_list [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/homeact/bannerlist"]
  67. #define Goldgroups [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/groupgoldgroups"]
  68. #define StocklistByCategoryId [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/goods/stocklistByCategoryId"]
  69. #define GoldCollectiongroups [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/groupRoundNew"]
  70. #define Send_Code [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/sendCodeNew"]
  71. #define ValidLoginAPI [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/loginCode"]
  72. #define MyCollectCollectTicket [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/collectTickets"]
  73. #define MyDelReceiveTickets [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/delReceiveTickets"]
  74. #define DelCollectionTickets [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/delCollectTickets"]
  75. #define MySetting [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/userSetSex"]
  76. #define Logout [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/logout"]
  77. #define UserInfo [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/userInfo"]
  78. #define NewUserInfo [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/userInfoNew"]
  79. #define MyReceiveTickets [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/receiveTickets"]
  80. #define HotSearch [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/hotsearch"]
  81. #define SearchAdvice [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/searchAdvice"]
  82. #define RelevantRecommendations [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/relevantRecommendations"]
  83. #define SimilarGoods [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/goods/similarGoods"]
  84. #define GoodlistByGid [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/goods/goodlistByGid"]
  85. #define UserFeedback [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/userFeedback"]
  86. #define Check_Update [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/homeact/updateVersion"]
  87. #define serviceWechat [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/adzoneCreate/serviceWechat"]
  88. #define messageNew [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/message_push/messageNew"]
  89. #define newServiceWechat [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/adzoneCreate/newServiceWechat"]
  90. //#define jcytesttoken [mgr.requestSerializer setValue:@"68b3b83fdfef1e7e3927c96e03d312821" forHTTPHeaderField:@"token"];
  91. #define jcytesttoken NSLog(@"");
  92. #endif /* YHPrefixHeader_pch */