PhbAppConfig.h 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. //
  2. // PhbAppConfig.h
  3. // smartRhino
  4. //
  5. // Created by 潘洪波 on 2019/11/18.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #ifndef PhbAppConfig_h
  9. #define PhbAppConfig_h
  10. #ifndef kScreenWidth
  11. #define kScreenWidth [UIScreen mainScreen].bounds.size.width
  12. #endif
  13. #ifndef kScreenHeight
  14. #define kScreenHeight [UIScreen mainScreen].bounds.size.height
  15. #endif
  16. #ifndef UIColorHex
  17. #define UIColorHex(_hex_) [UIColor hexStringToColor:((__bridge NSString *)CFSTR(#_hex_))]
  18. #endif
  19. ///广西环信账号
  20. //#define kHuanXinAppKey @"1104200313107569#gxcbcm" //环信appkey
  21. #define kHuanXinAppKey @"1126191023010818#smartrhino-tederen123" //环信appkey
  22. #define kHuanXinApnsName @"smartRhino_tederen" //环信推送证书名称
  23. /////微信广西
  24. //#define wxAppKey @"wxbc44299578fee300"
  25. //#define wxAppSecret @"17dcdb2fffc15728cb392485a5fc41ea"
  26. //
  27. /////友盟Key
  28. //#define UMengAppKey @"5e7426ef570df3d20e00019e"
  29. //
  30. /////QQ广西
  31. //#define QQAppKey @"1110276123"
  32. //#define QQAppSecret @"AfJ6aYxxWSsY1ilQ"
  33. //
  34. /////微博广西
  35. //#define WBAppKey @"1039156716"
  36. //#define WBAppSecret @"51bf65ceb9fe47410204a71d5deec300"
  37. ///微信广西
  38. #define wxAppKey @"wxacadd4110b36efa8"
  39. #define wxAppSecret @"00ffd8d5179497d1e8e747b99f53aa43"
  40. ///友盟Key
  41. #define UMengAppKey @"5e7426ef570df3d20e00019e"
  42. ///QQ广西
  43. #define QQAppKey @"101901983"
  44. #define QQAppSecret @"3c8344c33cab01f0e3ce68fc0ae961df"
  45. ///微博广西
  46. #define WBAppKey @"1039156716"
  47. #define WBAppSecret @"51bf65ceb9fe47410204a71d5deec300"
  48. #define WeiChatSuccess @"WeiChatSuccess"
  49. #import "JSONModelLib.h"
  50. #import "UIColor+HexCustomer.h"
  51. #import "NSDictionary+NilSafe.h"
  52. #import "NSArray+NilSafe.h"
  53. #import "EMDateHelper.h"
  54. /// api
  55. #define API_BLACKLIST_LIST @"/api/app/blacklist/list" //用户黑名单
  56. #define API_BLACKLIST_ADD @"/api/app/blacklist/add" //加入黑名单
  57. #define API_BLACKLIST_REMOVE @"/api/app/blacklist" //移除黑名单
  58. #define API_NOTICE_LIST @"/api/app/notice/list-page" //通知列表
  59. #define API_NOTICE_ADD @"/api/app/notice/add" //添加通知
  60. #define API_NOTICE_EDIT @"/api/app/notice/edit" //修改通知
  61. #define API_NOTICE_RECALL @"/api/app/notice/recall/" //撤销通知
  62. #define API_GROUPCHAT_ADD @"/api/app/group-chat/add" //添加群聊
  63. #define API_GROUPCHAT_UPDATE @"/api/app/group-chat/update" //更新群聊信息 名称、介绍、群头像
  64. #define API_CHATRECORD_ADD @"/api/app/chat-record/add" //新增会话
  65. ///添加文件夹 通知
  66. #define API_NOTICE_ADDFind @"/api/app/notice-folder/add" //添加文件夹通知
  67. /// 文件夹排序 通知 (MiddleIdFirst:0, MiddleIdSecond:0)
  68. #define API_Find_Sort @"/api/app/middle/sort"
  69. /// 文件夹置顶 通知
  70. #define API_Find_Top @"/api/app/middle/"
  71. #define API_APP_Note_Top @"/api/app/note/"
  72. #define API_APP_Collection_Top @"/api/app/collection/"
  73. /// 文件夹删除记录 文件夹类型 1 通知 2话题 3 收藏 4笔记 5 普通站内信 6匿名站内信 10聊天 //{"MiddleIds": [ 0 ],"FolderType": 0}
  74. #define API_Find_DeleteRecord @"/api/app/middle/delete"
  75. #define API_APP_Note_Draft @"/api/app/note/draft/"
  76. #define API_APP_Note_Clear_Draft @"/api/app/note/clear-draft/"
  77. #define API_Find_DeleteRecord_All @"/api/app/middle/delete-all/"
  78. /// 文件夹恢复删除 通知 //{"MiddleIds": [ 0 ],"FolderType": 0}
  79. #define API_Find_DeleteRecord_Redo @"/api/app/middle/recover-delete/"
  80. #define API_Find_Recover_All @"/api/app/middle/recover-all/"
  81. ///文件夹移动 通知 //{"Ids": [ 0 ],"ParentId": 0}
  82. #define API_Find_Move @"/api/app/middle/move"
  83. ///文件夹重命名 通知 //{"Id": “”,"FolderName": “”}
  84. #define API_Find_ReName @"/api/app/middle/update"
  85. ///查询文件夹 通知 //{
  86. // "ParentId": 0,
  87. // "TypeId": 0,
  88. // "UserId": 0,
  89. // "FolderIds": [
  90. // 0
  91. // ]
  92. //}
  93. #define API_Find_Find @"/api/app/middle/search-folder"
  94. #define API_APP_Middle_Enjoy_Defaul @"/api/app/middle/enjoy-default/"
  95. #define API_APP_Middle_Search_Note_Folder @"/api/app/middle/search-note-folder"
  96. #define API_APP_Note_Draft_List @"/api/app/note/draft-list"
  97. #define API_APP_Middle_Lately_Folder @"/api/app/middle/lately-folder"
  98. #define API_ChatHome_Seaerch @"/api/app/elastics/search"
  99. #define API_ShouCangList @"/api/app/collection/search"
  100. #define API_Collection_List @"/api/app/collection/list"
  101. #define API_Check_Find @"/api/app/middle/find-folder-info/"
  102. #define API_ModiFy_Find @"/api/app/middle/update-role"
  103. #define API_NoteBook @"/api/app/note/search"
  104. #define API_Note_List @"/api/app/note/list"
  105. #define API_APP_Note_Draft_List @"/api/app/note/draft-list"
  106. #define API_NoteBook_Detail @"/api/app/note/"
  107. #define API_NoteBook_ZanList @"/api/app/note/praise-page"
  108. #define API_NoteBook_Zan @"/api/app/note/laud"
  109. #define API_NoteBook_Comment @"/api/app/note/add-comment"
  110. #define API_NoteBook_CommentList @"/api/app/note/comment-list"
  111. #define API_NoteBook_Comment @"/api/app/note/add-comment"
  112. #define API_CreateNoteBook @"/api/app/note/add"
  113. #define API_NoteBook_Modify @"/api/app/note/update"
  114. #define API_CreateCollect @"/api/app/collection/add"
  115. #define API_InterLetter @"/api/app/missive/search"
  116. #define API_InterLetterDetail @"/api/app/missive/get/"
  117. #define API_InterLetterModify @"/api/app/missive/add"
  118. #define API_InterLetterZan @"/api/app/missive/analyze"
  119. ///查询未处理条数
  120. #define API_Verti_Number @"/api/app/admin-verify/count"
  121. ///修改
  122. #define API_Verti_Modify @"/api/app/admin-verify/update"
  123. ///清空
  124. #define API_Verti_Clear @"/api/app/admin-verify/delete"
  125. ///根据用户查询
  126. #define API_Verti_Check @"/api/app/admin-verify/search"
  127. #define API_DeleteCustomSection @"/api/app/address-book-group-user/delete"
  128. #define API_APP_User_Friends @"/api/app/user/friends"
  129. #define API_Notice_Detail @"/api/app/notice/app-detail/"
  130. #define API_Notice_Praise @"/api/app/notice/praise-page"
  131. #define API_Notice_Comment_List @"/api/app/notice-comment/list"
  132. #endif /* PhbAppConfig_h */