// // YHPrefixHeader.pch // YouHuiProject // // Created by 小花 on 2018/1/16. // Copyright © 2018年 kuxuan. All rights reserved. // #ifndef YHPrefixHeader_pch #define YHPrefixHeader_pch #import "LDHeader.h" #import "WeiXinDefaults.h" #import "AFNetworking.h" #import "Masonry.h" #import "MBProgressHUD.h" #import "UIImageView+WebCache.h" #import "YYModel.h" #import "MJRefresh.h" #import "UIColor+YHColor.h" #import "UIView+LayoutMethods.h" #import "SGPagingView.h" #import "YYWebImage.h" #import "YYCategories.h" #import "UITableView+AddForPlaceholder.h" #import "LDHttp.h" #import "PublicFunction.h" #import #import "SVProgressHUD.h" #import "AccountTool.h" #import "UIButton+WSLTitleImage.h" #import "YYFPSLabel.h" #import #import "LDAdWebViewController.h" #import #import "RouteManager.h" #import "LDCacheHttp.h" #import "LDEventModel.h" #import "UICollectionView+MJRefreshAutoManger.h" #import "UITableView+MJRefreshAutoManager.h" #import "UIButton+ImageTitleStyle.h" #import "DetailRequestModel.h" #import "LDUMbindWeChat.h" #import "UIImageView+SDCategory.h" #import "SDAutoLayout.h" #import "UITabBar+LDExtension.h" #import "CIImage+YHExtend.h" #import "UIView+YHExtend.h" #import "MBProgressHUD+Extension.h" #import "UIButton+YHExtend.h" #import #import "LoadingView.h" #import "ActivityIndicatorView.h" #import "UIView+CCShadow.h" #import "LDUserInfoManager.h" #import "GlobalPopQueneManager.h" #import "XHToast.h" #import "LDLoginViewController.h" #import "WLCaptcheButton.h" #import "LDSendCodeRequest.h" #import "LDLoginRequest.h" #import "LDLoginViewController.h" #import "WLCaptcheButton.h" #import "LDSendCodeRequest.h" #import "WXApiManager.h" #import "TYAlertView.h" #import "UIView+TYAlertView.h" #import "TYAlertController.h" #import "LDLinkPhoneController.h" #import "LDLinkFansController.h" #import "LDLinkPhoneController.h" #import "LDUserInfo.h" #import "LDOldLoginViewController.h" #import "PhoneLoginManager.h" #import "LDAdWebViewController.h" #import "LDNewWebVC.h" #import "PGIndexBannerSubiew.h" #import "LDSuperInfoVC.h" #import "UIButton+ImageTitleStyle.h" #import "LDFanslistModel.h" #import "LDGoodDetailViewController.h" #import "LDNewLoginVC.h" #import "LDTaobaoAuthorTool.h" #import #import "LDDeviceTools.h" #import "LDnoticeView.h" #import "LDLoginAgreeMentView.h" #import "LDNewLoginVC.h" #import "HotSearchModel.h" //#import #import "CCAlertShowView.h" #define ChangeSex @"changeSex" #define openNotice @"openNotice" #define BaseURL @"https://ld.726p.com" //正式环境 //#define BaseURL @"http://preapi.726p.com"//预发环境(2.9.6之后) //#define BaseURL @"http://apitbk.726p.com" //#define BaseURL @"http://yhq.quyaqu.com"//测试环境 //红包规则 #define redRulesUrl [NSString stringWithFormat:@"%@%@",BaseURL,@"/newh5/redEnvelopesActivity/rule.html"] //static NSString *const advURL = @"http://182.92.118.1:8070/api"; //广告测试URL static NSString *const advURL = @"http://ads.726p.com/api"; //广告线上URL #define receiveWechat [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/remindAlert"] #define sendWechatFans [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/remindInsert"] #define FansSurperDetail [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/friendDetail"] #define ChannelNewList [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/newList"] #define ChannelList [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/list"] #define CategorySubList [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/categorySubList"] #define CategoryGoods [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/categoryGoods"] #define Banner_list [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/homeact/bannerlist"] #define Goldgroups [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/groupgoldgroups"] #define StocklistByCategoryId [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/goods/stocklistByCategoryId"] #define GoldCollectiongroups [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/groupRoundNew"] #define Send_Code [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/sendCode"] #define ValidLoginAPI [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/loginCode"] #define MobileValidLoginAPI [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/adzoneCreate/mbindingInvitationCode"] #define MyCollectCollectTicket [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/collectTickets"] #define MyDelReceiveTickets [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/delReceiveTickets"] #define DelCollectionTickets [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/delCollectTickets"] #define MySetting [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/userSetSex"] #define Logout [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/logout"] #define UserInfo [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/userInfo"] #define NewUserInfo [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/users/userInfoNew"] #define MyReceiveTickets [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/receiveTickets"] #define HotSearch [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/channel/hotsearch"] #define SearchAdvice [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/searchAdvice"] #define RelevantRecommendations [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/category/relevantRecommendations"] #define SimilarGoods [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/goods/similarGoods"] #define GoodlistByGid [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/goods/goodlistByGid"] #define UserFeedback [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/users/userFeedback"] #define Check_Update [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/homeact/updateVersion"] #define serviceWechat [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/adzoneCreate/serviceWechat"] #define changeUserInfo [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/user/updateSelfInfo"] #define messageNew [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/message_push/messageNew"] #define newServiceWechat [NSString stringWithFormat:@"%@%@",BaseURL,@"/api/v2/adzoneCreate/newServiceWechat"] //#define jcytesttoken [mgr.requestSerializer setValue:@"68b3b83fdfef1e7e3927c96e03d312821" forHTTPHeaderField:@"token"]; #define jcytesttoken NSLog(@""); #endif /* YHPrefixHeader_pch */