123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188 |
- //
- // PhbAppConfig.h
- // smartRhino
- //
- // Created by 潘洪波 on 2019/11/18.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #ifndef PhbAppConfig_h
- #define PhbAppConfig_h
- #ifndef kScreenWidth
- #define kScreenWidth [UIScreen mainScreen].bounds.size.width
- #endif
- #ifndef kScreenHeight
- #define kScreenHeight [UIScreen mainScreen].bounds.size.height
- #endif
- #ifndef UIColorHex
- #define UIColorHex(_hex_) [UIColor hexStringToColor:((__bridge NSString *)CFSTR(#_hex_))]
- #endif
- ///广西环信账号
- //#define kHuanXinAppKey @"1104200313107569#gxcbcm" //环信appkey
- #define kHuanXinAppKey @"1126191023010818#smartrhino-tederen123" //环信appkey
- #define kHuanXinApnsName @"smartRhino_tederen" //环信推送证书名称
- /////微信广西
- //#define wxAppKey @"wxbc44299578fee300"
- //#define wxAppSecret @"17dcdb2fffc15728cb392485a5fc41ea"
- //
- /////友盟Key
- //#define UMengAppKey @"5e7426ef570df3d20e00019e"
- //
- /////QQ广西
- //#define QQAppKey @"1110276123"
- //#define QQAppSecret @"AfJ6aYxxWSsY1ilQ"
- //
- /////微博广西
- //#define WBAppKey @"1039156716"
- //#define WBAppSecret @"51bf65ceb9fe47410204a71d5deec300"
- ///微信广西
- #define wxAppKey @"wxacadd4110b36efa8"
- #define wxAppSecret @"00ffd8d5179497d1e8e747b99f53aa43"
- ///友盟Key
- #define UMengAppKey @"5e7426ef570df3d20e00019e"
- ///QQ广西
- #define QQAppKey @"101901983"
- #define QQAppSecret @"3c8344c33cab01f0e3ce68fc0ae961df"
- ///微博广西
- #define WBAppKey @"1039156716"
- #define WBAppSecret @"51bf65ceb9fe47410204a71d5deec300"
- #define WeiChatSuccess @"WeiChatSuccess"
- #import "JSONModelLib.h"
- #import "UIColor+HexCustomer.h"
- #import "NSDictionary+NilSafe.h"
- #import "NSArray+NilSafe.h"
- #import "EMDateHelper.h"
- /// api
- #define API_BLACKLIST_LIST @"/api/app/blacklist/list" //用户黑名单
- #define API_BLACKLIST_ADD @"/api/app/blacklist/add" //加入黑名单
- #define API_BLACKLIST_REMOVE @"/api/app/blacklist" //移除黑名单
- #define API_NOTICE_LIST @"/api/app/notice/list-page" //通知列表
- #define API_NOTICE_ADD @"/api/app/notice/add" //添加通知
- #define API_NOTICE_EDIT @"/api/app/notice/edit" //修改通知
- #define API_NOTICE_RECALL @"/api/app/notice/recall/" //撤销通知
- #define API_GROUPCHAT_ADD @"/api/app/group-chat/add" //添加群聊
- #define API_GROUPCHAT_UPDATE @"/api/app/group-chat/update" //更新群聊信息 名称、介绍、群头像
- #define API_CHATRECORD_ADD @"/api/app/chat-record/add" //新增会话
- ///添加文件夹 通知
- #define API_NOTICE_ADDFind @"/api/app/notice-folder/add" //添加文件夹通知
- /// 文件夹排序 通知 (MiddleIdFirst:0, MiddleIdSecond:0)
- #define API_Find_Sort @"/api/app/middle/sort"
- /// 文件夹置顶 通知
- #define API_Find_Top @"/api/app/middle/"
- #define API_APP_Note_Top @"/api/app/note/"
- #define API_APP_Collection_Top @"/api/app/collection/"
- /// 文件夹删除记录 文件夹类型 1 通知 2话题 3 收藏 4笔记 5 普通站内信 6匿名站内信 10聊天 //{"MiddleIds": [ 0 ],"FolderType": 0}
- #define API_Find_DeleteRecord @"/api/app/middle/delete"
- #define API_APP_Note_Draft @"/api/app/note/draft/"
- #define API_APP_Note_Clear_Draft @"/api/app/note/clear-draft/"
- #define API_Find_DeleteRecord_All @"/api/app/middle/delete-all/"
- /// 文件夹恢复删除 通知 //{"MiddleIds": [ 0 ],"FolderType": 0}
- #define API_Find_DeleteRecord_Redo @"/api/app/middle/recover-delete/"
- #define API_Find_Recover_All @"/api/app/middle/recover-all/"
- ///文件夹移动 通知 //{"Ids": [ 0 ],"ParentId": 0}
- #define API_Find_Move @"/api/app/middle/move"
- ///文件夹重命名 通知 //{"Id": “”,"FolderName": “”}
- #define API_Find_ReName @"/api/app/middle/update"
- ///查询文件夹 通知 //{
- // "ParentId": 0,
- // "TypeId": 0,
- // "UserId": 0,
- // "FolderIds": [
- // 0
- // ]
- //}
- #define API_Find_Find @"/api/app/middle/search-folder"
- #define API_APP_Middle_Enjoy_Defaul @"/api/app/middle/enjoy-default/"
- #define API_APP_Middle_Search_Note_Folder @"/api/app/middle/search-note-folder"
- #define API_APP_Note_Draft_List @"/api/app/note/draft-list"
- #define API_APP_Middle_Lately_Folder @"/api/app/middle/lately-folder"
- #define API_ChatHome_Seaerch @"/api/app/elastics/search"
- #define API_ShouCangList @"/api/app/collection/search"
- #define API_Collection_List @"/api/app/collection/list"
- #define API_Check_Find @"/api/app/middle/find-folder-info/"
- #define API_ModiFy_Find @"/api/app/middle/update-role"
- #define API_NoteBook @"/api/app/note/search"
- #define API_Note_List @"/api/app/note/list"
- #define API_APP_Note_Draft_List @"/api/app/note/draft-list"
- #define API_NoteBook_Detail @"/api/app/note/"
- #define API_NoteBook_ZanList @"/api/app/note/praise-page"
- #define API_NoteBook_Zan @"/api/app/note/laud"
- #define API_NoteBook_Comment @"/api/app/note/add-comment"
- #define API_NoteBook_CommentList @"/api/app/note/comment-list"
- #define API_NoteBook_Comment @"/api/app/note/add-comment"
- #define API_CreateNoteBook @"/api/app/note/add"
- #define API_NoteBook_Modify @"/api/app/note/update"
- #define API_CreateCollect @"/api/app/collection/add"
- #define API_InterLetter @"/api/app/missive/search"
- #define API_InterLetterDetail @"/api/app/missive/get/"
- #define API_InterLetterModify @"/api/app/missive/add"
- #define API_InterLetterZan @"/api/app/missive/analyze"
- ///查询未处理条数
- #define API_Verti_Number @"/api/app/admin-verify/count"
- ///修改
- #define API_Verti_Modify @"/api/app/admin-verify/update"
- ///清空
- #define API_Verti_Clear @"/api/app/admin-verify/delete"
- ///根据用户查询
- #define API_Verti_Check @"/api/app/admin-verify/search"
- #define API_DeleteCustomSection @"/api/app/address-book-group-user/delete"
- #define API_APP_User_Friends @"/api/app/user/friends"
- #define API_Notice_Detail @"/api/app/notice/app-detail/"
- #define API_Notice_Praise @"/api/app/notice/praise-page"
- #define API_Notice_Comment_List @"/api/app/notice-comment/list"
- #endif /* PhbAppConfig_h */
|