ifish/Ifish/Networking/UrlAdress.h

46 lines
1.3 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// 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 */