// // RYAPI.h // TianLing_App // // Created by 刘荣毅 on 2017/10/24. // Copyright © 2017年 Liu. All rights reserved. // #ifndef RYAPI_h #define RYAPI_h #pragma mark- 接口 //static const NSString * kHostURL = @"http://office.teemlink.com:60177/"; //企业域 #define COMPANYSERVER_URL @"/runtime/app/domains/list.action" #define USERLOGIN_URL @"/runtime/app/security/login.action" //验证码 #define GETCODEE_URL @"/checkCodeImg" //工作台数据 #define GETAPPLICATIONLIST_URL @"/runtime/app/applications/list.action" //我的个人资料 #define MINEPERSONAGEINFO_URL @"/runtime/app/users/queryUser.action" //更新用户资料 #define UPDATAUSERINFO_URL @"/runtime/app/users/save.action" //获取联系人 #define GETCONTACTS_URL @"/runtime/app/contacts/tree.action" #define GETCONTACTSTREE_URL @"/runtime/app/contacts/getContactsTree.action" //联系人资料 #define GETCONTACTINFODETAIL_URL @"/runtime/app/users/getUser.action" //获取通知 #define GETNOTIFICATION_URL @"/runtime/app/notice/list.action" //标记已读 #define READNOTIFICATION_URL @"/runtime/app/notice/read.action" //系统审批 #define SYSTEMCHECK_URL @"/portal/phone/main.jsp" //通讯录搜索 //#define SEACHCONTACT_URL @"/runtime/app/contacts/getContactsBySearch.action" #define GETCONTACTSBYSEARCH_URL @"/runtime/app/contacts/getContactsBySearch.action" //搜索部门 #define GETDEPARTMENTSBYSEARCH_URL @"/runtime/app/contacts/getDepartmentsBySearch.action" //应用搜索 #define GETAPPLICATIONSBYSEARCH_URL @"/runtime/app/applications/getAppcationsBySearch.action" //PDF路径 #define PDF_URL @"/uploads/resource/abc.pdf" //上传 #define UPLOADFILE_URL @"/runtime/app/upload" //添加常用联系人 #define SetComCatanct_URL @"/runtime/app/contacts/addFavoriteContact.action" //获取常用联系人 #define GETCOMCONTACT_URL @"/runtime/app/contacts/getFavoriteContacts.action" //获取常用联系人 #define REMOVECOMCONTACT_URL @"/runtime/app/contacts/removeFavoriteContact.action" // 获取环信配置 #define HXCONFIG_URL @"/runtime/app/hx/config.action" #pragma mark- 系统消息类型 //行政办公主键 #define OAWorkIdentifier @"行政办公" #endif /* RYAPI_h */