123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- //
- // PrefixHeader.pch
- // ZBProject
- //
- // Created by 学丽 on 2019/3/26.
- // Copyright © 2019 ZB. All rights reserved.
- //
- #ifndef PrefixHeader_pch
- #define PrefixHeader_pch
- #define APP_ID @"1460643519"
- #define APP_STORE_URL [NSString stringWithFormat:@"https://itunes.apple.com/cn/app/id%@?mt=8",APP_ID]
- //友盟key
- #define UMENG_KEY @"5cbebbdc4ca357298a000094"
- #define Channel_id @"7000"
- #define UserPhone @"UserPhone"
- #define jiaochengUrl @"https://mapi.kuxuan-inc.com/cool_store/service/index.html"
- //验证码签名
- #define SignCode @"cNHWj7pqBSXTi2DS4uvxqMTzuXOk5xvL"
- //当前版本号
- #define VERSION_INFO_CURRENT @"currentversion"
- //定义屏幕的宽度
- #define SCREEN_WIDTH ([UIScreen mainScreen].bounds.size.width<[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
- //定义屏幕的高度
- #define SCREEN_HEIGHT ([UIScreen mainScreen].bounds.size.width>[UIScreen mainScreen].bounds.size.height?[UIScreen mainScreen].bounds.size.width:[UIScreen mainScreen].bounds.size.height)
- #define iPhoneX (SCREEN_HEIGHT>736)
- #define FITSIZE(X) (SCREEN_WIDTH/375.0) * X
- #define Fitsize(X) (SCREEN_WIDTH/375.0) * X
- #define KStatusBarHeight (iPhoneX ? 44.f : 20.f)
- #define TabbarHeight (iPhoneX ? (49.f+34.f) : 49.f)
- #define NavBarHeight (iPhoneX ? 88.f : 64.f)
- #define SafeBottomHeight (iPhoneX ? 34.f : 0)
- #define SafeTopHeight (iPhoneX ? 20.f : 0)
- #define TabbarHeight (iPhoneX ? (49.f+34.f) : 49.f)
- //弱引用
- #define kWeak(self) @autoreleasepool{} __weak typeof(self) self##Weak = self;
- #define WeakSelf(weakSelf) __weak __typeof(self) weakSelf = self;
- //强引用
- #define kStrong(self) @autoreleasepool{} __strong typeof(self##Weak) self = self##Weak;
- #define Placehold_Img [UIImage imageNamed:@"placeHolder"]
- #ifdef DEBUG
- #define NSLog(...) NSLog(__VA_ARGS__)
- #else
- #define NSLog(...)
- #endif
- #define kwaiUrl @"kwai://"
- #define TBTipe @"需要安装淘宝客户端"
- #define KWaiTipe @"需要安装快手客户端"
- //#define BASEURL @"http://yhq.quyaqu.com/"//测试
- #define BASEURL @"https://mapi.kuxuan-inc.com/"//线上
- //#define BASEURL @"http://47.93.151.217:9523/"
- #pragma mark---招商合作
- #define CooperationURl @"https://mapi.kuxuan-inc.com/cool_store/expert.html"
- #define GetCodeURL [NSString stringWithFormat:@"%@api/users/sendCode",BASEURL]//验证码
- #define LoginURL [NSString stringWithFormat:@"%@api/users/loginCode",BASEURL]//登录
- #define LoginOutURL [NSString stringWithFormat:@"%@api/users/logout",BASEURL]//退出登录
- #define SetUserInfoURL [NSString stringWithFormat:@"%@api/users/updateSelfInfo",BASEURL]//填写用户信息
- #define getUserInfoURL [NSString stringWithFormat:@"%@api/users/userinfo",BASEURL]//获取用户信息
- #define getOrderListURL [NSString stringWithFormat:@"%@api/order/listTodayOrders",BASEURL]//获取订单列表
- #define getCarListURL [NSString stringWithFormat:@"%@api/order/listTodayGoods",BASEURL]//x当日购物袋列表
- #define getGoodListURL [NSString stringWithFormat:@"%@api/goods/listGoods",BASEURL]//选品列表
- #define getGoodDetailURL [NSString stringWithFormat:@"%@api/goods/detail",BASEURL]//商品详情
- #define gettbkAuthURL [NSString stringWithFormat:@"%@api/relationAuth/tbkUserToAuth",BASEURL]//淘宝授权
- #define getMyEarnURL [NSString stringWithFormat:@"%@api/earning/myEarnings",BASEURL]//我的收益头部
- #define getEarnEveryMonthURL [NSString stringWithFormat:@"%@api/earning/monthEarnings",BASEURL]//每月收入
- #define getBalancelistURL [NSString stringWithFormat:@"%@api/earning/myBalanceList",BASEURL]//收益列表
- #define getaccountPriceURL [NSString stringWithFormat:@"%@api/earning/accountPrice",BASEURL]//账户余额
- #define getIncomeListURL [NSString stringWithFormat:@"%@api/earning/incomeDetailList",BASEURL]//收益详情列表
- #define getOrderStatisticsURL [NSString stringWithFormat:@"%@api/order/getOrderStatistics",BASEURL]//统计
- #define getpidStatisticalUrl [NSString stringWithFormat:@"%@api/goods/updateUserPidAlert",BASEURL]//pid统计
- #import <AFNetworking.h>
- #import <YYModel.h>
- #import <SDWebImage/UIButton+WebCache.h>
- #import <SDWebImage/UIImageView+WebCache.h>
- #import <Masonry.h>
- #import <MJRefresh.h>
- #import <MBProgressHUD/MBProgressHUD.h>
- #import <UMMobClick/MobClick.h>
- #import <YYText.h>
- #import <YYCategories.h>
- #import "UIColor+ZBColor.h"
- #import "DataViewController.h"
- #import "MineViewController.h"
- #import "OrderViewController.h"
- #import "ProductViewController.h"
- #import "UIView+LayoutMethods.h"
- #import "ZBHTTP.h"
- #import "XHToast.h"
- #import "AccountTool.h"
- #import "ZBLoginViewController.h"
- #import "ZBWebViewController.h"
- #import "ZBOrderListCell.h"
- #import "ZBGoodModel.h"
- #import "ZBShopCarView.h"
- #import "ZBShopCarListCell.h"
- #import "ZBGoodDetailVC.h"
- #import "ZBGoodDetailViewCell.h"
- #import "ZBGoodDetailShopViewCell.h"
- #import <SDCycleScrollView.h>
- #import "ZBOrderTitleView.h"
- #import "ZBSetNameViewController.h"
- #import "WBSliderViewController.h"
- #import "ZBSliderViewController.h"
- #import "UIViewController+WBSliderViewController.h"
- #import "ZBAccountListCell.h"
- #import "ZBAccountHeadView.h"
- #import "ZBWithDrawalViewController.h"
- #import "MBProgressHUD+Extension.h"
- #import "PublicFunction.h"
- #import "ZBOrderModel.h"
- #import <SVProgressHUD.h>
- #import "ZBLoginTipeViewController.h"
- #import "ZBWithDrawalModel.h"
- #import "ZBPidView.h"
- #import "ZBOrderListViewController.h"
- #import "TopTypeHeader.h"
- #import "TopTypeSegmentManager.h"
- #import "MLMSegmentHead.h"
- #import "MLMSegmentManager.h"
- #import "UITableView+AddForPlaceholder.h"
- #import "ZBIncomeStatisticsViewController.h"
- #import "ZBSetViewController.h"
- #import "ActivityIndicatorAnimation.h"
- #import "LoadingView.h"
- #import "ZBTBShareView.h"
- #import "ActivityIndicatorView.h"
- #import "ITDatePickerController.h"
- #import "LDCalendarView.h"
- #import "CCAlertShowView.h"
- #import "UIButton+ImageTitleStyle.h"
- #import "ZBHotGoodVC.h"
- #import "ZBLiveDataVC.h"
- #import "SSWLineChartView.h"
- #import "ZBTableHeadView.h"
- #import "ZBOrderBannerView.h"
- #import "ZBOrderHeadView.h"
- #import "ZBOrderDataCell.h"
- #import "ZBOrderBannerCell.h"
- #import "ZBProductListViewController.h"
- #import "ZBIncomeView.h"
- #import "ZBIncomeChartCell.h"
- #import "ZBMonthOrderVC.h"
- #import <YYCategories.h>
- #import <UIView+YYAdd.h>
- #import "ZBTipeView.h"
- #import "ClassModel.h"
- #import "ZBbannerModel.h"
- #import "WYWeakScriptMessageDelegate.h"
- #import "ZBAdWebViewController.h"
- #import "WebviewProgressLine.h"
- #import "ZBIncomeViewController.h"
- #import "ZBSecondListVC.h"
- #import "ZBProductListCell.h"
- #import "ZBUseStep.h"
- #import "ZBProductClassCell.h"
- #import "ZBProductClassListCell.h"
- #import "ZBProductGoodListCell.h"
- #import "XLPlainFlowLayout.h"
- #import "ZBProductHeadView.h"
- #import "ZBFilterView.h"
- #import "ZBFilterListCell.h"
- #import <PYSearch.h>
- #import "ZBOrderListVC.h"
- #import "ZBSearchResultVC.h"
- #import "ZBSearchViewController.h"
- #import "ZBMessageListCell.h"
- #import "ZBMessageViewController.h"
- #import <MiPushSDK.h>
- #import "ZBHotSaleViewController.h"
- #import "ZBHotSaleListCell.h"
- #import "ZBTypeSelectViewController.h"
- #import "ZBTypeLIstCell.h"
- #import "ZBTypeModel.h"
- #import "XHLTagLabelsLayout.h"
- #import "NSString+XHLStringSize.h"
- #import "ZBBaseViewController.h"
- #import "ZBUserClassListCell.h"
- #import"ZBUserSelectListVC.h"
- #import "FMListPlaceholder.h"
- #import "NoDataCell.h"
- #import "NoDataView.h"
- #import "ZBCollectionVC.h"
- #import "ZBUserInfoViewController.h"
- #import "ZBPIdViewController.h"
- #import "ZBUserInfoModel.h"
- #endif /* PrefixHeader_pch */
|