104 lines
2.9 KiB
C
Executable File
104 lines
2.9 KiB
C
Executable File
//
|
|
// StatusMacros.h
|
|
// idleBuy
|
|
//
|
|
// Created by ios on 2018/5/28.
|
|
// Copyright © 2018年 ios. All rights reserved.
|
|
//
|
|
|
|
#ifndef StatusMacros_h
|
|
#define StatusMacros_h
|
|
#pragma mark - ——————— 用户相关 ————————
|
|
//登录状态改变通知
|
|
#define KNotificationLoginStateChange @"loginStateChange"
|
|
//登录IM状态
|
|
#define KNotificationLoginIMResult @"loginIMResult"
|
|
|
|
//切换tabar
|
|
#define KNotificSelectHomePageTabbar @"SlectHomePageTabBar"
|
|
|
|
#define KNotificSelectSoSTabbar @"SlectSoSTabBar"
|
|
|
|
#define KNotificSelectPhysicalTabbar @"SlectPhysicalTabBar"
|
|
|
|
#define KNotificSelectFileTabbar @"SlectFileTabBar"
|
|
|
|
//同意协议
|
|
|
|
//切换字体
|
|
#define KNotificChangeFontSize @"changeFontSize"
|
|
//经纬度
|
|
#define USERDEFAULLONG @"USERDEFAULLONG"
|
|
#define USERDEFAULLATITUDE @"USERDEFAULLATITUDE"
|
|
|
|
|
|
//自动登录成功
|
|
#define KNotificationAutoLoginSuccess @"KNotificationAutoLoginSuccess"
|
|
|
|
|
|
//用户信息缓存 名称
|
|
#define KUserCacheName @"KUserCacheName"
|
|
|
|
|
|
//用户model缓存
|
|
#define KUserModelCache @"KUserModelCache"
|
|
|
|
//是否第一次进入 选用
|
|
#define KUserFirstStar @"FirstStar"
|
|
|
|
//健康信息token
|
|
#define KHEALTHTOKEN @"HEALTHTOKEN"
|
|
|
|
#define User_ID [HQCommonUtils loginID]
|
|
#define User_Token [HQCommonUtils loginToken]
|
|
#pragma mark - ——————— 网络状态相关 ————————
|
|
|
|
//网络状态变化
|
|
#define KNotificationNetWorkStateChange @"KNotificationNetWorkStateChange"
|
|
|
|
#define KNotificAmapAgreeProtoocl @"AMAPDELEGATE"
|
|
|
|
//取消支付
|
|
|
|
#pragma mark: 网络前缀
|
|
#define ResourceAddress [NSString stringWithFormat:@"%@/file/show/",Http]
|
|
|
|
////开发环境地址 彭杰 http://192.168.1.37
|
|
//#define Http @"http://192.168.1.47"//昊
|
|
//#define H5DevHost @"xj-admin.mcrm.vip:8888"//
|
|
//#define IntervenH5 @"https://console-xj-admin.mcrm.vip:8888"
|
|
//#define SCHEME @"https" //
|
|
|
|
//正式地址
|
|
#define Http @"https://api-jkglpt.iosp.ydpt.tech"//
|
|
#define H5DevHost @"api-jkglpt.iosp.ydpt.tech"//
|
|
#define IntervenH5 @"https://console-jkglpt.iosp.ydpt.tech"
|
|
#define SCHEME @"https" //
|
|
|
|
//卫鑫本地
|
|
//#define Http @"https://api-jkglpt.iosp.ydpt.tech"//
|
|
//#define H5DevHost @"api-jkglpt.iosp.ydpt.tech"//
|
|
//#define IntervenH5 @"http://192.168.1.26:9876"
|
|
//#define SCHEME @"https" //
|
|
|
|
//测试
|
|
//#define Http @"https://api-xj.tri.icdat.cn"//
|
|
//#define H5DevHost @"api-xj.tri.icdat.cn"//
|
|
//#define IntervenH5 @"https://console-xj.tri.icdat.cn"
|
|
//#define SCHEME @"https" //
|
|
|
|
//最新新疆测试地址
|
|
//#define Http @"https://xj-api.mcrm.vip:8888"//
|
|
//#define H5DevHost @"xj-admin.mcrm.vip:8888"//
|
|
//#define IntervenH5 @"https://console-xj-admin.mcrm.vip:8888"
|
|
//#define SCHEME @"https" //
|
|
|
|
//新疆项目后期的调试环境由阿里云迁移至公司内部主机服务器,功能联调和测试可用以下的环境地址
|
|
//https://api-xj.tri.icdat.cn
|
|
//https://console-xj.tri.icdat.cn/
|
|
//接口: http://api-xj.tri.dt.io/
|
|
//后台: http://console-xj.tri.dt.io/
|
|
//大屏: http://screen-xj.tri.dt.io/home
|
|
|
|
#endif /* StatusMacros_h */
|