- 新增健康知识视图(标签切换+搜索+列表)和健康资讯视图(纯列表无搜索) - 对接健康栏目列表和文章分页接口,资讯无子分类直接用父级ID - 接入更多/搜索/详情H5跳转,统一用通用加密串传参 - 键盘弹起时自动避让,从H5回来刷新文章收藏数 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
110 lines
3.2 KiB
C
Executable File
110 lines
3.2 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 KNotificSelectQuestionTabbar @"SlectQuestionTabBar"
|
|
#define KNotificSelectSOSCenterTabbar @"SlectSoSTabBar"
|
|
#define KNotificSelectWatchTabbar @"SlectMonitoringTabBar"
|
|
|
|
|
|
//同意协议
|
|
|
|
//切换字体
|
|
#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]
|
|
|
|
|
|
//正式地址
|
|
#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 OtherHttp @"https://api-jkglpt.iosp.ydpt.tech/hb" //
|
|
|
|
|
|
|
|
//最新新疆测试地址
|
|
//#define Http @"http://192.168.1.223"//彭杰
|
|
// 最新地址
|
|
//#define Http @"http://192.168.1.47"//王昊
|
|
//#define Http @"https://xjxc-api.mcrm.vip:8888"//
|
|
//#define H5DevHost @"xjxc-api.mcrm.vip:8888"//
|
|
//#define IntervenH5 @"https://xj-admin.mcrm.vip:8888"
|
|
//#define SCHEME @"https" //
|
|
//#define OtherHttp @"https://gstest.superwx.cn/xj_health" //
|
|
|
|
|
|
#pragma mark - ——————— 健康知识/资讯 ————————
|
|
|
|
// H5 页面地址
|
|
#define kHealthKnowMoreH5 @"/healthnewsweb/healthKnow.html"
|
|
#define kHealthNewsMoreH5 @"/healthnewsweb/healthNews.html"
|
|
#define kHealthDetailH5 @"/healthnewsweb/healthNewsDetail.html"
|
|
#define kHealthSearchH5 @"/healthnewsweb/healthSecrch.html"
|
|
|
|
// HMAC-SHA256 签名密钥
|
|
#define kHealthKnowledgeSecretKey @"XJp3EHpcnwReXc1A"
|
|
|
|
//测试 健康知识+资讯
|
|
//#define kHealthKnowledgeBaseURL @"https://gstest.superwx.cn/healthcheck"
|
|
//#define kHealthKnowledgeH5Host @"https://gstest.superwx.cn"
|
|
//正式 健康知识+资讯
|
|
#define kHealthKnowledgeBaseURL @"https://api-jkglpt.iosp.ydpt.tech/hb"
|
|
#define kHealthKnowledgeH5Host @"https://console-jkglpt.iosp.ydpt.tech/hb"
|
|
|
|
// API 路径
|
|
#define kHealthKnowledgeTokenPath @"/pe/frontend/init"
|
|
#define kHealthKnowledgeCategoryPath @"/cms/frontend/category/list"
|
|
#define kHealthKnowledgeArticleListPath @"/cms/frontend/articleList"
|
|
|
|
|
|
#endif /* StatusMacros_h */
|