46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
//
|
||
// UrlAdress.h
|
||
// Ifish
|
||
//
|
||
// Created by wbzhan on 2019/5/22.
|
||
// Copyright © 2019 lianlian. All rights reserved.
|
||
//
|
||
|
||
#ifndef UrlAdress_h
|
||
#define UrlAdress_h
|
||
|
||
#define App_Environment 1 //1.测试环境 2.正式环境
|
||
#if(App_Environment==1)//测试
|
||
//app接口域名
|
||
#define Api_DomainName @"http://139.196.24.156:7080"
|
||
|
||
#elif (App_Environment==2)//正式
|
||
//app接口域名 cv
|
||
#define Api_DomainName @"http://139.196.24.156:7080"
|
||
|
||
#else//其他环境
|
||
//app接口域名
|
||
#define Api_DomainName @"http://139.196.24.156:7080"
|
||
|
||
#endif
|
||
|
||
//获取推送消息列表
|
||
/**
|
||
pushID 本地缓存的最大的pushId,第一次无的时候则不传
|
||
userId 用户id
|
||
firstResult 开始条数
|
||
pageSize 每页数据数量
|
||
@return <#return value description#>
|
||
*/
|
||
#define Push_Message_Url Api_DomainName @"/api/pageList/pushListInf.do"
|
||
//删除消息
|
||
#define Push_Message_Delete_Url Api_DomainName @"/api/updateUser/deleteMessages.do"
|
||
|
||
//绑定设备
|
||
#define Push_BindDevice_Url Api_DomainName @"/api/updateUser/bindDevice.do"
|
||
//用户消息已读
|
||
#define Push_Message_Readed Api_DomainName @"/api/updateUser/userMessageIsRead.do"
|
||
//用户未读消息个数
|
||
#define Push_Message_UnReadCount Api_DomainName @"/api/updateUser/userMessageNoReadCount.do"
|
||
#endif /* UrlAdress_h */
|