Commit 49662a097ecdc94decaee4e3a3083fa5656e5d2f

Authored by zhangxiaowen
1 parent bcc68fc0

no message

CNLiveEnvironmentConfiguration/Classes/DebugInHouse/CNEnvironmentHeader.h renamed to CNLiveEnvironmentConfiguration/Classes/CNEnvironmentHeader.h
@@ -13,21 +13,15 @@ @@ -13,21 +13,15 @@
13 *网家家环境配置文件 13 *网家家环境配置文件
14 */ 14 */
15 15
16 -#ifdef AppId1 //测试  
17 -#define abc 1231  
18 -#else//正式  
19 -#define abc 1232  
20 -#endif  
21 -  
22 // App Store 中 AppID 用于跳转 App Store 下载/评分 16 // App Store 中 AppID 用于跳转 App Store 下载/评分
23 #define AppStoreAppId @"1337575478" 17 #define AppStoreAppId @"1337575478"
24 18
25 // 请求查询app在App Store的上架信息 19 // 请求查询app在App Store的上架信息
26 #define AppStoreAppInfo @"https://itunes.apple.com/lookup?id=1337575478" 20 #define AppStoreAppInfo @"https://itunes.apple.com/lookup?id=1337575478"
27 21
28 -//// h5新闻详情中分享使用到的图片地址  
29 -//#define netAddShareImgUrl WjjH5_Host@"/static/logo.png"  
30 -//#define WjjH5Short_Host @"http://dwz.cnlive.com" 22 +// h5新闻详情中分享使用到的图片地址
  23 +#define netAddShareImgUrl WjjH5_Host@"/static/logo.png"
  24 +#define WjjH5Short_Host @"http://dwz.cnlive.com"
31 25
32 // 正式版--测试环境com.cnlive.CNLiveNetAdd.debug 网家家测试版 26 // 正式版--测试环境com.cnlive.CNLiveNetAdd.debug 网家家测试版
33 // 正式版--正式环境com.cnlive.CNLiveNetAdd 网家家正式版 27 // 正式版--正式环境com.cnlive.CNLiveNetAdd 网家家正式版
@@ -36,9 +30,8 @@ @@ -36,9 +30,8 @@
36 30
37 #define ShowGuideView @"no" // yes:显示欢迎页 no:不显示欢迎页 31 #define ShowGuideView @"no" // yes:显示欢迎页 no:不显示欢迎页
38 32
39 -#define Environment_ON 0 // 1:正式环境平台 0:测试环境平台  
40 -  
41 -#if Environment_ON 33 +//#define Environment_ON 0 // 1:正式环境平台 0:测试环境平台
  34 +#ifdef Environment_ON
42 35
43 #pragma mark - 正式环境 36 #pragma mark - 正式环境
44 //正式环境平台配置 37 //正式环境平台配置
@@ -83,99 +76,96 @@ @@ -83,99 +76,96 @@
83 #define WitnessMultipleCategory 370 76 #define WitnessMultipleCategory 370
84 77
85 #pragma mark - 正式个人/企业开关 78 #pragma mark - 正式个人/企业开关
86 -#define IPA_APPSTORE 0 ////1: App Store版 0:企业版 79 +//#define IPA_APPSTORE 0 ////0: App Store版 1:企业版
87 80
88 -#if IPA_APPSTORE  
89 -// 正式个人版  
90 -////////////////////////////////////////////////////////  
91 -//////////// AppConfig  
92 -////////////////////////////////////////////////////////  
93 -  
94 -//正式版 com.cnlive.CNLiveNetAdd 81 +#ifdef IPA_APPSTORE
  82 +// 正式企业版
  83 +// 企业版 com.cnlive.CNLiveNetAddInHouse
95 #ifndef AppId 84 #ifndef AppId
96 -#define AppId @"769_jetj7bq525" 85 +#define AppId @"769_jetja50p18"
97 #endif 86 #endif
98 #ifndef APPKey 87 #ifndef APPKey
99 -#define APPKey @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d" 88 +#define APPKey @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba"
100 #endif 89 #endif
101 #ifndef AppSecret 90 #ifndef AppSecret
102 -#define AppSecret @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976" 91 +#define AppSecret @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83"
103 #define DisplayName @"网家家" 92 #define DisplayName @"网家家"
104 #endif 93 #endif
105 94
106 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd" 95 +#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse"
107 96
108 -////////////////////////////////////////////////////////  
109 -//////////// IM推送证书相关  
110 -//////////////////////////////////////////////////////// 97 +//企业证书id
111 #if DEBUG 98 #if DEBUG
112 -#define IM_Cer_busiId 12452 //7307已过期 99 +#define IM_Cer_busiId 7346
113 #else 100 #else
114 -#define IM_Cer_busiId 12453 //7308已过期 101 +#define IM_Cer_busiId 7347
115 #endif 102 #endif
116 103
117 //////////////////////////////////////////////////////// 104 ////////////////////////////////////////////////////////
118 //////////// 高德地图Key 105 //////////// 高德地图Key
119 //////////////////////////////////////////////////////// 106 ////////////////////////////////////////////////////////
120 -#define GDApiKey @"5a0e2a559b987e67d5b0c13490adde02" 107 +#define GDApiKey @"84d765606a54635aec2648f663d4a5ed"
121 108
122 //////////////////////////////////////////////////////// 109 ////////////////////////////////////////////////////////
123 //////////// 百度身份证识别 110 //////////// 百度身份证识别
124 //////////////////////////////////////////////////////// 111 ////////////////////////////////////////////////////////
125 -#define BDAppId @"14380860"  
126 -#define BDAppKey @"4bX1eK7SiCL461QBnRKilowc"  
127 -#define BDSecret @"BTzXLoPbUjlLeOM1nHnfOuTB9q18YZVq" 112 +#define BDAppId @"14380872"
  113 +#define BDAppKey @"ibl8vbKkPVYBw5IOvR8tVGGo"
  114 +#define BDSecret @"QEd6n1qruIGG8AYkyLyqepksO2uUe0GK"
128 115
129 //////////////////////////////////////////////////////// 116 ////////////////////////////////////////////////////////
130 //////////// 听云 117 //////////// 听云
131 //////////////////////////////////////////////////////// 118 ////////////////////////////////////////////////////////
132 -/*听云AppKey*/ //URL Scheme: tingyun.33700  
133 -static NSString *const CNLiveTingYunAppKey = @"37c9ea3f439145269e5cffe095466b17"; 119 +/*听云AppKey*/ //URL Scheme: tingyun.33699
  120 +static NSString *const CNLiveTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c";
  121 +
134 #else 122 #else
135 -// 正式企业版  
136 -// 企业版 com.cnlive.CNLiveNetAddInHouse 123 +// 正式个人版
  124 +//正式版 com.cnlive.CNLiveNetAdd
137 #ifndef AppId 125 #ifndef AppId
138 -#define AppId @"769_jetja50p18" 126 +#define AppId @"769_jetj7bq525"
139 #endif 127 #endif
140 #ifndef APPKey 128 #ifndef APPKey
141 -#define APPKey @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba" 129 +#define APPKey @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d"
142 #endif 130 #endif
143 #ifndef AppSecret 131 #ifndef AppSecret
144 -#define AppSecret @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83" 132 +#define AppSecret @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976"
145 #define DisplayName @"网家家" 133 #define DisplayName @"网家家"
146 #endif 134 #endif
147 135
148 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse" 136 +#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd"
149 137
150 -//企业证书id 138 +////////////////////////////////////////////////////////
  139 +//////////// IM推送证书相关
  140 +////////////////////////////////////////////////////////
151 #if DEBUG 141 #if DEBUG
152 -#define IM_Cer_busiId 7346 142 +#define IM_Cer_busiId 12452 //7307已过期
153 #else 143 #else
154 -#define IM_Cer_busiId 7347 144 +#define IM_Cer_busiId 12453 //7308已过期
155 #endif 145 #endif
156 146
157 //////////////////////////////////////////////////////// 147 ////////////////////////////////////////////////////////
158 //////////// 高德地图Key 148 //////////// 高德地图Key
159 //////////////////////////////////////////////////////// 149 ////////////////////////////////////////////////////////
160 -#define GDApiKey @"84d765606a54635aec2648f663d4a5ed" 150 +#define GDApiKey @"5a0e2a559b987e67d5b0c13490adde02"
161 151
162 //////////////////////////////////////////////////////// 152 ////////////////////////////////////////////////////////
163 //////////// 百度身份证识别 153 //////////// 百度身份证识别
164 //////////////////////////////////////////////////////// 154 ////////////////////////////////////////////////////////
165 -#define BDAppId @"14380872"  
166 -#define BDAppKey @"ibl8vbKkPVYBw5IOvR8tVGGo"  
167 -#define BDSecret @"QEd6n1qruIGG8AYkyLyqepksO2uUe0GK" 155 +#define BDAppId @"14380860"
  156 +#define BDAppKey @"4bX1eK7SiCL461QBnRKilowc"
  157 +#define BDSecret @"BTzXLoPbUjlLeOM1nHnfOuTB9q18YZVq"
168 158
169 //////////////////////////////////////////////////////// 159 ////////////////////////////////////////////////////////
170 //////////// 听云 160 //////////// 听云
171 //////////////////////////////////////////////////////// 161 ////////////////////////////////////////////////////////
172 -/*听云AppKey*/ //URL Scheme: tingyun.33699  
173 -static NSString *const CNLiveTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c"; 162 +/*听云AppKey*/ //URL Scheme: tingyun.33700
  163 +static NSString *const CNLiveTingYunAppKey = @"37c9ea3f439145269e5cffe095466b17";
174 164
175 #endif 165 #endif
176 166
177 ////////////////////////////////////// 167 //////////////////////////////////////
178 -///////////////// 正式平台 168 +//////////// 正式平台
179 ////////////////////////////////////// 169 //////////////////////////////////////
180 170
181 /*微信相关参数*/ 171 /*微信相关参数*/
@@ -244,48 +234,42 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a71 @@ -244,48 +234,42 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a71
244 234
245 235
246 #pragma mark - 测试个人/企业开关 236 #pragma mark - 测试个人/企业开关
247 -#define IPA_APPSTORE 1 ////1: 个人版 0:企业版 237 +//#define IPA_APPSTORE 1 ////0: 个人版 1:企业版
248 238
249 #if IPA_APPSTORE 239 #if IPA_APPSTORE
250 -//测试个人版  
251 -////////////////////////////////////////////////////////  
252 -//////////// AppConfig  
253 -////////////////////////////////////////////////////////  
254 -//个人版 com.cnlive.CNLiveNetAdd.debug 240 +//测试企业版
  241 +//企业版 com.cnlive.CNLiveNetAddInHouse.debug
255 #ifndef AppId 242 #ifndef AppId
256 -#define AppId @"802_jhlqbq4475" 243 +#define AppId @"802_jhbqccxw08"
257 #endif 244 #endif
258 #ifndef APPKey 245 #ifndef APPKey
259 -#define APPKey @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4" 246 +#define APPKey @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f"
260 #endif 247 #endif
261 #ifndef AppSecret 248 #ifndef AppSecret
262 -#define AppSecret @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"  
263 -#define DisplayName @"网家家测试" 249 +#define AppSecret @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"
  250 +#define DisplayName @"网家家测试版"
264 #endif 251 #endif
265 252
  253 +#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse.debug"
266 254
267 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd.debug"  
268 -  
269 -////////////////////////////////////////////////////////  
270 -//////////// IM推送证书相关  
271 -//////////////////////////////////////////////////////// 255 +//企业证书id
272 #if DEBUG 256 #if DEBUG
273 -#define IM_Cer_busiId 12450 //9246已过期 257 +#define IM_Cer_busiId 9204
274 #else 258 #else
275 -#define IM_Cer_busiId 12451 //9247已过期 259 +#define IM_Cer_busiId 9205
276 #endif 260 #endif
277 261
278 //////////////////////////////////////////////////////// 262 ////////////////////////////////////////////////////////
279 //////////// 高德地图Key 263 //////////// 高德地图Key
280 //////////////////////////////////////////////////////// 264 ////////////////////////////////////////////////////////
281 -#define GDApiKey @"4b15525f4265edfed8dce1d02f08a893" 265 +#define GDApiKey @"f4459435f1c756d2efedc6ceec12be63"
282 266
283 //////////////////////////////////////////////////////// 267 ////////////////////////////////////////////////////////
284 //////////// 百度身份证识别 268 //////////// 百度身份证识别
285 //////////////////////////////////////////////////////// 269 ////////////////////////////////////////////////////////
286 -#define BDAppId @"14435697"  
287 -#define BDAppKey @"3LqIXy2AtXxrxyFM8N73QGYN"  
288 -#define BDSecret @"EKZxZza8purqGHOmngkMi7awtZkm0lOW" 270 +#define BDAppId @"14435716"
  271 +#define BDAppKey @"4foSD6VBILQ61olzmVAFEVGZ"
  272 +#define BDSecret @"VEuz92EVrmEVrrgTZKxYo4ApUkol7Ptk"
289 273
290 //////////////////////////////////////////////////////// 274 ////////////////////////////////////////////////////////
291 //////////// 听云 275 //////////// 听云
@@ -294,39 +278,42 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a71 @@ -294,39 +278,42 @@ static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a71
294 static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352"; 278 static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";
295 279
296 #else 280 #else
297 -//测试企业版  
298 -//企业版 com.cnlive.CNLiveNetAddInHouse.debug 281 +
  282 +//测试个人版
  283 +//个人版 com.cnlive.CNLiveNetAdd.debug
299 #ifndef AppId 284 #ifndef AppId
300 -#define AppId @"802_jhbqccxw08" 285 +#define AppId @"802_jhlqbq4475"
301 #endif 286 #endif
302 #ifndef APPKey 287 #ifndef APPKey
303 -#define APPKey @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f" 288 +#define APPKey @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"
304 #endif 289 #endif
305 #ifndef AppSecret 290 #ifndef AppSecret
306 -#define AppSecret @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"  
307 -#define DisplayName @"网家家测试版" 291 +#define AppSecret @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"
  292 +#define DisplayName @"网家家测试"
308 #endif 293 #endif
309 294
310 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse.debug" 295 +#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd.debug"
311 296
312 -//企业证书id 297 +////////////////////////////////////////////////////////
  298 +//////////// IM推送证书相关
  299 +////////////////////////////////////////////////////////
313 #if DEBUG 300 #if DEBUG
314 -#define IM_Cer_busiId 9204 301 +#define IM_Cer_busiId 12450 //9246已过期
315 #else 302 #else
316 -#define IM_Cer_busiId 9205 303 +#define IM_Cer_busiId 12451 //9247已过期
317 #endif 304 #endif
318 305
319 //////////////////////////////////////////////////////// 306 ////////////////////////////////////////////////////////
320 //////////// 高德地图Key 307 //////////// 高德地图Key
321 //////////////////////////////////////////////////////// 308 ////////////////////////////////////////////////////////
322 -#define GDApiKey @"f4459435f1c756d2efedc6ceec12be63" 309 +#define GDApiKey @"4b15525f4265edfed8dce1d02f08a893"
323 310
324 //////////////////////////////////////////////////////// 311 ////////////////////////////////////////////////////////
325 //////////// 百度身份证识别 312 //////////// 百度身份证识别
326 //////////////////////////////////////////////////////// 313 ////////////////////////////////////////////////////////
327 -#define BDAppId @"14435716"  
328 -#define BDAppKey @"4foSD6VBILQ61olzmVAFEVGZ"  
329 -#define BDSecret @"VEuz92EVrmEVrrgTZKxYo4ApUkol7Ptk" 314 +#define BDAppId @"14435697"
  315 +#define BDAppKey @"3LqIXy2AtXxrxyFM8N73QGYN"
  316 +#define BDSecret @"EKZxZza8purqGHOmngkMi7awtZkm0lOW"
330 317
331 //////////////////////////////////////////////////////// 318 ////////////////////////////////////////////////////////
332 //////////// 听云 319 //////////// 听云
@@ -338,5 +325,4 @@ static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352" @@ -338,5 +325,4 @@ static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352"
338 325
339 #endif 326 #endif
340 327
341 -  
342 #endif /* CNEnvironmentHeader_h */ 328 #endif /* CNEnvironmentHeader_h */
CNLiveEnvironmentConfiguration/Classes/DebugPersonal/CNEnvironmentHeader.h deleted 100644 → 0
1 -//  
2 -// CNEnvironmentHeader.h  
3 -// CNLiveNetAdd  
4 -//  
5 -// Created by 张旭 on 2018/5/30.  
6 -// Copyright © 2018年 cnlive. All rights reserved.  
7 -//  
8 -  
9 -#ifndef CNEnvironmentHeader_h  
10 -#define CNEnvironmentHeader_h  
11 -  
12 -/*  
13 - *网家家环境配置文件  
14 -*/  
15 -  
16 -// App Store 中 AppID 用于跳转 App Store 下载/评分  
17 -#define AppStoreAppId @"1337575478"  
18 -  
19 -// 请求查询app在App Store的上架信息  
20 -#define AppStoreAppInfo @"https://itunes.apple.com/lookup?id=1337575478"  
21 -  
22 -//// h5新闻详情中分享使用到的图片地址  
23 -//#define netAddShareImgUrl WjjH5_Host@"/static/logo.png"  
24 -//#define WjjH5Short_Host @"http://dwz.cnlive.com"  
25 -  
26 -// 正式版--测试环境com.cnlive.CNLiveNetAdd.debug 网家家测试版  
27 -// 正式版--正式环境com.cnlive.CNLiveNetAdd 网家家正式版  
28 -// 企业版--测试环境com.cnlive.CNLiveNetAddInHouse.debug 网家家测试企版  
29 -// 企业版--正式环境com.cnlive.CNLiveNetAddInHouse 网家家内测版  
30 -  
31 -#define ShowGuideView @"no" // yes:显示欢迎页 no:不显示欢迎页  
32 -  
33 -#define Environment_ON 0 // 1:正式环境平台 0:测试环境平台  
34 -  
35 -#if Environment_ON  
36 -  
37 -#pragma mark - 正式环境  
38 -//正式环境平台配置  
39 -//IMSDK相关的配置  
40 -#define kWXAccount @"wjj_app"  
41 -#define kSdkAppId @"1400051680"  
42 -#define kSdkAccountType @"19645"  
43 -  
44 -#ifndef CNLiveNetAddUrlSchems  
45 -#define CNLiveNetAddUrlSchems @"CNLiveNetAddUrlSchems" // 支付宝支付Schems  
46 -#endif  
47 -  
48 -#ifndef CNLiveNetAddUnionPaySchems  
49 -#define CNLiveNetAddUnionPaySchems @"CNLiveNetAddUnionPaySchems" // 银联支付Schems  
50 -#endif  
51 -  
52 -#define CNLiveNewAddDownloadUrl @"http://apiwjj.cnlive.com/download/index.html"  
53 -#define ShareDarenHomeUrl @"http://apiwjj.cnlive.com/daren/download.html"  
54 -#define WjjH5_Host @"http://wjjh5.cnlive.com"  
55 -#define WjjH5_VideoChina WjjH5_Host@"/cnnews.html"  
56 -#define WjjH5_NumProduct WjjH5_Host@"/cndr.html"  
57 -  
58 -#define API_Host @"https://apiwjj.cnlive.com"  
59 -  
60 -#define API_Contact @"https://wjjim.cnlive.com"  
61 -#define API_Refund @"https://wjj.ys1.cnliveimg.com"  
62 -#define API_Report @"https://mobile.cnlive.com"  
63 -#define API_ThirdPay API_Host  
64 -#define API_OpenApi2 @"https://api.cnlive.com/open/api2"  
65 -#define API_Classify @"http://cms.cnlive.com:8768"  
66 -  
67 -#define WjjLive_Host @"http://wjjh5.cnlive.com"  
68 -  
69 -#define TIM_GetTokenUrl API_OpenApi2@"/im_chat/generateUserSign"  
70 -  
71 -// 网++默认头像地址  
72 -#define CNLiveNetAddDefaultHead API_Refund@"/admin/test/head.png"  
73 -  
74 -#define API_BucketName @"mam-wjj-769"  
75 -#define API_PhotoUrl @"http://wjj.ys2.cnliveimg.com/" // 还不知道  
76 -#define MultipleCategory 366  
77 -#define WitnessMultipleCategory 370  
78 -  
79 -#pragma mark - 正式个人/企业开关  
80 -#define IPA_APPSTORE 1 ////1: App Store版 0:企业版  
81 -  
82 -#if IPA_APPSTORE  
83 -// 正式个人版  
84 -////////////////////////////////////////////////////////  
85 -//////////// AppConfig  
86 -////////////////////////////////////////////////////////  
87 -  
88 -//正式版 com.cnlive.CNLiveNetAdd  
89 -#ifndef AppId  
90 -#define AppId @"769_jetj7bq525"  
91 -#endif  
92 -#ifndef APPKey  
93 -#define APPKey @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d"  
94 -#endif  
95 -#ifndef AppSecret  
96 -#define AppSecret @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976"  
97 -#define DisplayName @"网家家"  
98 -#endif  
99 -  
100 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd"  
101 -  
102 -////////////////////////////////////////////////////////  
103 -//////////// IM推送证书相关  
104 -////////////////////////////////////////////////////////  
105 -#if DEBUG  
106 -#define IM_Cer_busiId 12452 //7307已过期  
107 -#else  
108 -#define IM_Cer_busiId 12453 //7308已过期  
109 -#endif  
110 -  
111 -////////////////////////////////////////////////////////  
112 -//////////// 高德地图Key  
113 -////////////////////////////////////////////////////////  
114 -#define GDApiKey @"5a0e2a559b987e67d5b0c13490adde02"  
115 -  
116 -////////////////////////////////////////////////////////  
117 -//////////// 百度身份证识别  
118 -////////////////////////////////////////////////////////  
119 -#define BDAppId @"14380860"  
120 -#define BDAppKey @"4bX1eK7SiCL461QBnRKilowc"  
121 -#define BDSecret @"BTzXLoPbUjlLeOM1nHnfOuTB9q18YZVq"  
122 -  
123 -////////////////////////////////////////////////////////  
124 -//////////// 听云  
125 -////////////////////////////////////////////////////////  
126 -/*听云AppKey*/ //URL Scheme: tingyun.33700  
127 -static NSString *const CNLiveTingYunAppKey = @"37c9ea3f439145269e5cffe095466b17";  
128 -#else  
129 -// 正式企业版  
130 -// 企业版 com.cnlive.CNLiveNetAddInHouse  
131 -#ifndef AppId  
132 -#define AppId @"769_jetja50p18"  
133 -#endif  
134 -#ifndef APPKey  
135 -#define APPKey @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba"  
136 -#endif  
137 -#ifndef AppSecret  
138 -#define AppSecret @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83"  
139 -#define DisplayName @"网家家"  
140 -#endif  
141 -  
142 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse"  
143 -  
144 -//企业证书id  
145 -#if DEBUG  
146 -#define IM_Cer_busiId 7346  
147 -#else  
148 -#define IM_Cer_busiId 7347  
149 -#endif  
150 -  
151 -////////////////////////////////////////////////////////  
152 -//////////// 高德地图Key  
153 -////////////////////////////////////////////////////////  
154 -#define GDApiKey @"84d765606a54635aec2648f663d4a5ed"  
155 -  
156 -////////////////////////////////////////////////////////  
157 -//////////// 百度身份证识别  
158 -////////////////////////////////////////////////////////  
159 -#define BDAppId @"14380872"  
160 -#define BDAppKey @"ibl8vbKkPVYBw5IOvR8tVGGo"  
161 -#define BDSecret @"QEd6n1qruIGG8AYkyLyqepksO2uUe0GK"  
162 -  
163 -////////////////////////////////////////////////////////  
164 -//////////// 听云  
165 -////////////////////////////////////////////////////////  
166 -/*听云AppKey*/ //URL Scheme: tingyun.33699  
167 -static NSString *const CNLiveTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c";  
168 -  
169 -#endif  
170 -  
171 -//////////////////////////////////////  
172 -///////////////// 正式平台  
173 -//////////////////////////////////////  
174 -  
175 -/*微信相关参数*/  
176 -static NSString *const CNLiveWeiChatAppId_Share = @"wxed528fc749b7ee88";  
177 -static NSString *const CNLiveWeiChatAppSecret_Share = @"729c3d3055fe336bcdef7020c2548e89";  
178 -  
179 -/*腾讯相关参数*/  
180 -static NSString *const CNLiveQQShareAppId_Share = @"1106691520";  
181 -static NSString *const CNLiveQQShareAppSecret_Share = @"kLZ8CglGFjzrJFan";  
182 -  
183 -/*shareSDK相关参数*/  
184 -static NSString *const CNLiveShareSDKAppId_Share = @"24e4abeaa92d8";  
185 -static NSString *const CNLiveShareSDKAppSecret_Share = @"da94a6f881d404092c9a7108e4470e8f";  
186 -  
187 -#else  
188 -  
189 -#pragma mark - 测试环境  
190 -////////////////////////////////////////////////////////////  
191 -// 测试环境平台配置  
192 -// IMSDK相关的配置  
193 -#define kWXAccount @"wjj_app_test"  
194 -#define kSdkAppId @"1400052101"  
195 -#define kSdkAccountType @"27313"  
196 -  
197 -#ifndef CNLiveNetAddUrlSchems  
198 -#define CNLiveNetAddUrlSchems @"CNLiveNetAddTestUrlSchems" // 支付宝支付Schems  
199 -#endif  
200 -#ifndef CNLiveNetAddUnionPaySchems  
201 -#define CNLiveNetAddUnionPaySchems @"CNLiveNetAddTestUnionPaySchems" // 银联支付Schems  
202 -#endif  
203 -  
204 -#define CNLiveNewAddDownloadUrl @"https://fir.im/layf"  
205 -#define ShareDarenHomeUrl @"http://apiwjj.cnlive.com/download/index.html"  
206 -#define WjjH5_Host @"http://wjjh5test.cnlive.com"  
207 -#define WjjH5_VideoChina WjjH5_Host@"/cnnews.html"  
208 -#define WjjH5_NumProduct WjjH5_Host@"/cndr.html"  
209 -  
210 -#define API_Host @"https://apiwjjtest.cnlive.com"  
211 -#define API_Contact @"https://imtest.cnlive.com"  
212 -#define API_OpenApi2 @"https://api.cnlive.com/open/api2"  
213 -#define API_Refund @"https://wjj.ys1.cnliveimg.com"  
214 -#define API_Report @"https://mobile.cnlive.com"  
215 -#define API_ThirdPay API_Host  
216 -#define API_BucketName @"mam-wjjtest-802"  
217 -#define API_PhotoUrl @"http://wjjtest.ys2.cnliveimg.com/"  
218 -#define MultipleCategory 371  
219 -#define WitnessMultipleCategory 375  
220 -#define API_Classify @"http://cmstest.cnlive.com:8768"  
221 -#define WjjLive_Host @"http://wjjh5test.cnlive.com"  
222 -  
223 -#define TIM_GetTokenUrl API_Contact@"/CnliveIM/notify/generateUserSign.action"  
224 -// 网++默认头像地址  
225 -#define CNLiveNetAddDefaultHead API_Refund@"/admin/test/head.png"  
226 -  
227 -/*微信相关参数*/  
228 -static NSString *const CNLiveWeiChatAppId_Share = @"wx9b7f9443a8ccf15a";  
229 -static NSString *const CNLiveWeiChatAppSecret_Share = @"8d9970bf2901411d8dd2bffb344f147e";  
230 -  
231 -/*腾讯相关参数*/  
232 -static NSString *const CNLiveQQShareAppId_Share = @"1106970445";  
233 -static NSString *const CNLiveQQShareAppSecret_Share = @"4hxuJ1HIes4i4hqT";  
234 -  
235 -/*shareSDK相关参数*/  
236 -static NSString *const CNLiveShareSDKAppId_Share = @"26192e9007048";  
237 -static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a716340363c7";  
238 -  
239 -  
240 -#pragma mark - 测试个人/企业开关  
241 -#define IPA_APPSTORE 1 ////1: 个人版 0:企业版  
242 -  
243 -#if IPA_APPSTORE  
244 -//测试个人版  
245 -////////////////////////////////////////////////////////  
246 -//////////// AppConfig  
247 -////////////////////////////////////////////////////////  
248 -//个人版 com.cnlive.CNLiveNetAdd.debug  
249 -#ifndef AppId  
250 -#define AppId @"802_jhlqbq4475"  
251 -#endif  
252 -#ifndef APPKey  
253 -#define APPKey @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"  
254 -#endif  
255 -#ifndef AppSecret  
256 -#define AppSecret @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"  
257 -#define DisplayName @"网家家测试"  
258 -#endif  
259 -  
260 -  
261 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd.debug"  
262 -  
263 -////////////////////////////////////////////////////////  
264 -//////////// IM推送证书相关  
265 -////////////////////////////////////////////////////////  
266 -#if DEBUG  
267 -#define IM_Cer_busiId 12450 //9246已过期  
268 -#else  
269 -#define IM_Cer_busiId 12451 //9247已过期  
270 -#endif  
271 -  
272 -////////////////////////////////////////////////////////  
273 -//////////// 高德地图Key  
274 -////////////////////////////////////////////////////////  
275 -#define GDApiKey @"4b15525f4265edfed8dce1d02f08a893"  
276 -  
277 -////////////////////////////////////////////////////////  
278 -//////////// 百度身份证识别  
279 -////////////////////////////////////////////////////////  
280 -#define BDAppId @"14435697"  
281 -#define BDAppKey @"3LqIXy2AtXxrxyFM8N73QGYN"  
282 -#define BDSecret @"EKZxZza8purqGHOmngkMi7awtZkm0lOW"  
283 -  
284 -////////////////////////////////////////////////////////  
285 -//////////// 听云  
286 -////////////////////////////////////////////////////////  
287 -/*听云AppKey*/ //URL Scheme: tingyun.33185  
288 -static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";  
289 -  
290 -#else  
291 -//测试企业版  
292 -//企业版 com.cnlive.CNLiveNetAddInHouse.debug  
293 -#ifndef AppId  
294 -#define AppId @"802_jhbqccxw08"  
295 -#endif  
296 -#ifndef APPKey  
297 -#define APPKey @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f"  
298 -#endif  
299 -#ifndef AppSecret  
300 -#define AppSecret @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"  
301 -#define DisplayName @"网家家测试版"  
302 -#endif  
303 -  
304 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse.debug"  
305 -  
306 -//企业证书id  
307 -#if DEBUG  
308 -#define IM_Cer_busiId 9204  
309 -#else  
310 -#define IM_Cer_busiId 9205  
311 -#endif  
312 -  
313 -////////////////////////////////////////////////////////  
314 -//////////// 高德地图Key  
315 -////////////////////////////////////////////////////////  
316 -#define GDApiKey @"f4459435f1c756d2efedc6ceec12be63"  
317 -  
318 -////////////////////////////////////////////////////////  
319 -//////////// 百度身份证识别  
320 -////////////////////////////////////////////////////////  
321 -#define BDAppId @"14435716"  
322 -#define BDAppKey @"4foSD6VBILQ61olzmVAFEVGZ"  
323 -#define BDSecret @"VEuz92EVrmEVrrgTZKxYo4ApUkol7Ptk"  
324 -  
325 -////////////////////////////////////////////////////////  
326 -//////////// 听云  
327 -////////////////////////////////////////////////////////  
328 -/*听云AppKey*/ //URL Scheme: tingyun.33185  
329 -static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";  
330 -  
331 -#endif  
332 -  
333 -#endif  
334 -  
335 -  
336 -#endif /* CNEnvironmentHeader_h */  
CNLiveEnvironmentConfiguration/Classes/DebugPersonal/NetworkAPIs.h deleted 100644 → 0
1 -//  
2 -// NetworkAPIs.h  
3 -// CNLiveNetAdd  
4 -//  
5 -// Created by iOS on 2018/1/24.  
6 -// Copyright © 2018年 cnlive. All rights reserved.  
7 -//  
8 -  
9 -#ifndef NetworkAPIs_h  
10 -#define NetworkAPIs_h  
11 -#import "CNEnvironmentHeader.h"  
12 -  
13 -//上传手机通讯录和 生成订单二维码时,DES加密key  
14 -#define kUploadContactsKey @"cnliveIm"  
15 -  
16 -#define iUploadContacts API_Contact@"/CnliveIM/notify/uploadContacts.action"  
17 -//其他投诉  
18 -static NSString *const CNLiveCNReporthtml = WjjH5_Host@"/cnReport.html";  
19 -  
20 -//特色群活动必要说明  
21 -static NSString *const CNActivityManageUrl = API_Refund@"/term/ActivityManagement.html";  
22 -  
23 -//特色群投票必要说明  
24 -static NSString *const CNVoteManageUrl = API_Refund@"/term/VoteManagement.html";  
25 -  
26 -//订阅号特色群活动必要说明  
27 -static NSString *const CNActivityManageSPUrl = WjjH5_Host"/cnGroupDescription.html?type=hdgl";  
28 -  
29 -//订阅号特色群投票必要说明  
30 -static NSString *const CNVoteManageSPUrl = WjjH5_Host"/cnGroupDescription.html?type=tp";  
31 -  
32 -//获取生活号列表  
33 -static NSString *const CNGetLifeSubsUrl = API_Host@"/Daren/sub/getLifeSubs.action";  
34 -  
35 -//获取达人号列表  
36 -static NSString *const CNGetDarenSubsUrl = API_Host @"/Daren/sub/getDarenSubs.action";  
37 -  
38 -//达人号列表删除某达人  
39 -static NSString *const CNDarenSubsDeleteDarenUrl = API_Host@"/Daren/sub/deleteDarenSubs.action";  
40 -  
41 -//添加某个收藏  
42 -static NSString *const CNDarenSubsCollectionUrl = API_Host@"/Daren/stock/collection.action";  
43 -  
44 -//收藏界面删除某个收藏  
45 -static NSString *const CNDarenSubsDeleteCollectionUrl = API_Host@"/Daren/stock/deleteCollection.action";  
46 -  
47 -//达人主页  
48 -static NSString *const CNDarenHomeUrl = API_Host@"/Daren/sub/getDarenHome.action";  
49 -  
50 -//获取收藏结果详情  
51 -static NSString *const CNDarenCollectListDataSourceUrl = API_Host@"/Daren/stock/getCollectionList.action";  
52 -  
53 -//生活号主页  
54 -static NSString *const CNLifeHomeUrl = API_Host@"/Daren/sub/getLifeHome.action";  
55 -  
56 -//删除生活号  
57 -static NSString *const CNLiveLifeDeleteUrl = API_Host@"/Daren/sub/deleteLifeSubs.action";  
58 -  
59 -//通过手机号查找好友  
60 -static NSString *const CNSearchByPhoneNumUrl = API_Contact@"/CnliveIM/notify/searchByPhoneNumber.action";  
61 -  
62 -  
63 -//获取已关注的达人列表  
64 -static NSString *const CNGetDarensUrl = API_Host@"/Daren/sub/getDarens.action";  
65 -  
66 -//获取达人的粉丝列表  
67 -static NSString *const CNGetFansUrl = API_Host@"/Daren/sub/getFans.action";  
68 -  
69 -//评价列表  
70 -static NSString *const CNGetDarenCommentUrl = API_Host@"/Daren/hudong/getDarenComment.action";  
71 -  
72 -//获取达人相关信息  
73 -static NSString *const CNGetDarenByIdUrl = API_Host@"/Daren/member/getDarenById.action";  
74 -  
75 -#pragma mark -  
76 -#pragma mark - 定义消息  
77 -//发送自定义消息  
78 -static NSString *const CNFriendshipVerifyUrl = API_Contact@"/CnliveIM/notify/custMsgPush.action";  
79 -//音视频自定义消息  
80 -static NSString *const CNVideoOrAudioUrl = API_Contact@"/CnliveIM/notify/custMsgPush.action";  
81 -  
82 -//音视频取得房间号  
83 -static NSString *const CNVideoOrAudioGetRoomID = API_Host@"/Daren/common/getRoomId.action";  
84 -  
85 -//发送文本消息  
86 -static NSString *const CNTextMsgPushUrl = API_Contact@"/CnliveIM/notify/textMsgPush.action";  
87 -  
88 -//生成二维码  
89 -static NSString *const CNGenOrResetCodeUrl = API_Host@"/Daren/qrcode/genOrResetQrCode.action";  
90 -//撤回消息  
91 -static NSString *const CNRevokebatchsendmsg = API_Contact@"/CnliveIM/notify/revokeBatchSendMsg.action";  
92 -//检验二维码  
93 -static NSString *const CNCheckOrNewCodeUrl = API_Host@"/Daren/qrcode/checkQrCode.action";  
94 -//扫码支付生成订单  
95 -static NSString *const CNCheckAddOrderForDarenUrl =API_Host@"/Daren/order/addOrder.action";  
96 -//目击者  
97 -static NSString *const CNChecksigninfoDarenUrl = API_Host@"/Daren/sign/checkSignInfo.action";  
98 -//扫码返回活动地址  
99 -static NSString *const CNCheckQrActivityDarenUrl = API_Host@"/Daren/sign/checkQrActivity.action";  
100 -  
101 -//获取Gif表情包列表  
102 -static NSString *const CNGifFaceShopListUrl = API_Host@"/Daren/section/getSectionList.action";  
103 -//获取一个表情包信息  
104 -static NSString *const CNGetGifFacePackageUrl = API_Host@"/Daren/section/getSectionDetail.action";  
105 -  
106 -#pragma mark -  
107 -#pragma mark - 地址管理相关  
108 -//添加联系人  
109 -static NSString *const CNAddContactUrl = API_Host@"/Daren/contact/addContact.action";  
110 -  
111 -//查询联系人  
112 -static NSString *const CNReadContacstUrl = API_Host@"/Daren/contact/readContacts.action";  
113 -  
114 -//删除联系人  
115 -static NSString *const CNDeleteContacstUrl = API_Host@"/Daren/contact/deleteContact.action";  
116 -  
117 -//更新联系人  
118 -static NSString *const CNUpdateContacstUrl = API_Host@"/Daren/contact/updateContact.action";  
119 -  
120 -  
121 -#pragma mark -  
122 -#pragma mark - 订单相关  
123 -//取消订单  
124 -static NSString *const CNOrderCancelUrl = API_Host@"/Daren/order/cancelOrder.action";  
125 -  
126 -//订单有误  
127 -static NSString *const CNOrderErrorUrl = API_Host@"/Daren/order/correctOrder.action";  
128 -  
129 -//查看订单  
130 -static NSString *const CNOrderCheckUrl = API_Host@"/Daren/order/getOrderItem.action";  
131 -  
132 -//生成订单  
133 -static NSString *const CNOrderCreateUrl = API_Host@"/Daren/order/createOrder.action";  
134 -  
135 -//修改订单  
136 -static NSString *const CNOrderModifyUrl = API_Host@"/Daren/order/modifyOrder.action";  
137 -  
138 -//确认订单  
139 -static NSString *const CNOrderConfirmUrl = API_Host@"/Daren/order/confirmOrder.action";  
140 -  
141 -//获取订单详情  
142 -static NSString *const CNGetOrderDetailUrl = API_Host@"/Daren/order/getOrderItem.action";  
143 -  
144 -//根据订单状态获取订单列表  
145 -static NSString *const CNGetOrderListUrl = API_Host@"/Daren/order/getOrdersByStatus.action";  
146 -  
147 -//申请退款  
148 -static NSString *const CNApplyRefundUrl = API_Host@"/Daren/order/applyRefund.action";  
149 -  
150 -//删除订单  
151 -static NSString *const CNDeleteOrderUrl = API_Host@"/Daren/order/deleteOrder.action";  
152 -  
153 -//催单  
154 -static NSString *const CNRemindOrderUrl = API_Contact@"/CnliveIM/notify/remind.action";  
155 -  
156 -//确认收货  
157 -static NSString *const CNConfirmRecvUrl = API_Host@"/Daren/order/confirmRecv.action";  
158 -  
159 -//评价  
160 -static NSString *const CNCommentDarenUrl = API_Host@"/Daren/hudong/commentDaren.action";  
161 -  
162 -//退款原因  
163 -static NSString *const CNRefunfReasonUrl = API_Refund@"/json/refundReason.json";  
164 -  
165 -  
166 -#pragma mark - 发布  
167 -  
168 -//发布视频 短视频接入点播云接口  
169 -static NSString *const CNPublishVideoUrl = API_OpenApi2@"/vod_epg/svInputMamForAPP";  
170 -  
171 -//发布视频 短视频上传获取bucket接口(七牛)  
172 -static NSString *const CNUploadGetBucketUrl = API_OpenApi2@"/storage/getStorageInfo";  
173 -  
174 -//发布图片,上传鉴权接口(七牛)  
175 -static NSString *const CNUploadAuthForApp = API_OpenApi2@"/vod_epg/getUploadAuthForApp";  
176 -  
177 -//上传视频成功的回调url  
178 -static NSString *const CNStockDarenVideoCallBackUrl = API_Host@"/Daren/stock/stockDarenVideo.action";  
179 -  
180 -//发布获取上冰雪banner url  
181 -static NSString *const CNPublishGetSnowBannerUrl = API_Host@"/Daren/snow/getSnowBanner.action";  
182 -  
183 -  
184 -#pragma mark - 检验群公告敏感词  
185 -  
186 -static NSString *const CNCheckFeaturedGroup = API_Host@"/Daren/announcementCheck/checkFeaturedGroup.action";  
187 -  
188 -#pragma mark - 特色群组活动管理  
189 -//获取群组活动收费记录  
190 -static NSString *const CNActiveGroupFundsRecordsUrl = API_Host@"/Daren/groupManagement/groupFundsRecords.action";  
191 -  
192 -//获取投票详情  
193 -static NSString *const CNGetVoteMsgSourceUrl = API_Host@"/Daren/vote/getVoteMsg.action";  
194 -  
195 -//获取收费详情  
196 -static NSString *const CNQueryActivityFeeSourceUrl = API_Host@"/Daren/groupManagement/queryActivityFee.action";  
197 -  
198 -//历任群主列表  
199 -static NSString *const CNGetSuccessiveGroupListUrl = API_Host@"/Daren/groupManagement/getSuccessiveGroupList.action";  
200 -  
201 -//获取投票记录的列表  
202 -static NSString *const CNGetVotesSourceListUrl = API_Host@"/Daren/vote/getVotes.action";  
203 -  
204 -//拉起支付并做定点预处理  
205 -static NSString *const CNPayByGroupMembersUrl = API_Host@"/Daren/groupManagement/payByGroupMembers.action";  
206 -  
207 -//获取支付状态  
208 -static NSString *const CNCheckPaymentSourceUrl = API_Host@"/Daren/groupManagement/checkPayment.action";  
209 -  
210 -//投票  
211 -static NSString *const CNGroupVoteSourceUrl = API_Host@"/Daren/vote/groupVote.action";  
212 -  
213 -//删除投票  
214 -static NSString *const CNStopVoteSourceUrl = API_Host@"/Daren/vote/stopVote.action";  
215 -  
216 -//获取提现的秘钥获取  
217 -static NSString *const CNGetCurrentKeySourceUrl = API_Host@"/Daren/groupManagement/getCurrentKey.action";  
218 -  
219 -//验证秘钥的发送  
220 -static NSString *const CNSendSecretKeySourceUrl = API_Host@"/Daren/groupManagement/sendSecretKey.action";  
221 -  
222 -//秘钥的验证  
223 -static NSString *const CNGroupManagementCheckKeyUrl = API_Host@"/Daren/groupManagement/checkKey.action";  
224 -  
225 -//网++支付的预支付订单生成 & 网++ 余额支付  
226 -static NSString *const CNGroupWjjPayWjjPrePaySourceUrl = API_Host@"/Daren/wjjPay/unifiedOrder.action";  
227 -  
228 -//网++ 余额支付  
229 -static NSString *const CNGroupWjjPayWjjSourceUrl = API_Host@"/Daren/wjjPay/unifiedPay.action";  
230 -  
231 -//返回公钥&随机AESKey  
232 -static NSString *const CNGroupReturnEncryptKeyUrl = API_Host@"/Daren/wjjPay/getKey.action";  
233 -  
234 -//获取分享下载的地址  
235 -static NSString *const CNShareDownloadSourceUrl = API_Host@"/Daren/common/appDownLoadUrl.action";  
236 -  
237 -//获取分享达人主页的地址  
238 -static NSString *const CNShareDarenHomeSourceUrl = API_Host@"/Daren/common/shareDarenHomePage.action";  
239 -  
240 -//扫码获取棉花糖信息  
241 -static NSString *const CNOrderMHTSourceUrl = API_Host@"/Daren/order/addOrderMHT.action";  
242 -  
243 -//订阅号特色群群组转账状态查询  
244 -static NSString *const CNQueryTransferUrl = API_Host@"/Daren/groupManagement/getQueryTransfer.action";  
245 -  
246 -#pragma mark -  
247 -#pragma mark - 朋友圈  
248 -//发布上冰雪图文  
249 -static NSString *const CNPublishSnowUrl = API_Host@"/Daren/snow/releaseSnow.action";  
250 -  
251 -//发布朋友圈  
252 -static NSString *const CNPublishFriendsCircleUrl = API_Host@"/Daren/moment/releaseMoment.action";  
253 -// 选择圈子  
254 -static NSString *const CNGetPublishTypeListUrl = API_Host@"/Daren/publishType/getPublishTypeList.action";  
255 -  
256 -//目击者发布朋友圈  
257 -static NSString *const CNPublishWintessCircleUrl = API_Host@"/Daren/witness/releaseWitness.action";  
258 -//获取朋友圈内容  
259 -static NSString *const CNGetFriendsCircleContentUrl = API_Host@"/Daren/moment/friendMoment.action";  
260 -  
261 -//获取我的朋友圈内容(我的发布记录)  
262 -static NSString *const CNGetMyCircleContentUrl = API_Host@"/Daren/moment/myMoment.action";  
263 -  
264 -//朋友圈评论或回复  
265 -static NSString *const CNFirendsCircleCommentReplyUrl = API_Host@"/Daren/hudong/commentMoment.action";  
266 -  
267 -//删除朋友圈评论  
268 -static NSString *const CNFirendsCircleCommentDeleteUrl = API_OpenApi2@"/commentServices/services/commentForChat/delete";  
269 -  
270 -//删除好友时,调用接口  
271 -static NSString *const CNDeleteFriendUrl = API_Host@"/Daren/sub/deleteFriend.action";  
272 -  
273 -//删除我的朋友圈某条内容  
274 -static NSString *const CNDeleteMyMomentItemUrl = API_Host@"/Daren/moment/deleteMyMoment.action";  
275 -  
276 -//删除我的相关收藏  
277 -static NSString *const CNDeleteMyCollectionItemUrl = API_Host@"/Daren/stock/collection.action";  
278 -  
279 -//读取朋友圈某条动态的评论(含回复)  
280 -static NSString *const CNGetMomentAllCommontUrl = API_OpenApi2@"/commentServices/services/commentForChat/readAll";  
281 -  
282 -//读取朋友圈某条动态的点赞列表  
283 -static NSString *const CNGetMomentAllFavoriteUrl = API_OpenApi2@"/support/readAll";  
284 -  
285 -//读取朋友圈某条动态的点赞列表(新接口)  
286 -static NSString *const CNGetMomentAllNEWFavoriteUrl = API_OpenApi2@"/support/loadSupport";  
287 -  
288 -//朋友圈某条动态点赞  
289 -static NSString *const CNFavoriteMomentUrl = API_Host@"/Daren/moment/praiseMoment.action";  
290 -  
291 -////获取朋友圈新消息数量  
292 -//static NSString *const CNGetMomentNewMsgCountUrl = API_Host@"/Daren/moment/getNewMsg.action";  
293 -  
294 -//获取朋友圈新消息详细  
295 -static NSString *const CNGetMomentNewMsgListUrl = API_Host@"/Daren/moment/getNewMsgList.action";  
296 -  
297 -//获取朋友圈记录详情  
298 -static NSString *const CNGetMomentDetailUrl = API_Host@"/Daren/moment/getMomentDetail.action";  
299 -  
300 -//清空新消息  
301 -static NSString *const CNDeleteNewMsgUrl = API_Host@"/Daren/moment/deleteNewMsg.action";  
302 -  
303 -//个人资料相册  
304 -static NSString *const CNLookUpMyMsgCommontUrl = API_Host@"/Daren/moment/lookUpMyMsg.action";  
305 -  
306 -#pragma mark -  
307 -#pragma mark - 分类  
308 -//分类频道(旧)  
309 -//static NSString *const CNCategoryGetChannelUrl = API_Host@"/Daren/center/getChannel.action";  
310 -//分类频道(新)  
311 -static NSString *const CNCategoryGetChannelUrl = API_Classify@"/contentApi/app";  
312 -//分类首页(旧 18.5.28)  
313 -//static NSString *const CNCategoryCenterPageUrl = API_Host@"/Daren/center/getCenterPage.action";  
314 -//分类首页(新)  
315 -static NSString *const CNCategoryCenterPageUrl = API_Host@"/Daren/classify/getNewCenterPage.action";  
316 -  
317 -//分类次级页面-达人列表  
318 -static NSString *const CNGetDarensByCategoryUrl = API_Host@"/Daren/classify/getNewDarensByCategory.action";  
319 -//static NSString *const CNGetDarensByCategoryUrl = API_Host@"/Daren/center/getDarensByCategory.action";  
320 -  
321 -//分类次级页面-已关注达人列表  
322 -static NSString *const CNGetDarensAlreadyUrl = API_Host@"/Daren/classify/getDarenList.action";  
323 -//分类次级页面-未关注达人列表  
324 -static NSString *const CNGetDarensNeverUrl = API_Host@"/Daren/classify/getUnFansOrDarenBean.action";  
325 -// 关注达人  
326 -static NSString *const CNAddDarenSubUrl = API_Host@"/Daren/sub/addDarenSub.action";  
327 -// 取消关注  
328 -static NSString *const CNCancelDarenSubUrl = API_Host@"/Daren/sub/cancelDarenSub.action";  
329 -//分类-搜索  
330 -static NSString *const CNCategorySearchDarenUrl = API_Host@"/Daren/search/searchDaren.action";  
331 -//点播-获取评论列表  
332 -static NSString *const CNGetCommentListUrl = API_OpenApi2@"/commentServices/services/commentForHdBySpId/loadComment";  
333 -//点播-评论一条节目  
334 -static NSString *const CNCommentProgrammaUrl = API_OpenApi2@"/commentServices/commentForHdBySpId/insertComment";  
335 -//点播-点赞一条节目  
336 -static NSString *const CNPraiseProgrammaUrl = API_OpenApi2@"/commentServices/commentForHdBySpId/praiseComment";  
337 -  
338 -#pragma mark - 听见中国  
339 -//获取音频播放详情  
340 -static NSString *const CNAudioPlayerDetailUrl = API_Classify@"/playApi/play";  
341 -//获取音频播放列表  
342 -static NSString *const CNAlbumAudioListUrl = API_Classify@"/contentApi/albumAudioList";  
343 -//播放进度回调  
344 -static NSString *const CNAudioRecordScheduleUrl = API_Classify@"/recordApi/end";  
345 -//历史记录列表  
346 -static NSString *const CNAudioPastRecordsUrl = API_Classify@"/recordApi/getRecords";  
347 -//删除历史记录列表  
348 -static NSString *const CNAudioDeletePastRecordsUrl = API_Classify@"/recordApi/delete";  
349 -// 简介列表  
350 -static NSString *const CNAlbumMsgUrl = API_Classify@"/contentApi/getAlbumMsg";  
351 -//节目列表  
352 -static NSString *const CNAlbumListUrl = API_Classify@"/contentApi/albumAudioList";  
353 -#pragma mark -  
354 -#pragma mark - 点播  
355 -//视频点播  
356 -static NSString *const CNVideoDemandUrl = API_Classify@"/playApi/play";  
357 -//查看全部  
358 -static NSString *const CNLookAtAllUrl = API_Classify@"/playApi/moreList";  
359 -  
360 -static NSString *const CNCommentsListUrl = API_OpenApi2@"/commentServices/services/commentForChat/loadComment";  
361 -static NSString *const CNCommentsAddUrl = API_OpenApi2@"/commentServices/services/commentForChat/insert";  
362 -static NSString *const CNCommentsDeleteUrl = API_OpenApi2@"/commentServices/services/commentForChat/delete";  
363 -  
364 -  
365 -//帮助与反馈上传反馈信息&图片  
366 -static NSString *const CNUpdateFeedbackUrl = API_Host@"/Daren/feedback/collectFeedback.action";  
367 -//检查扫描结果是否有效  
368 -static NSString *const CNCheckQrCodeUrl = API_Host@"/Daren/qrcode/checkQrCodeUrl.action";  
369 -  
370 -// Native 分类  
371 -// 获取所有频道列表  
372 -static NSString *const CNAllChannelList = @"http://intertv.cnlive.com/zgw/api/channellist";  
373 -//App配置信息  
374 -static NSString *const AppStart = @"http://intertv.cnlive.com/zgw/api/appstart";  
375 -  
376 -#pragma mark -  
377 -#pragma mark - 申请目击者  
378 -// 目击者身份信息申请  
379 -static NSString *const CNApplyWitnessUrl = API_Host@"/Daren/witness/applyWitness.action";  
380 -// 目击者身份校验  
381 -static NSString *const CNCheckWitnessUrl = API_Host@"/Daren/witness/checkWitness.action";  
382 -//获取订阅号主页内容  
383 -static NSString *const CNGetSpHomePageInfoUrl = API_Classify"/contentApi/getSpInfo";  
384 -//获取订阅号分页内容  
385 -static NSString *const CNGetSpContentListUrl = API_Classify"/contentApi/getSpContentList";  
386 -//关注订阅号  
387 -static NSString *const CNGetSpAddFollowsUrl = API_Host@"/Daren/group/addFollows.action";  
388 -//取消关注订阅号  
389 -static NSString *const CNGetSpUserCancelFollowUrl = API_Host@"/Daren/group/userCancelFollow.action";  
390 -//加入群聊  
391 -static NSString *const CNGetSpUserAddGroupUrl = API_Host@"/Daren/group/userAddGroup.action";  
392 -//获取全部粉丝  
393 -static NSString *const CNGetSPAllFansUrl = API_Host@"/Daren/group/getFans.action";  
394 -//订阅号加入群聊  
395 -static NSString *const CNGetUserAddGroupUrl = API_Host@"/Daren/group/userAddGroup.action";  
396 -#pragma mark -  
397 -#pragma mark - 我的  
398 -// 用户uid检测达人状态  
399 -static NSString *const CNCheckDarenUrl = API_Host@"/Daren/member/checkDaren.action";  
400 -// 获取我的余额  
401 -static NSString *const CNGetBalanceUrl = API_Host@"/Daren/member/getBalance.action";  
402 -// 获取交易记录  
403 -static NSString *const CNGetTradingRecordUrl = API_Host@"/Daren/transaction/getTransactionRecord.action";  
404 -// 获取与商户的交易记录  
405 -static NSString *const CNViewTransferRecordUrl = API_Host@"/Daren/groupManagement/viewTransferRecord.action";  
406 -// 交易记录详情  
407 -static NSString *const CNGetRecordSourceMsgUrl = API_Host@"/Daren/transaction/getRecordSourceDetail.action";  
408 -// 是否有支付密码  
409 -static NSString *const CNPasswordIsExistingUrl = API_Host@"/Daren/wjjPay/passwordIsExisting.action";  
410 -// 设置支付密码  
411 -static NSString *const CNSetPasswordUrl = API_Host@"/Daren/wjjPay/setPassword.action";  
412 -// 更改密码时发送验证码  
413 -static NSString *const CNSendSMSSetPasswordUrl = API_Host@"/Daren/sms/sendSMS.action";  
414 -// 更改密码时验证验证码  
415 -static NSString *const CNCheckVerifyCodeSetPasswordUrl = API_Host@"/Daren/sms/checkVerifyCode.action";  
416 -// 查看是否允许好友查看生活圈的状态  
417 -static NSString *const CNIsAllowFindStrangerSwitchUrl = API_Host@"/Daren/moment/findStrangerSwitch.action";  
418 -// 切换是否允许好友查看生活圈  
419 -static NSString *const CNSwitchAllowStrangerUrl = API_Host@"/Daren/moment/strangerSwitch.action";  
420 -  
421 -#pragma mark - 积分  
422 -static NSString *const CNIntegralGetTasksUrl = API_Host@"/Daren/integral/getTasks.action";//任务列表  
423 -static NSString *const CNIntegralAddUrl = API_Host@"/Daren/integral/addTask.action";//增加积分  
424 -static NSString *const CNIntegralDetailsUrl = API_Host@"/Daren/integral/integralRecord.action";//积分明细  
425 -static NSString *const CNIntegralSignInUrl = API_Host@"/Daren/integral/checkIn.action";//签到  
426 -static NSString *const CNCancellationUrl = API_Host@"/Daren/common/cancellationAccount.action";//注销账号  
427 -  
428 -#pragma mark - 隐私  
429 -static NSString *const CNPrivacyNoLetHimSeeListUrl = API_Host@"/Daren/moment/getDoNotletFsids.action";//不让他看列表  
430 -static NSString *const CNPrivacyNoSeeHimListUrl = API_Host@"/Daren/moment/getNoLookFsids.action";//不看他列表  
431 -static NSString *const CNPrivacyNoLetHimSeeAddUrl = API_Host@"/Daren/moment/addDoNotletFsids.action";//不让他看增加  
432 -static NSString *const CNPrivacyNoSeeHimAddUrl = API_Host@"/Daren/moment/addNoLookFsids.action";//不看他增加  
433 -  
434 -#pragma mark - 订阅号  
435 -//选择你感兴趣的内容  
436 -static NSString *const CNInterestedContentUrl = API_Host@"/Daren/group/getSpTags.action";  
437 -//推荐订阅号  
438 -static NSString *const CNRecommendedSubscribeUrl = API_Host@"/Daren/group/getSubscriptionNumbers.action";  
439 -//推荐订阅号完成  
440 -static NSString *const CNRecommendedSubscribeFinishUrl = API_Host@"/Daren/group/userFollowAddGroup.action";  
441 -//全部订阅号(不传sid)  
442 -static NSString *const CNAllSubscribeUrl = API_Host@"/Daren/group/getMoreSubscriptionNumbers.action";  
443 -//全部订阅号(传sid)  
444 -static NSString *const CNAllSubscribeSidUrl = API_Host@"/Daren/group/getCategorySubscriptionNumbers.action";  
445 -//关注订阅号  
446 -static NSString *const CNAddAttentionSubscribeUrl = API_Host@"/Daren/group/addFollows.action";  
447 -//取消关注订阅号  
448 -static NSString *const CNCancelAttentionSubscribeUrl = API_Host@"/Daren/group/userCancelFollow.action";  
449 -//加入群聊订阅号  
450 -static NSString *const CNJumpGroupSubscribeUrl = API_Host@"/Daren/group/userAddGroup.action";  
451 -//设置默认订阅号  
452 -static NSString *const CNSubscribeDefaultAddFollowsUrl = API_Host@"/Daren/group/defaultAddFollows.action";  
453 -  
454 -#pragma mark - App配置信息  
455 -// 获取最新版本信息  
456 -static NSString *const CNGetNewestVersionUrl = API_Host@"/Daren/common/getNewestVersion.action";  
457 -// 获取App配置信息(统一)  
458 -static NSString *const CNGetCommonMsgUrl = API_Host@"/Daren/common/getCommonMsg.action";  
459 -  
460 -#pragma mark 活动投票  
461 -//创建活动收费  
462 -static NSString *const CNAddGroupCharge = API_Host@"/Daren/groupManagement/addGroupCharge.action";  
463 -//邀请加群  
464 -static NSString *const CNInvitationAddgroup = API_Host@"/Daren/groupManagement/invitationAddGroup.action";  
465 -//获取通知列表  
466 -static NSString *const CNGetnoticesubs = API_Host@"/Daren/sub/getNoticeSubs.action";  
467 -// 同意加入群  
468 -static NSString *const CNAgreeAddgroup = API_Contact@"/CnliveIM/notify/addGroup.action"; //@"https://wjjim.cnlive.com/CnliveIM/notify/addGroup.action"  
469 -// 创建投票  
470 -static NSString *const CNAddvote = API_Host@"/Daren/vote/addVote.action";  
471 -//储存历任群主,再特色群创建和转让群主的时候创建  
472 -static NSString *const CNSavesuccessivegroup = API_Host@"/Daren/groupManagement/saveSuccessiveGroup.action";  
473 -  
474 -static NSString *const CNGetAgreementH5Url = API_Refund@"/json/wjj_user_terms.json";  
475 -  
476 -static NSString *const CNWeChatPayUrl = API_ThirdPay@"/Daren/pay/notifyWeChatPay.action";  
477 -  
478 -static NSString *const CNAliPayUrl = API_ThirdPay@"/Daren/pay/notifyAliPay.action";  
479 -  
480 -static NSString *const CNUnionPayUrl = API_ThirdPay@"/Daren/pay/notifyUnionPay.action";  
481 -  
482 -static NSString *const CNJSFYNotifyUrl = API_ThirdPay@"/Daren/pay/jsfyPayCallback.action";  
483 -  
484 -//获取特色群限制人数  
485 -static NSString *const CNGroupMemberLimit = @"https://wjj.ys1.cnliveimg.com/json/GroupMemberLimit.json";  
486 -  
487 -#pragma mark -  
488 -#pragma mark - 获取观察者相关  
489 -//获取观察者相关数据  
490 -static NSString *const CNWitnessPublishContent = API_Host@"/Daren/witness/getWitnessPublishContent.action";  
491 -  
492 -//删除观察者相关数据  
493 -static NSString *const CNDeleteOrUpdateWitnessURL = API_Host@"/Daren/witness/deleteOrUpdateWitnessPublish.action";  
494 -  
495 -#pragma mark 直播  
496 -  
497 -//取得相关视频  
498 -static NSString *const CNPlayerBackOrRelatedUrl = API_Classify@"/contentApi/playList";  
499 -  
500 -//取得直播数据  
501 -static NSString *const CNPlayerDetailUrl = API_Classify@"/playApi/play";  
502 -  
503 -//预约  
504 -static NSString *const CNPlayerOrderUrl = API_Classify@"/contentApi/liveAppoint";  
505 -  
506 -//获取直播活动播放信息4App  
507 -static NSString *const CNLiveActivityPlayInfo4App = API_OpenApi2@"/live_epg/getLiveActivityPlayInfo4App";  
508 -//获取直播间详情  
509 -static NSString *const CNLiveRoomInfo = API_Classify@"/playApi/play";  
510 -  
511 -static NSString *const CNNewLiveInfoWeb = API_Classify@"/contentApi/";  
512 -  
513 -//获取点播播放信息  
514 -static NSString *const CNLiveGetVodRates = API_OpenApi2@"/vod_epg/getRates";  
515 -  
516 -//活动举报  
517 -static NSString *const CNLiveActivityReportContent = API_Report@"/CnliveMobile/json/report.action";  
518 -  
519 -//订阅号关注  
520 -static NSString *const CNLiveSPAddFollow = API_Host@"/Daren/group/addFollows.action";  
521 -  
522 -//取消订阅号关注  
523 -static NSString *const CNLiveSPCancelFollow = API_Host@"/Daren/group/userCancelFollow.action";  
524 -  
525 -//订阅号取消管制  
526 -  
527 -  
528 -#pragma mark 黑名单  
529 -//校验黑名单  
530 -static NSString *const CNCheckBlackUser = API_Contact@"/CnliveIM/notify/checkBlackList.action";  
531 -//添加黑名单  
532 -static NSString *const CNBlackListAdd = API_Host@"/Daren/blackList/blackListAdd.action";  
533 -//删除黑名单  
534 -static NSString *const CNBlackListDelete = API_Host @"/Daren/blackList/blackListDelete.action";  
535 -//黑名单列表  
536 -static NSString *const CNBlackList = API_Host@"/Daren/blackList/blackListGet.action";  
537 -  
538 -#pragma mark 好友生活圈观看权限设置  
539 -//增加不让他人看  
540 -static NSString *const CNAdddonotletfsids = API_Host@"/Daren/moment/addDoNotletFsids.action";  
541 -//取消不让他人看  
542 -static NSString *const CNDeldonotletfsids = API_Host@"/Daren/moment/delDoNotletFsids.action";  
543 -//不让他看人列表  
544 -static NSString *const CNGetdonotletfsids = API_Host@"/Daren/moment/getDoNotletFsids.action";  
545 -  
546 -//增加不看他的  
547 -static NSString *const CNAddnolookfsids = API_Host@"/Daren/moment/addNoLookFsids.action";  
548 -//取消不看他的  
549 -static NSString *const CNDelnolookfsids = API_Host@"/Daren/moment/delNoLookFsids.action";  
550 -//不看他的列表  
551 -static NSString *const CNGetnolookfsids = API_Host@"/Daren/moment/getNoLookFsids.action";  
552 -//  
553 -////////////////////////////////////////////////////////  
554 -//////////// 数据库---表名  
555 -////////////////////////////////////////////////////////  
556 -  
557 -//达人个人主页表名  
558 -static NSString *const DarenHomeRealm = @"DarenHome";  
559 -  
560 -//达人列表表名  
561 -static NSString *const DarenSubsRealm = @"DarenSubs";  
562 -  
563 -//生活列表表名  
564 -static NSString *const LifeSubsRealm = @"LifeSubs";  
565 -  
566 -//系统订单列表表名  
567 -static NSString *const LifeHomeRealm = @"LifeHome";  
568 -  
569 -//朋友圈新消息表名  
570 -static NSString *const MomentNewMsgRealm = @"MomentNewMsg";  
571 -  
572 -#endif /* NetworkAPIs_h */  
CNLiveEnvironmentConfiguration/Classes/DebugInHouse/NetworkAPIs.h renamed to CNLiveEnvironmentConfiguration/Classes/NetworkAPIs.h
CNLiveEnvironmentConfiguration/Classes/ReleaseInHouse/CNEnvironmentHeader.h deleted 100644 → 0
1 -//  
2 -// CNEnvironmentHeader.h  
3 -// CNLiveNetAdd  
4 -//  
5 -// Created by 张旭 on 2018/5/30.  
6 -// Copyright © 2018年 cnlive. All rights reserved.  
7 -//  
8 -  
9 -#ifndef CNEnvironmentHeader_h  
10 -#define CNEnvironmentHeader_h  
11 -  
12 -/*  
13 - *网家家环境配置文件  
14 -*/  
15 -  
16 -// App Store 中 AppID 用于跳转 App Store 下载/评分  
17 -#define AppStoreAppId @"1337575478"  
18 -  
19 -// 请求查询app在App Store的上架信息  
20 -#define AppStoreAppInfo @"https://itunes.apple.com/lookup?id=1337575478"  
21 -  
22 -//// h5新闻详情中分享使用到的图片地址  
23 -//#define netAddShareImgUrl WjjH5_Host@"/static/logo.png"  
24 -//#define WjjH5Short_Host @"http://dwz.cnlive.com"  
25 -  
26 -// 正式版--测试环境com.cnlive.CNLiveNetAdd.debug 网家家测试版  
27 -// 正式版--正式环境com.cnlive.CNLiveNetAdd 网家家正式版  
28 -// 企业版--测试环境com.cnlive.CNLiveNetAddInHouse.debug 网家家测试企版  
29 -// 企业版--正式环境com.cnlive.CNLiveNetAddInHouse 网家家内测版  
30 -  
31 -#define ShowGuideView @"no" // yes:显示欢迎页 no:不显示欢迎页  
32 -  
33 -#define Environment_ON 1 // 1:正式环境平台 0:测试环境平台  
34 -  
35 -#if Environment_ON  
36 -  
37 -#pragma mark - 正式环境  
38 -//正式环境平台配置  
39 -//IMSDK相关的配置  
40 -#define kWXAccount @"wjj_app"  
41 -#define kSdkAppId @"1400051680"  
42 -#define kSdkAccountType @"19645"  
43 -  
44 -#ifndef CNLiveNetAddUrlSchems  
45 -#define CNLiveNetAddUrlSchems @"CNLiveNetAddUrlSchems" // 支付宝支付Schems  
46 -#endif  
47 -  
48 -#ifndef CNLiveNetAddUnionPaySchems  
49 -#define CNLiveNetAddUnionPaySchems @"CNLiveNetAddUnionPaySchems" // 银联支付Schems  
50 -#endif  
51 -  
52 -#define CNLiveNewAddDownloadUrl @"http://apiwjj.cnlive.com/download/index.html"  
53 -#define ShareDarenHomeUrl @"http://apiwjj.cnlive.com/daren/download.html"  
54 -#define WjjH5_Host @"http://wjjh5.cnlive.com"  
55 -#define WjjH5_VideoChina WjjH5_Host@"/cnnews.html"  
56 -#define WjjH5_NumProduct WjjH5_Host@"/cndr.html"  
57 -  
58 -#define API_Host @"https://apiwjj.cnlive.com"  
59 -  
60 -#define API_Contact @"https://wjjim.cnlive.com"  
61 -#define API_Refund @"https://wjj.ys1.cnliveimg.com"  
62 -#define API_Report @"https://mobile.cnlive.com"  
63 -#define API_ThirdPay API_Host  
64 -#define API_OpenApi2 @"https://api.cnlive.com/open/api2"  
65 -#define API_Classify @"http://cms.cnlive.com:8768"  
66 -  
67 -#define WjjLive_Host @"http://wjjh5.cnlive.com"  
68 -  
69 -#define TIM_GetTokenUrl API_OpenApi2@"/im_chat/generateUserSign"  
70 -  
71 -// 网++默认头像地址  
72 -#define CNLiveNetAddDefaultHead API_Refund@"/admin/test/head.png"  
73 -  
74 -#define API_BucketName @"mam-wjj-769"  
75 -#define API_PhotoUrl @"http://wjj.ys2.cnliveimg.com/" // 还不知道  
76 -#define MultipleCategory 366  
77 -#define WitnessMultipleCategory 370  
78 -  
79 -#pragma mark - 正式个人/企业开关  
80 -#define IPA_APPSTORE 0 ////1: App Store版 0:企业版  
81 -  
82 -#if IPA_APPSTORE  
83 -// 正式个人版  
84 -////////////////////////////////////////////////////////  
85 -//////////// AppConfig  
86 -////////////////////////////////////////////////////////  
87 -  
88 -//正式版 com.cnlive.CNLiveNetAdd  
89 -#ifndef AppId  
90 -#define AppId @"769_jetj7bq525"  
91 -#endif  
92 -#ifndef APPKey  
93 -#define APPKey @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d"  
94 -#endif  
95 -#ifndef AppSecret  
96 -#define AppSecret @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976"  
97 -#define DisplayName @"网家家"  
98 -#endif  
99 -  
100 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd"  
101 -  
102 -////////////////////////////////////////////////////////  
103 -//////////// IM推送证书相关  
104 -////////////////////////////////////////////////////////  
105 -#if DEBUG  
106 -#define IM_Cer_busiId 12452 //7307已过期  
107 -#else  
108 -#define IM_Cer_busiId 12453 //7308已过期  
109 -#endif  
110 -  
111 -////////////////////////////////////////////////////////  
112 -//////////// 高德地图Key  
113 -////////////////////////////////////////////////////////  
114 -#define GDApiKey @"5a0e2a559b987e67d5b0c13490adde02"  
115 -  
116 -////////////////////////////////////////////////////////  
117 -//////////// 百度身份证识别  
118 -////////////////////////////////////////////////////////  
119 -#define BDAppId @"14380860"  
120 -#define BDAppKey @"4bX1eK7SiCL461QBnRKilowc"  
121 -#define BDSecret @"BTzXLoPbUjlLeOM1nHnfOuTB9q18YZVq"  
122 -  
123 -////////////////////////////////////////////////////////  
124 -//////////// 听云  
125 -////////////////////////////////////////////////////////  
126 -/*听云AppKey*/ //URL Scheme: tingyun.33700  
127 -static NSString *const CNLiveTingYunAppKey = @"37c9ea3f439145269e5cffe095466b17";  
128 -#else  
129 -// 正式企业版  
130 -// 企业版 com.cnlive.CNLiveNetAddInHouse  
131 -#ifndef AppId  
132 -#define AppId @"769_jetja50p18"  
133 -#endif  
134 -#ifndef APPKey  
135 -#define APPKey @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba"  
136 -#endif  
137 -#ifndef AppSecret  
138 -#define AppSecret @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83"  
139 -#define DisplayName @"网家家"  
140 -#endif  
141 -  
142 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse"  
143 -  
144 -//企业证书id  
145 -#if DEBUG  
146 -#define IM_Cer_busiId 7346  
147 -#else  
148 -#define IM_Cer_busiId 7347  
149 -#endif  
150 -  
151 -////////////////////////////////////////////////////////  
152 -//////////// 高德地图Key  
153 -////////////////////////////////////////////////////////  
154 -#define GDApiKey @"84d765606a54635aec2648f663d4a5ed"  
155 -  
156 -////////////////////////////////////////////////////////  
157 -//////////// 百度身份证识别  
158 -////////////////////////////////////////////////////////  
159 -#define BDAppId @"14380872"  
160 -#define BDAppKey @"ibl8vbKkPVYBw5IOvR8tVGGo"  
161 -#define BDSecret @"QEd6n1qruIGG8AYkyLyqepksO2uUe0GK"  
162 -  
163 -////////////////////////////////////////////////////////  
164 -//////////// 听云  
165 -////////////////////////////////////////////////////////  
166 -/*听云AppKey*/ //URL Scheme: tingyun.33699  
167 -static NSString *const CNLiveTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c";  
168 -  
169 -#endif  
170 -  
171 -//////////////////////////////////////  
172 -///////////////// 正式平台  
173 -//////////////////////////////////////  
174 -  
175 -/*微信相关参数*/  
176 -static NSString *const CNLiveWeiChatAppId_Share = @"wxed528fc749b7ee88";  
177 -static NSString *const CNLiveWeiChatAppSecret_Share = @"729c3d3055fe336bcdef7020c2548e89";  
178 -  
179 -/*腾讯相关参数*/  
180 -static NSString *const CNLiveQQShareAppId_Share = @"1106691520";  
181 -static NSString *const CNLiveQQShareAppSecret_Share = @"kLZ8CglGFjzrJFan";  
182 -  
183 -/*shareSDK相关参数*/  
184 -static NSString *const CNLiveShareSDKAppId_Share = @"24e4abeaa92d8";  
185 -static NSString *const CNLiveShareSDKAppSecret_Share = @"da94a6f881d404092c9a7108e4470e8f";  
186 -  
187 -#else  
188 -  
189 -#pragma mark - 测试环境  
190 -////////////////////////////////////////////////////////////  
191 -// 测试环境平台配置  
192 -// IMSDK相关的配置  
193 -#define kWXAccount @"wjj_app_test"  
194 -#define kSdkAppId @"1400052101"  
195 -#define kSdkAccountType @"27313"  
196 -  
197 -#ifndef CNLiveNetAddUrlSchems  
198 -#define CNLiveNetAddUrlSchems @"CNLiveNetAddTestUrlSchems" // 支付宝支付Schems  
199 -#endif  
200 -#ifndef CNLiveNetAddUnionPaySchems  
201 -#define CNLiveNetAddUnionPaySchems @"CNLiveNetAddTestUnionPaySchems" // 银联支付Schems  
202 -#endif  
203 -  
204 -#define CNLiveNewAddDownloadUrl @"https://fir.im/layf"  
205 -#define ShareDarenHomeUrl @"http://apiwjj.cnlive.com/download/index.html"  
206 -#define WjjH5_Host @"http://wjjh5test.cnlive.com"  
207 -#define WjjH5_VideoChina WjjH5_Host@"/cnnews.html"  
208 -#define WjjH5_NumProduct WjjH5_Host@"/cndr.html"  
209 -  
210 -#define API_Host @"https://apiwjjtest.cnlive.com"  
211 -#define API_Contact @"https://imtest.cnlive.com"  
212 -#define API_OpenApi2 @"https://api.cnlive.com/open/api2"  
213 -#define API_Refund @"https://wjj.ys1.cnliveimg.com"  
214 -#define API_Report @"https://mobile.cnlive.com"  
215 -#define API_ThirdPay API_Host  
216 -#define API_BucketName @"mam-wjjtest-802"  
217 -#define API_PhotoUrl @"http://wjjtest.ys2.cnliveimg.com/"  
218 -#define MultipleCategory 371  
219 -#define WitnessMultipleCategory 375  
220 -#define API_Classify @"http://cmstest.cnlive.com:8768"  
221 -#define WjjLive_Host @"http://wjjh5test.cnlive.com"  
222 -  
223 -#define TIM_GetTokenUrl API_Contact@"/CnliveIM/notify/generateUserSign.action"  
224 -// 网++默认头像地址  
225 -#define CNLiveNetAddDefaultHead API_Refund@"/admin/test/head.png"  
226 -  
227 -/*微信相关参数*/  
228 -static NSString *const CNLiveWeiChatAppId_Share = @"wx9b7f9443a8ccf15a";  
229 -static NSString *const CNLiveWeiChatAppSecret_Share = @"8d9970bf2901411d8dd2bffb344f147e";  
230 -  
231 -/*腾讯相关参数*/  
232 -static NSString *const CNLiveQQShareAppId_Share = @"1106970445";  
233 -static NSString *const CNLiveQQShareAppSecret_Share = @"4hxuJ1HIes4i4hqT";  
234 -  
235 -/*shareSDK相关参数*/  
236 -static NSString *const CNLiveShareSDKAppId_Share = @"26192e9007048";  
237 -static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a716340363c7";  
238 -  
239 -  
240 -#pragma mark - 测试个人/企业开关  
241 -#define IPA_APPSTORE 1 ////1: 个人版 0:企业版  
242 -  
243 -#if IPA_APPSTORE  
244 -//测试个人版  
245 -////////////////////////////////////////////////////////  
246 -//////////// AppConfig  
247 -////////////////////////////////////////////////////////  
248 -//个人版 com.cnlive.CNLiveNetAdd.debug  
249 -#ifndef AppId  
250 -#define AppId @"802_jhlqbq4475"  
251 -#endif  
252 -#ifndef APPKey  
253 -#define APPKey @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"  
254 -#endif  
255 -#ifndef AppSecret  
256 -#define AppSecret @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"  
257 -#define DisplayName @"网家家测试"  
258 -#endif  
259 -  
260 -  
261 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd.debug"  
262 -  
263 -////////////////////////////////////////////////////////  
264 -//////////// IM推送证书相关  
265 -////////////////////////////////////////////////////////  
266 -#if DEBUG  
267 -#define IM_Cer_busiId 12450 //9246已过期  
268 -#else  
269 -#define IM_Cer_busiId 12451 //9247已过期  
270 -#endif  
271 -  
272 -////////////////////////////////////////////////////////  
273 -//////////// 高德地图Key  
274 -////////////////////////////////////////////////////////  
275 -#define GDApiKey @"4b15525f4265edfed8dce1d02f08a893"  
276 -  
277 -////////////////////////////////////////////////////////  
278 -//////////// 百度身份证识别  
279 -////////////////////////////////////////////////////////  
280 -#define BDAppId @"14435697"  
281 -#define BDAppKey @"3LqIXy2AtXxrxyFM8N73QGYN"  
282 -#define BDSecret @"EKZxZza8purqGHOmngkMi7awtZkm0lOW"  
283 -  
284 -////////////////////////////////////////////////////////  
285 -//////////// 听云  
286 -////////////////////////////////////////////////////////  
287 -/*听云AppKey*/ //URL Scheme: tingyun.33185  
288 -static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";  
289 -  
290 -#else  
291 -//测试企业版  
292 -//企业版 com.cnlive.CNLiveNetAddInHouse.debug  
293 -#ifndef AppId  
294 -#define AppId @"802_jhbqccxw08"  
295 -#endif  
296 -#ifndef APPKey  
297 -#define APPKey @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f"  
298 -#endif  
299 -#ifndef AppSecret  
300 -#define AppSecret @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"  
301 -#define DisplayName @"网家家测试版"  
302 -#endif  
303 -  
304 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse.debug"  
305 -  
306 -//企业证书id  
307 -#if DEBUG  
308 -#define IM_Cer_busiId 9204  
309 -#else  
310 -#define IM_Cer_busiId 9205  
311 -#endif  
312 -  
313 -////////////////////////////////////////////////////////  
314 -//////////// 高德地图Key  
315 -////////////////////////////////////////////////////////  
316 -#define GDApiKey @"f4459435f1c756d2efedc6ceec12be63"  
317 -  
318 -////////////////////////////////////////////////////////  
319 -//////////// 百度身份证识别  
320 -////////////////////////////////////////////////////////  
321 -#define BDAppId @"14435716"  
322 -#define BDAppKey @"4foSD6VBILQ61olzmVAFEVGZ"  
323 -#define BDSecret @"VEuz92EVrmEVrrgTZKxYo4ApUkol7Ptk"  
324 -  
325 -////////////////////////////////////////////////////////  
326 -//////////// 听云  
327 -////////////////////////////////////////////////////////  
328 -/*听云AppKey*/ //URL Scheme: tingyun.33185  
329 -static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";  
330 -  
331 -#endif  
332 -  
333 -#endif  
334 -  
335 -  
336 -#endif /* CNEnvironmentHeader_h */  
CNLiveEnvironmentConfiguration/Classes/ReleaseInHouse/NetworkAPIs.h deleted 100644 → 0
1 -//  
2 -// NetworkAPIs.h  
3 -// CNLiveNetAdd  
4 -//  
5 -// Created by iOS on 2018/1/24.  
6 -// Copyright © 2018年 cnlive. All rights reserved.  
7 -//  
8 -  
9 -#ifndef NetworkAPIs_h  
10 -#define NetworkAPIs_h  
11 -#import "CNEnvironmentHeader.h"  
12 -  
13 -//上传手机通讯录和 生成订单二维码时,DES加密key  
14 -#define kUploadContactsKey @"cnliveIm"  
15 -  
16 -#define iUploadContacts API_Contact@"/CnliveIM/notify/uploadContacts.action"  
17 -//其他投诉  
18 -static NSString *const CNLiveCNReporthtml = WjjH5_Host@"/cnReport.html";  
19 -  
20 -//特色群活动必要说明  
21 -static NSString *const CNActivityManageUrl = API_Refund@"/term/ActivityManagement.html";  
22 -  
23 -//特色群投票必要说明  
24 -static NSString *const CNVoteManageUrl = API_Refund@"/term/VoteManagement.html";  
25 -  
26 -//订阅号特色群活动必要说明  
27 -static NSString *const CNActivityManageSPUrl = WjjH5_Host"/cnGroupDescription.html?type=hdgl";  
28 -  
29 -//订阅号特色群投票必要说明  
30 -static NSString *const CNVoteManageSPUrl = WjjH5_Host"/cnGroupDescription.html?type=tp";  
31 -  
32 -//获取生活号列表  
33 -static NSString *const CNGetLifeSubsUrl = API_Host@"/Daren/sub/getLifeSubs.action";  
34 -  
35 -//获取达人号列表  
36 -static NSString *const CNGetDarenSubsUrl = API_Host @"/Daren/sub/getDarenSubs.action";  
37 -  
38 -//达人号列表删除某达人  
39 -static NSString *const CNDarenSubsDeleteDarenUrl = API_Host@"/Daren/sub/deleteDarenSubs.action";  
40 -  
41 -//添加某个收藏  
42 -static NSString *const CNDarenSubsCollectionUrl = API_Host@"/Daren/stock/collection.action";  
43 -  
44 -//收藏界面删除某个收藏  
45 -static NSString *const CNDarenSubsDeleteCollectionUrl = API_Host@"/Daren/stock/deleteCollection.action";  
46 -  
47 -//达人主页  
48 -static NSString *const CNDarenHomeUrl = API_Host@"/Daren/sub/getDarenHome.action";  
49 -  
50 -//获取收藏结果详情  
51 -static NSString *const CNDarenCollectListDataSourceUrl = API_Host@"/Daren/stock/getCollectionList.action";  
52 -  
53 -//生活号主页  
54 -static NSString *const CNLifeHomeUrl = API_Host@"/Daren/sub/getLifeHome.action";  
55 -  
56 -//删除生活号  
57 -static NSString *const CNLiveLifeDeleteUrl = API_Host@"/Daren/sub/deleteLifeSubs.action";  
58 -  
59 -//通过手机号查找好友  
60 -static NSString *const CNSearchByPhoneNumUrl = API_Contact@"/CnliveIM/notify/searchByPhoneNumber.action";  
61 -  
62 -  
63 -//获取已关注的达人列表  
64 -static NSString *const CNGetDarensUrl = API_Host@"/Daren/sub/getDarens.action";  
65 -  
66 -//获取达人的粉丝列表  
67 -static NSString *const CNGetFansUrl = API_Host@"/Daren/sub/getFans.action";  
68 -  
69 -//评价列表  
70 -static NSString *const CNGetDarenCommentUrl = API_Host@"/Daren/hudong/getDarenComment.action";  
71 -  
72 -//获取达人相关信息  
73 -static NSString *const CNGetDarenByIdUrl = API_Host@"/Daren/member/getDarenById.action";  
74 -  
75 -#pragma mark -  
76 -#pragma mark - 定义消息  
77 -//发送自定义消息  
78 -static NSString *const CNFriendshipVerifyUrl = API_Contact@"/CnliveIM/notify/custMsgPush.action";  
79 -//音视频自定义消息  
80 -static NSString *const CNVideoOrAudioUrl = API_Contact@"/CnliveIM/notify/custMsgPush.action";  
81 -  
82 -//音视频取得房间号  
83 -static NSString *const CNVideoOrAudioGetRoomID = API_Host@"/Daren/common/getRoomId.action";  
84 -  
85 -//发送文本消息  
86 -static NSString *const CNTextMsgPushUrl = API_Contact@"/CnliveIM/notify/textMsgPush.action";  
87 -  
88 -//生成二维码  
89 -static NSString *const CNGenOrResetCodeUrl = API_Host@"/Daren/qrcode/genOrResetQrCode.action";  
90 -//撤回消息  
91 -static NSString *const CNRevokebatchsendmsg = API_Contact@"/CnliveIM/notify/revokeBatchSendMsg.action";  
92 -//检验二维码  
93 -static NSString *const CNCheckOrNewCodeUrl = API_Host@"/Daren/qrcode/checkQrCode.action";  
94 -//扫码支付生成订单  
95 -static NSString *const CNCheckAddOrderForDarenUrl =API_Host@"/Daren/order/addOrder.action";  
96 -//目击者  
97 -static NSString *const CNChecksigninfoDarenUrl = API_Host@"/Daren/sign/checkSignInfo.action";  
98 -//扫码返回活动地址  
99 -static NSString *const CNCheckQrActivityDarenUrl = API_Host@"/Daren/sign/checkQrActivity.action";  
100 -  
101 -//获取Gif表情包列表  
102 -static NSString *const CNGifFaceShopListUrl = API_Host@"/Daren/section/getSectionList.action";  
103 -//获取一个表情包信息  
104 -static NSString *const CNGetGifFacePackageUrl = API_Host@"/Daren/section/getSectionDetail.action";  
105 -  
106 -#pragma mark -  
107 -#pragma mark - 地址管理相关  
108 -//添加联系人  
109 -static NSString *const CNAddContactUrl = API_Host@"/Daren/contact/addContact.action";  
110 -  
111 -//查询联系人  
112 -static NSString *const CNReadContacstUrl = API_Host@"/Daren/contact/readContacts.action";  
113 -  
114 -//删除联系人  
115 -static NSString *const CNDeleteContacstUrl = API_Host@"/Daren/contact/deleteContact.action";  
116 -  
117 -//更新联系人  
118 -static NSString *const CNUpdateContacstUrl = API_Host@"/Daren/contact/updateContact.action";  
119 -  
120 -  
121 -#pragma mark -  
122 -#pragma mark - 订单相关  
123 -//取消订单  
124 -static NSString *const CNOrderCancelUrl = API_Host@"/Daren/order/cancelOrder.action";  
125 -  
126 -//订单有误  
127 -static NSString *const CNOrderErrorUrl = API_Host@"/Daren/order/correctOrder.action";  
128 -  
129 -//查看订单  
130 -static NSString *const CNOrderCheckUrl = API_Host@"/Daren/order/getOrderItem.action";  
131 -  
132 -//生成订单  
133 -static NSString *const CNOrderCreateUrl = API_Host@"/Daren/order/createOrder.action";  
134 -  
135 -//修改订单  
136 -static NSString *const CNOrderModifyUrl = API_Host@"/Daren/order/modifyOrder.action";  
137 -  
138 -//确认订单  
139 -static NSString *const CNOrderConfirmUrl = API_Host@"/Daren/order/confirmOrder.action";  
140 -  
141 -//获取订单详情  
142 -static NSString *const CNGetOrderDetailUrl = API_Host@"/Daren/order/getOrderItem.action";  
143 -  
144 -//根据订单状态获取订单列表  
145 -static NSString *const CNGetOrderListUrl = API_Host@"/Daren/order/getOrdersByStatus.action";  
146 -  
147 -//申请退款  
148 -static NSString *const CNApplyRefundUrl = API_Host@"/Daren/order/applyRefund.action";  
149 -  
150 -//删除订单  
151 -static NSString *const CNDeleteOrderUrl = API_Host@"/Daren/order/deleteOrder.action";  
152 -  
153 -//催单  
154 -static NSString *const CNRemindOrderUrl = API_Contact@"/CnliveIM/notify/remind.action";  
155 -  
156 -//确认收货  
157 -static NSString *const CNConfirmRecvUrl = API_Host@"/Daren/order/confirmRecv.action";  
158 -  
159 -//评价  
160 -static NSString *const CNCommentDarenUrl = API_Host@"/Daren/hudong/commentDaren.action";  
161 -  
162 -//退款原因  
163 -static NSString *const CNRefunfReasonUrl = API_Refund@"/json/refundReason.json";  
164 -  
165 -  
166 -#pragma mark - 发布  
167 -  
168 -//发布视频 短视频接入点播云接口  
169 -static NSString *const CNPublishVideoUrl = API_OpenApi2@"/vod_epg/svInputMamForAPP";  
170 -  
171 -//发布视频 短视频上传获取bucket接口(七牛)  
172 -static NSString *const CNUploadGetBucketUrl = API_OpenApi2@"/storage/getStorageInfo";  
173 -  
174 -//发布图片,上传鉴权接口(七牛)  
175 -static NSString *const CNUploadAuthForApp = API_OpenApi2@"/vod_epg/getUploadAuthForApp";  
176 -  
177 -//上传视频成功的回调url  
178 -static NSString *const CNStockDarenVideoCallBackUrl = API_Host@"/Daren/stock/stockDarenVideo.action";  
179 -  
180 -//发布获取上冰雪banner url  
181 -static NSString *const CNPublishGetSnowBannerUrl = API_Host@"/Daren/snow/getSnowBanner.action";  
182 -  
183 -  
184 -#pragma mark - 检验群公告敏感词  
185 -  
186 -static NSString *const CNCheckFeaturedGroup = API_Host@"/Daren/announcementCheck/checkFeaturedGroup.action";  
187 -  
188 -#pragma mark - 特色群组活动管理  
189 -//获取群组活动收费记录  
190 -static NSString *const CNActiveGroupFundsRecordsUrl = API_Host@"/Daren/groupManagement/groupFundsRecords.action";  
191 -  
192 -//获取投票详情  
193 -static NSString *const CNGetVoteMsgSourceUrl = API_Host@"/Daren/vote/getVoteMsg.action";  
194 -  
195 -//获取收费详情  
196 -static NSString *const CNQueryActivityFeeSourceUrl = API_Host@"/Daren/groupManagement/queryActivityFee.action";  
197 -  
198 -//历任群主列表  
199 -static NSString *const CNGetSuccessiveGroupListUrl = API_Host@"/Daren/groupManagement/getSuccessiveGroupList.action";  
200 -  
201 -//获取投票记录的列表  
202 -static NSString *const CNGetVotesSourceListUrl = API_Host@"/Daren/vote/getVotes.action";  
203 -  
204 -//拉起支付并做定点预处理  
205 -static NSString *const CNPayByGroupMembersUrl = API_Host@"/Daren/groupManagement/payByGroupMembers.action";  
206 -  
207 -//获取支付状态  
208 -static NSString *const CNCheckPaymentSourceUrl = API_Host@"/Daren/groupManagement/checkPayment.action";  
209 -  
210 -//投票  
211 -static NSString *const CNGroupVoteSourceUrl = API_Host@"/Daren/vote/groupVote.action";  
212 -  
213 -//删除投票  
214 -static NSString *const CNStopVoteSourceUrl = API_Host@"/Daren/vote/stopVote.action";  
215 -  
216 -//获取提现的秘钥获取  
217 -static NSString *const CNGetCurrentKeySourceUrl = API_Host@"/Daren/groupManagement/getCurrentKey.action";  
218 -  
219 -//验证秘钥的发送  
220 -static NSString *const CNSendSecretKeySourceUrl = API_Host@"/Daren/groupManagement/sendSecretKey.action";  
221 -  
222 -//秘钥的验证  
223 -static NSString *const CNGroupManagementCheckKeyUrl = API_Host@"/Daren/groupManagement/checkKey.action";  
224 -  
225 -//网++支付的预支付订单生成 & 网++ 余额支付  
226 -static NSString *const CNGroupWjjPayWjjPrePaySourceUrl = API_Host@"/Daren/wjjPay/unifiedOrder.action";  
227 -  
228 -//网++ 余额支付  
229 -static NSString *const CNGroupWjjPayWjjSourceUrl = API_Host@"/Daren/wjjPay/unifiedPay.action";  
230 -  
231 -//返回公钥&随机AESKey  
232 -static NSString *const CNGroupReturnEncryptKeyUrl = API_Host@"/Daren/wjjPay/getKey.action";  
233 -  
234 -//获取分享下载的地址  
235 -static NSString *const CNShareDownloadSourceUrl = API_Host@"/Daren/common/appDownLoadUrl.action";  
236 -  
237 -//获取分享达人主页的地址  
238 -static NSString *const CNShareDarenHomeSourceUrl = API_Host@"/Daren/common/shareDarenHomePage.action";  
239 -  
240 -//扫码获取棉花糖信息  
241 -static NSString *const CNOrderMHTSourceUrl = API_Host@"/Daren/order/addOrderMHT.action";  
242 -  
243 -//订阅号特色群群组转账状态查询  
244 -static NSString *const CNQueryTransferUrl = API_Host@"/Daren/groupManagement/getQueryTransfer.action";  
245 -  
246 -#pragma mark -  
247 -#pragma mark - 朋友圈  
248 -//发布上冰雪图文  
249 -static NSString *const CNPublishSnowUrl = API_Host@"/Daren/snow/releaseSnow.action";  
250 -  
251 -//发布朋友圈  
252 -static NSString *const CNPublishFriendsCircleUrl = API_Host@"/Daren/moment/releaseMoment.action";  
253 -// 选择圈子  
254 -static NSString *const CNGetPublishTypeListUrl = API_Host@"/Daren/publishType/getPublishTypeList.action";  
255 -  
256 -//目击者发布朋友圈  
257 -static NSString *const CNPublishWintessCircleUrl = API_Host@"/Daren/witness/releaseWitness.action";  
258 -//获取朋友圈内容  
259 -static NSString *const CNGetFriendsCircleContentUrl = API_Host@"/Daren/moment/friendMoment.action";  
260 -  
261 -//获取我的朋友圈内容(我的发布记录)  
262 -static NSString *const CNGetMyCircleContentUrl = API_Host@"/Daren/moment/myMoment.action";  
263 -  
264 -//朋友圈评论或回复  
265 -static NSString *const CNFirendsCircleCommentReplyUrl = API_Host@"/Daren/hudong/commentMoment.action";  
266 -  
267 -//删除朋友圈评论  
268 -static NSString *const CNFirendsCircleCommentDeleteUrl = API_OpenApi2@"/commentServices/services/commentForChat/delete";  
269 -  
270 -//删除好友时,调用接口  
271 -static NSString *const CNDeleteFriendUrl = API_Host@"/Daren/sub/deleteFriend.action";  
272 -  
273 -//删除我的朋友圈某条内容  
274 -static NSString *const CNDeleteMyMomentItemUrl = API_Host@"/Daren/moment/deleteMyMoment.action";  
275 -  
276 -//删除我的相关收藏  
277 -static NSString *const CNDeleteMyCollectionItemUrl = API_Host@"/Daren/stock/collection.action";  
278 -  
279 -//读取朋友圈某条动态的评论(含回复)  
280 -static NSString *const CNGetMomentAllCommontUrl = API_OpenApi2@"/commentServices/services/commentForChat/readAll";  
281 -  
282 -//读取朋友圈某条动态的点赞列表  
283 -static NSString *const CNGetMomentAllFavoriteUrl = API_OpenApi2@"/support/readAll";  
284 -  
285 -//读取朋友圈某条动态的点赞列表(新接口)  
286 -static NSString *const CNGetMomentAllNEWFavoriteUrl = API_OpenApi2@"/support/loadSupport";  
287 -  
288 -//朋友圈某条动态点赞  
289 -static NSString *const CNFavoriteMomentUrl = API_Host@"/Daren/moment/praiseMoment.action";  
290 -  
291 -////获取朋友圈新消息数量  
292 -//static NSString *const CNGetMomentNewMsgCountUrl = API_Host@"/Daren/moment/getNewMsg.action";  
293 -  
294 -//获取朋友圈新消息详细  
295 -static NSString *const CNGetMomentNewMsgListUrl = API_Host@"/Daren/moment/getNewMsgList.action";  
296 -  
297 -//获取朋友圈记录详情  
298 -static NSString *const CNGetMomentDetailUrl = API_Host@"/Daren/moment/getMomentDetail.action";  
299 -  
300 -//清空新消息  
301 -static NSString *const CNDeleteNewMsgUrl = API_Host@"/Daren/moment/deleteNewMsg.action";  
302 -  
303 -//个人资料相册  
304 -static NSString *const CNLookUpMyMsgCommontUrl = API_Host@"/Daren/moment/lookUpMyMsg.action";  
305 -  
306 -#pragma mark -  
307 -#pragma mark - 分类  
308 -//分类频道(旧)  
309 -//static NSString *const CNCategoryGetChannelUrl = API_Host@"/Daren/center/getChannel.action";  
310 -//分类频道(新)  
311 -static NSString *const CNCategoryGetChannelUrl = API_Classify@"/contentApi/app";  
312 -//分类首页(旧 18.5.28)  
313 -//static NSString *const CNCategoryCenterPageUrl = API_Host@"/Daren/center/getCenterPage.action";  
314 -//分类首页(新)  
315 -static NSString *const CNCategoryCenterPageUrl = API_Host@"/Daren/classify/getNewCenterPage.action";  
316 -  
317 -//分类次级页面-达人列表  
318 -static NSString *const CNGetDarensByCategoryUrl = API_Host@"/Daren/classify/getNewDarensByCategory.action";  
319 -//static NSString *const CNGetDarensByCategoryUrl = API_Host@"/Daren/center/getDarensByCategory.action";  
320 -  
321 -//分类次级页面-已关注达人列表  
322 -static NSString *const CNGetDarensAlreadyUrl = API_Host@"/Daren/classify/getDarenList.action";  
323 -//分类次级页面-未关注达人列表  
324 -static NSString *const CNGetDarensNeverUrl = API_Host@"/Daren/classify/getUnFansOrDarenBean.action";  
325 -// 关注达人  
326 -static NSString *const CNAddDarenSubUrl = API_Host@"/Daren/sub/addDarenSub.action";  
327 -// 取消关注  
328 -static NSString *const CNCancelDarenSubUrl = API_Host@"/Daren/sub/cancelDarenSub.action";  
329 -//分类-搜索  
330 -static NSString *const CNCategorySearchDarenUrl = API_Host@"/Daren/search/searchDaren.action";  
331 -//点播-获取评论列表  
332 -static NSString *const CNGetCommentListUrl = API_OpenApi2@"/commentServices/services/commentForHdBySpId/loadComment";  
333 -//点播-评论一条节目  
334 -static NSString *const CNCommentProgrammaUrl = API_OpenApi2@"/commentServices/commentForHdBySpId/insertComment";  
335 -//点播-点赞一条节目  
336 -static NSString *const CNPraiseProgrammaUrl = API_OpenApi2@"/commentServices/commentForHdBySpId/praiseComment";  
337 -  
338 -#pragma mark - 听见中国  
339 -//获取音频播放详情  
340 -static NSString *const CNAudioPlayerDetailUrl = API_Classify@"/playApi/play";  
341 -//获取音频播放列表  
342 -static NSString *const CNAlbumAudioListUrl = API_Classify@"/contentApi/albumAudioList";  
343 -//播放进度回调  
344 -static NSString *const CNAudioRecordScheduleUrl = API_Classify@"/recordApi/end";  
345 -//历史记录列表  
346 -static NSString *const CNAudioPastRecordsUrl = API_Classify@"/recordApi/getRecords";  
347 -//删除历史记录列表  
348 -static NSString *const CNAudioDeletePastRecordsUrl = API_Classify@"/recordApi/delete";  
349 -// 简介列表  
350 -static NSString *const CNAlbumMsgUrl = API_Classify@"/contentApi/getAlbumMsg";  
351 -//节目列表  
352 -static NSString *const CNAlbumListUrl = API_Classify@"/contentApi/albumAudioList";  
353 -#pragma mark -  
354 -#pragma mark - 点播  
355 -//视频点播  
356 -static NSString *const CNVideoDemandUrl = API_Classify@"/playApi/play";  
357 -//查看全部  
358 -static NSString *const CNLookAtAllUrl = API_Classify@"/playApi/moreList";  
359 -  
360 -static NSString *const CNCommentsListUrl = API_OpenApi2@"/commentServices/services/commentForChat/loadComment";  
361 -static NSString *const CNCommentsAddUrl = API_OpenApi2@"/commentServices/services/commentForChat/insert";  
362 -static NSString *const CNCommentsDeleteUrl = API_OpenApi2@"/commentServices/services/commentForChat/delete";  
363 -  
364 -  
365 -//帮助与反馈上传反馈信息&图片  
366 -static NSString *const CNUpdateFeedbackUrl = API_Host@"/Daren/feedback/collectFeedback.action";  
367 -//检查扫描结果是否有效  
368 -static NSString *const CNCheckQrCodeUrl = API_Host@"/Daren/qrcode/checkQrCodeUrl.action";  
369 -  
370 -// Native 分类  
371 -// 获取所有频道列表  
372 -static NSString *const CNAllChannelList = @"http://intertv.cnlive.com/zgw/api/channellist";  
373 -//App配置信息  
374 -static NSString *const AppStart = @"http://intertv.cnlive.com/zgw/api/appstart";  
375 -  
376 -#pragma mark -  
377 -#pragma mark - 申请目击者  
378 -// 目击者身份信息申请  
379 -static NSString *const CNApplyWitnessUrl = API_Host@"/Daren/witness/applyWitness.action";  
380 -// 目击者身份校验  
381 -static NSString *const CNCheckWitnessUrl = API_Host@"/Daren/witness/checkWitness.action";  
382 -//获取订阅号主页内容  
383 -static NSString *const CNGetSpHomePageInfoUrl = API_Classify"/contentApi/getSpInfo";  
384 -//获取订阅号分页内容  
385 -static NSString *const CNGetSpContentListUrl = API_Classify"/contentApi/getSpContentList";  
386 -//关注订阅号  
387 -static NSString *const CNGetSpAddFollowsUrl = API_Host@"/Daren/group/addFollows.action";  
388 -//取消关注订阅号  
389 -static NSString *const CNGetSpUserCancelFollowUrl = API_Host@"/Daren/group/userCancelFollow.action";  
390 -//加入群聊  
391 -static NSString *const CNGetSpUserAddGroupUrl = API_Host@"/Daren/group/userAddGroup.action";  
392 -//获取全部粉丝  
393 -static NSString *const CNGetSPAllFansUrl = API_Host@"/Daren/group/getFans.action";  
394 -//订阅号加入群聊  
395 -static NSString *const CNGetUserAddGroupUrl = API_Host@"/Daren/group/userAddGroup.action";  
396 -#pragma mark -  
397 -#pragma mark - 我的  
398 -// 用户uid检测达人状态  
399 -static NSString *const CNCheckDarenUrl = API_Host@"/Daren/member/checkDaren.action";  
400 -// 获取我的余额  
401 -static NSString *const CNGetBalanceUrl = API_Host@"/Daren/member/getBalance.action";  
402 -// 获取交易记录  
403 -static NSString *const CNGetTradingRecordUrl = API_Host@"/Daren/transaction/getTransactionRecord.action";  
404 -// 获取与商户的交易记录  
405 -static NSString *const CNViewTransferRecordUrl = API_Host@"/Daren/groupManagement/viewTransferRecord.action";  
406 -// 交易记录详情  
407 -static NSString *const CNGetRecordSourceMsgUrl = API_Host@"/Daren/transaction/getRecordSourceDetail.action";  
408 -// 是否有支付密码  
409 -static NSString *const CNPasswordIsExistingUrl = API_Host@"/Daren/wjjPay/passwordIsExisting.action";  
410 -// 设置支付密码  
411 -static NSString *const CNSetPasswordUrl = API_Host@"/Daren/wjjPay/setPassword.action";  
412 -// 更改密码时发送验证码  
413 -static NSString *const CNSendSMSSetPasswordUrl = API_Host@"/Daren/sms/sendSMS.action";  
414 -// 更改密码时验证验证码  
415 -static NSString *const CNCheckVerifyCodeSetPasswordUrl = API_Host@"/Daren/sms/checkVerifyCode.action";  
416 -// 查看是否允许好友查看生活圈的状态  
417 -static NSString *const CNIsAllowFindStrangerSwitchUrl = API_Host@"/Daren/moment/findStrangerSwitch.action";  
418 -// 切换是否允许好友查看生活圈  
419 -static NSString *const CNSwitchAllowStrangerUrl = API_Host@"/Daren/moment/strangerSwitch.action";  
420 -  
421 -#pragma mark - 积分  
422 -static NSString *const CNIntegralGetTasksUrl = API_Host@"/Daren/integral/getTasks.action";//任务列表  
423 -static NSString *const CNIntegralAddUrl = API_Host@"/Daren/integral/addTask.action";//增加积分  
424 -static NSString *const CNIntegralDetailsUrl = API_Host@"/Daren/integral/integralRecord.action";//积分明细  
425 -static NSString *const CNIntegralSignInUrl = API_Host@"/Daren/integral/checkIn.action";//签到  
426 -static NSString *const CNCancellationUrl = API_Host@"/Daren/common/cancellationAccount.action";//注销账号  
427 -  
428 -#pragma mark - 隐私  
429 -static NSString *const CNPrivacyNoLetHimSeeListUrl = API_Host@"/Daren/moment/getDoNotletFsids.action";//不让他看列表  
430 -static NSString *const CNPrivacyNoSeeHimListUrl = API_Host@"/Daren/moment/getNoLookFsids.action";//不看他列表  
431 -static NSString *const CNPrivacyNoLetHimSeeAddUrl = API_Host@"/Daren/moment/addDoNotletFsids.action";//不让他看增加  
432 -static NSString *const CNPrivacyNoSeeHimAddUrl = API_Host@"/Daren/moment/addNoLookFsids.action";//不看他增加  
433 -  
434 -#pragma mark - 订阅号  
435 -//选择你感兴趣的内容  
436 -static NSString *const CNInterestedContentUrl = API_Host@"/Daren/group/getSpTags.action";  
437 -//推荐订阅号  
438 -static NSString *const CNRecommendedSubscribeUrl = API_Host@"/Daren/group/getSubscriptionNumbers.action";  
439 -//推荐订阅号完成  
440 -static NSString *const CNRecommendedSubscribeFinishUrl = API_Host@"/Daren/group/userFollowAddGroup.action";  
441 -//全部订阅号(不传sid)  
442 -static NSString *const CNAllSubscribeUrl = API_Host@"/Daren/group/getMoreSubscriptionNumbers.action";  
443 -//全部订阅号(传sid)  
444 -static NSString *const CNAllSubscribeSidUrl = API_Host@"/Daren/group/getCategorySubscriptionNumbers.action";  
445 -//关注订阅号  
446 -static NSString *const CNAddAttentionSubscribeUrl = API_Host@"/Daren/group/addFollows.action";  
447 -//取消关注订阅号  
448 -static NSString *const CNCancelAttentionSubscribeUrl = API_Host@"/Daren/group/userCancelFollow.action";  
449 -//加入群聊订阅号  
450 -static NSString *const CNJumpGroupSubscribeUrl = API_Host@"/Daren/group/userAddGroup.action";  
451 -//设置默认订阅号  
452 -static NSString *const CNSubscribeDefaultAddFollowsUrl = API_Host@"/Daren/group/defaultAddFollows.action";  
453 -  
454 -#pragma mark - App配置信息  
455 -// 获取最新版本信息  
456 -static NSString *const CNGetNewestVersionUrl = API_Host@"/Daren/common/getNewestVersion.action";  
457 -// 获取App配置信息(统一)  
458 -static NSString *const CNGetCommonMsgUrl = API_Host@"/Daren/common/getCommonMsg.action";  
459 -  
460 -#pragma mark 活动投票  
461 -//创建活动收费  
462 -static NSString *const CNAddGroupCharge = API_Host@"/Daren/groupManagement/addGroupCharge.action";  
463 -//邀请加群  
464 -static NSString *const CNInvitationAddgroup = API_Host@"/Daren/groupManagement/invitationAddGroup.action";  
465 -//获取通知列表  
466 -static NSString *const CNGetnoticesubs = API_Host@"/Daren/sub/getNoticeSubs.action";  
467 -// 同意加入群  
468 -static NSString *const CNAgreeAddgroup = API_Contact@"/CnliveIM/notify/addGroup.action"; //@"https://wjjim.cnlive.com/CnliveIM/notify/addGroup.action"  
469 -// 创建投票  
470 -static NSString *const CNAddvote = API_Host@"/Daren/vote/addVote.action";  
471 -//储存历任群主,再特色群创建和转让群主的时候创建  
472 -static NSString *const CNSavesuccessivegroup = API_Host@"/Daren/groupManagement/saveSuccessiveGroup.action";  
473 -  
474 -static NSString *const CNGetAgreementH5Url = API_Refund@"/json/wjj_user_terms.json";  
475 -  
476 -static NSString *const CNWeChatPayUrl = API_ThirdPay@"/Daren/pay/notifyWeChatPay.action";  
477 -  
478 -static NSString *const CNAliPayUrl = API_ThirdPay@"/Daren/pay/notifyAliPay.action";  
479 -  
480 -static NSString *const CNUnionPayUrl = API_ThirdPay@"/Daren/pay/notifyUnionPay.action";  
481 -  
482 -static NSString *const CNJSFYNotifyUrl = API_ThirdPay@"/Daren/pay/jsfyPayCallback.action";  
483 -  
484 -//获取特色群限制人数  
485 -static NSString *const CNGroupMemberLimit = @"https://wjj.ys1.cnliveimg.com/json/GroupMemberLimit.json";  
486 -  
487 -#pragma mark -  
488 -#pragma mark - 获取观察者相关  
489 -//获取观察者相关数据  
490 -static NSString *const CNWitnessPublishContent = API_Host@"/Daren/witness/getWitnessPublishContent.action";  
491 -  
492 -//删除观察者相关数据  
493 -static NSString *const CNDeleteOrUpdateWitnessURL = API_Host@"/Daren/witness/deleteOrUpdateWitnessPublish.action";  
494 -  
495 -#pragma mark 直播  
496 -  
497 -//取得相关视频  
498 -static NSString *const CNPlayerBackOrRelatedUrl = API_Classify@"/contentApi/playList";  
499 -  
500 -//取得直播数据  
501 -static NSString *const CNPlayerDetailUrl = API_Classify@"/playApi/play";  
502 -  
503 -//预约  
504 -static NSString *const CNPlayerOrderUrl = API_Classify@"/contentApi/liveAppoint";  
505 -  
506 -//获取直播活动播放信息4App  
507 -static NSString *const CNLiveActivityPlayInfo4App = API_OpenApi2@"/live_epg/getLiveActivityPlayInfo4App";  
508 -//获取直播间详情  
509 -static NSString *const CNLiveRoomInfo = API_Classify@"/playApi/play";  
510 -  
511 -static NSString *const CNNewLiveInfoWeb = API_Classify@"/contentApi/";  
512 -  
513 -//获取点播播放信息  
514 -static NSString *const CNLiveGetVodRates = API_OpenApi2@"/vod_epg/getRates";  
515 -  
516 -//活动举报  
517 -static NSString *const CNLiveActivityReportContent = API_Report@"/CnliveMobile/json/report.action";  
518 -  
519 -//订阅号关注  
520 -static NSString *const CNLiveSPAddFollow = API_Host@"/Daren/group/addFollows.action";  
521 -  
522 -//取消订阅号关注  
523 -static NSString *const CNLiveSPCancelFollow = API_Host@"/Daren/group/userCancelFollow.action";  
524 -  
525 -//订阅号取消管制  
526 -  
527 -  
528 -#pragma mark 黑名单  
529 -//校验黑名单  
530 -static NSString *const CNCheckBlackUser = API_Contact@"/CnliveIM/notify/checkBlackList.action";  
531 -//添加黑名单  
532 -static NSString *const CNBlackListAdd = API_Host@"/Daren/blackList/blackListAdd.action";  
533 -//删除黑名单  
534 -static NSString *const CNBlackListDelete = API_Host @"/Daren/blackList/blackListDelete.action";  
535 -//黑名单列表  
536 -static NSString *const CNBlackList = API_Host@"/Daren/blackList/blackListGet.action";  
537 -  
538 -#pragma mark 好友生活圈观看权限设置  
539 -//增加不让他人看  
540 -static NSString *const CNAdddonotletfsids = API_Host@"/Daren/moment/addDoNotletFsids.action";  
541 -//取消不让他人看  
542 -static NSString *const CNDeldonotletfsids = API_Host@"/Daren/moment/delDoNotletFsids.action";  
543 -//不让他看人列表  
544 -static NSString *const CNGetdonotletfsids = API_Host@"/Daren/moment/getDoNotletFsids.action";  
545 -  
546 -//增加不看他的  
547 -static NSString *const CNAddnolookfsids = API_Host@"/Daren/moment/addNoLookFsids.action";  
548 -//取消不看他的  
549 -static NSString *const CNDelnolookfsids = API_Host@"/Daren/moment/delNoLookFsids.action";  
550 -//不看他的列表  
551 -static NSString *const CNGetnolookfsids = API_Host@"/Daren/moment/getNoLookFsids.action";  
552 -//  
553 -////////////////////////////////////////////////////////  
554 -//////////// 数据库---表名  
555 -////////////////////////////////////////////////////////  
556 -  
557 -//达人个人主页表名  
558 -static NSString *const DarenHomeRealm = @"DarenHome";  
559 -  
560 -//达人列表表名  
561 -static NSString *const DarenSubsRealm = @"DarenSubs";  
562 -  
563 -//生活列表表名  
564 -static NSString *const LifeSubsRealm = @"LifeSubs";  
565 -  
566 -//系统订单列表表名  
567 -static NSString *const LifeHomeRealm = @"LifeHome";  
568 -  
569 -//朋友圈新消息表名  
570 -static NSString *const MomentNewMsgRealm = @"MomentNewMsg";  
571 -  
572 -#endif /* NetworkAPIs_h */  
CNLiveEnvironmentConfiguration/Classes/ReleasePersonal/CNEnvironmentHeader.h deleted 100644 → 0
1 -//  
2 -// CNEnvironmentHeader.h  
3 -// CNLiveNetAdd  
4 -//  
5 -// Created by 张旭 on 2018/5/30.  
6 -// Copyright © 2018年 cnlive. All rights reserved.  
7 -//  
8 -  
9 -#ifndef CNEnvironmentHeader_h  
10 -#define CNEnvironmentHeader_h  
11 -  
12 -/*  
13 - *网家家环境配置文件  
14 -*/  
15 -  
16 -// App Store 中 AppID 用于跳转 App Store 下载/评分  
17 -#define AppStoreAppId @"1337575478"  
18 -  
19 -// 请求查询app在App Store的上架信息  
20 -#define AppStoreAppInfo @"https://itunes.apple.com/lookup?id=1337575478"  
21 -  
22 -//// h5新闻详情中分享使用到的图片地址  
23 -//#define netAddShareImgUrl WjjH5_Host@"/static/logo.png"  
24 -//#define WjjH5Short_Host @"http://dwz.cnlive.com"  
25 -  
26 -// 正式版--测试环境com.cnlive.CNLiveNetAdd.debug 网家家测试版  
27 -// 正式版--正式环境com.cnlive.CNLiveNetAdd 网家家正式版  
28 -// 企业版--测试环境com.cnlive.CNLiveNetAddInHouse.debug 网家家测试企版  
29 -// 企业版--正式环境com.cnlive.CNLiveNetAddInHouse 网家家内测版  
30 -  
31 -#define ShowGuideView @"no" // yes:显示欢迎页 no:不显示欢迎页  
32 -  
33 -#define Environment_ON 1 // 1:正式环境平台 0:测试环境平台  
34 -  
35 -#if Environment_ON  
36 -  
37 -#pragma mark - 正式环境  
38 -//正式环境平台配置  
39 -//IMSDK相关的配置  
40 -#define kWXAccount @"wjj_app"  
41 -#define kSdkAppId @"1400051680"  
42 -#define kSdkAccountType @"19645"  
43 -  
44 -#ifndef CNLiveNetAddUrlSchems  
45 -#define CNLiveNetAddUrlSchems @"CNLiveNetAddUrlSchems" // 支付宝支付Schems  
46 -#endif  
47 -  
48 -#ifndef CNLiveNetAddUnionPaySchems  
49 -#define CNLiveNetAddUnionPaySchems @"CNLiveNetAddUnionPaySchems" // 银联支付Schems  
50 -#endif  
51 -  
52 -#define CNLiveNewAddDownloadUrl @"http://apiwjj.cnlive.com/download/index.html"  
53 -#define ShareDarenHomeUrl @"http://apiwjj.cnlive.com/daren/download.html"  
54 -#define WjjH5_Host @"http://wjjh5.cnlive.com"  
55 -#define WjjH5_VideoChina WjjH5_Host@"/cnnews.html"  
56 -#define WjjH5_NumProduct WjjH5_Host@"/cndr.html"  
57 -  
58 -#define API_Host @"https://apiwjj.cnlive.com"  
59 -  
60 -#define API_Contact @"https://wjjim.cnlive.com"  
61 -#define API_Refund @"https://wjj.ys1.cnliveimg.com"  
62 -#define API_Report @"https://mobile.cnlive.com"  
63 -#define API_ThirdPay API_Host  
64 -#define API_OpenApi2 @"https://api.cnlive.com/open/api2"  
65 -#define API_Classify @"http://cms.cnlive.com:8768"  
66 -  
67 -#define WjjLive_Host @"http://wjjh5.cnlive.com"  
68 -  
69 -#define TIM_GetTokenUrl API_OpenApi2@"/im_chat/generateUserSign"  
70 -  
71 -// 网++默认头像地址  
72 -#define CNLiveNetAddDefaultHead API_Refund@"/admin/test/head.png"  
73 -  
74 -#define API_BucketName @"mam-wjj-769"  
75 -#define API_PhotoUrl @"http://wjj.ys2.cnliveimg.com/" // 还不知道  
76 -#define MultipleCategory 366  
77 -#define WitnessMultipleCategory 370  
78 -  
79 -#pragma mark - 正式个人/企业开关  
80 -#define IPA_APPSTORE 1 ////1: App Store版 0:企业版  
81 -  
82 -#if IPA_APPSTORE  
83 -// 正式个人版  
84 -////////////////////////////////////////////////////////  
85 -//////////// AppConfig  
86 -////////////////////////////////////////////////////////  
87 -  
88 -//正式版 com.cnlive.CNLiveNetAdd  
89 -#ifndef AppId  
90 -#define AppId @"769_jetj7bq525"  
91 -#endif  
92 -#ifndef APPKey  
93 -#define APPKey @"0d57b045ec0c3988a682d94c644e66b9b8e0d2b8ef937d"  
94 -#endif  
95 -#ifndef AppSecret  
96 -#define AppSecret @"275e8dc29274a1186d82f65bc607c231d02bcb3bfd8976"  
97 -#define DisplayName @"网家家"  
98 -#endif  
99 -  
100 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd"  
101 -  
102 -////////////////////////////////////////////////////////  
103 -//////////// IM推送证书相关  
104 -////////////////////////////////////////////////////////  
105 -#if DEBUG  
106 -#define IM_Cer_busiId 12452 //7307已过期  
107 -#else  
108 -#define IM_Cer_busiId 12453 //7308已过期  
109 -#endif  
110 -  
111 -////////////////////////////////////////////////////////  
112 -//////////// 高德地图Key  
113 -////////////////////////////////////////////////////////  
114 -#define GDApiKey @"5a0e2a559b987e67d5b0c13490adde02"  
115 -  
116 -////////////////////////////////////////////////////////  
117 -//////////// 百度身份证识别  
118 -////////////////////////////////////////////////////////  
119 -#define BDAppId @"14380860"  
120 -#define BDAppKey @"4bX1eK7SiCL461QBnRKilowc"  
121 -#define BDSecret @"BTzXLoPbUjlLeOM1nHnfOuTB9q18YZVq"  
122 -  
123 -////////////////////////////////////////////////////////  
124 -//////////// 听云  
125 -////////////////////////////////////////////////////////  
126 -/*听云AppKey*/ //URL Scheme: tingyun.33700  
127 -static NSString *const CNLiveTingYunAppKey = @"37c9ea3f439145269e5cffe095466b17";  
128 -#else  
129 -// 正式企业版  
130 -// 企业版 com.cnlive.CNLiveNetAddInHouse  
131 -#ifndef AppId  
132 -#define AppId @"769_jetja50p18"  
133 -#endif  
134 -#ifndef APPKey  
135 -#define APPKey @"ad101b9152817a79b5c33c3617b96ff91385096ff3b4ba"  
136 -#endif  
137 -#ifndef AppSecret  
138 -#define AppSecret @"6a324a475a8b9ef903139cb2626fdab6bf4362d6d47c83"  
139 -#define DisplayName @"网家家"  
140 -#endif  
141 -  
142 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse"  
143 -  
144 -//企业证书id  
145 -#if DEBUG  
146 -#define IM_Cer_busiId 7346  
147 -#else  
148 -#define IM_Cer_busiId 7347  
149 -#endif  
150 -  
151 -////////////////////////////////////////////////////////  
152 -//////////// 高德地图Key  
153 -////////////////////////////////////////////////////////  
154 -#define GDApiKey @"84d765606a54635aec2648f663d4a5ed"  
155 -  
156 -////////////////////////////////////////////////////////  
157 -//////////// 百度身份证识别  
158 -////////////////////////////////////////////////////////  
159 -#define BDAppId @"14380872"  
160 -#define BDAppKey @"ibl8vbKkPVYBw5IOvR8tVGGo"  
161 -#define BDSecret @"QEd6n1qruIGG8AYkyLyqepksO2uUe0GK"  
162 -  
163 -////////////////////////////////////////////////////////  
164 -//////////// 听云  
165 -////////////////////////////////////////////////////////  
166 -/*听云AppKey*/ //URL Scheme: tingyun.33699  
167 -static NSString *const CNLiveTingYunAppKey = @"782d9a70547a4e3f91cb328b122bb85c";  
168 -  
169 -#endif  
170 -  
171 -//////////////////////////////////////  
172 -///////////////// 正式平台  
173 -//////////////////////////////////////  
174 -  
175 -/*微信相关参数*/  
176 -static NSString *const CNLiveWeiChatAppId_Share = @"wxed528fc749b7ee88";  
177 -static NSString *const CNLiveWeiChatAppSecret_Share = @"729c3d3055fe336bcdef7020c2548e89";  
178 -  
179 -/*腾讯相关参数*/  
180 -static NSString *const CNLiveQQShareAppId_Share = @"1106691520";  
181 -static NSString *const CNLiveQQShareAppSecret_Share = @"kLZ8CglGFjzrJFan";  
182 -  
183 -/*shareSDK相关参数*/  
184 -static NSString *const CNLiveShareSDKAppId_Share = @"24e4abeaa92d8";  
185 -static NSString *const CNLiveShareSDKAppSecret_Share = @"da94a6f881d404092c9a7108e4470e8f";  
186 -  
187 -#else  
188 -  
189 -#pragma mark - 测试环境  
190 -////////////////////////////////////////////////////////////  
191 -// 测试环境平台配置  
192 -// IMSDK相关的配置  
193 -#define kWXAccount @"wjj_app_test"  
194 -#define kSdkAppId @"1400052101"  
195 -#define kSdkAccountType @"27313"  
196 -  
197 -#ifndef CNLiveNetAddUrlSchems  
198 -#define CNLiveNetAddUrlSchems @"CNLiveNetAddTestUrlSchems" // 支付宝支付Schems  
199 -#endif  
200 -#ifndef CNLiveNetAddUnionPaySchems  
201 -#define CNLiveNetAddUnionPaySchems @"CNLiveNetAddTestUnionPaySchems" // 银联支付Schems  
202 -#endif  
203 -  
204 -#define CNLiveNewAddDownloadUrl @"https://fir.im/layf"  
205 -#define ShareDarenHomeUrl @"http://apiwjj.cnlive.com/download/index.html"  
206 -#define WjjH5_Host @"http://wjjh5test.cnlive.com"  
207 -#define WjjH5_VideoChina WjjH5_Host@"/cnnews.html"  
208 -#define WjjH5_NumProduct WjjH5_Host@"/cndr.html"  
209 -  
210 -#define API_Host @"https://apiwjjtest.cnlive.com"  
211 -#define API_Contact @"https://imtest.cnlive.com"  
212 -#define API_OpenApi2 @"https://api.cnlive.com/open/api2"  
213 -#define API_Refund @"https://wjj.ys1.cnliveimg.com"  
214 -#define API_Report @"https://mobile.cnlive.com"  
215 -#define API_ThirdPay API_Host  
216 -#define API_BucketName @"mam-wjjtest-802"  
217 -#define API_PhotoUrl @"http://wjjtest.ys2.cnliveimg.com/"  
218 -#define MultipleCategory 371  
219 -#define WitnessMultipleCategory 375  
220 -#define API_Classify @"http://cmstest.cnlive.com:8768"  
221 -#define WjjLive_Host @"http://wjjh5test.cnlive.com"  
222 -  
223 -#define TIM_GetTokenUrl API_Contact@"/CnliveIM/notify/generateUserSign.action"  
224 -// 网++默认头像地址  
225 -#define CNLiveNetAddDefaultHead API_Refund@"/admin/test/head.png"  
226 -  
227 -/*微信相关参数*/  
228 -static NSString *const CNLiveWeiChatAppId_Share = @"wx9b7f9443a8ccf15a";  
229 -static NSString *const CNLiveWeiChatAppSecret_Share = @"8d9970bf2901411d8dd2bffb344f147e";  
230 -  
231 -/*腾讯相关参数*/  
232 -static NSString *const CNLiveQQShareAppId_Share = @"1106970445";  
233 -static NSString *const CNLiveQQShareAppSecret_Share = @"4hxuJ1HIes4i4hqT";  
234 -  
235 -/*shareSDK相关参数*/  
236 -static NSString *const CNLiveShareSDKAppId_Share = @"26192e9007048";  
237 -static NSString *const CNLiveShareSDKAppSecret_Share = @"f9d2fbf7f7827925c532a716340363c7";  
238 -  
239 -  
240 -#pragma mark - 测试个人/企业开关  
241 -#define IPA_APPSTORE 1 ////1: 个人版 0:企业版  
242 -  
243 -#if IPA_APPSTORE  
244 -//测试个人版  
245 -////////////////////////////////////////////////////////  
246 -//////////// AppConfig  
247 -////////////////////////////////////////////////////////  
248 -//个人版 com.cnlive.CNLiveNetAdd.debug  
249 -#ifndef AppId  
250 -#define AppId @"802_jhlqbq4475"  
251 -#endif  
252 -#ifndef APPKey  
253 -#define APPKey @"d25cf0dce30e7d7ddc7c857b85ab0dde670d491fc2ffe4"  
254 -#endif  
255 -#ifndef AppSecret  
256 -#define AppSecret @"b9064cfe0a030b8b20c061fc0ee3c16acce7757874b7a2"  
257 -#define DisplayName @"网家家测试"  
258 -#endif  
259 -  
260 -  
261 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAdd.debug"  
262 -  
263 -////////////////////////////////////////////////////////  
264 -//////////// IM推送证书相关  
265 -////////////////////////////////////////////////////////  
266 -#if DEBUG  
267 -#define IM_Cer_busiId 12450 //9246已过期  
268 -#else  
269 -#define IM_Cer_busiId 12451 //9247已过期  
270 -#endif  
271 -  
272 -////////////////////////////////////////////////////////  
273 -//////////// 高德地图Key  
274 -////////////////////////////////////////////////////////  
275 -#define GDApiKey @"4b15525f4265edfed8dce1d02f08a893"  
276 -  
277 -////////////////////////////////////////////////////////  
278 -//////////// 百度身份证识别  
279 -////////////////////////////////////////////////////////  
280 -#define BDAppId @"14435697"  
281 -#define BDAppKey @"3LqIXy2AtXxrxyFM8N73QGYN"  
282 -#define BDSecret @"EKZxZza8purqGHOmngkMi7awtZkm0lOW"  
283 -  
284 -////////////////////////////////////////////////////////  
285 -//////////// 听云  
286 -////////////////////////////////////////////////////////  
287 -/*听云AppKey*/ //URL Scheme: tingyun.33185  
288 -static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";  
289 -  
290 -#else  
291 -//测试企业版  
292 -//企业版 com.cnlive.CNLiveNetAddInHouse.debug  
293 -#ifndef AppId  
294 -#define AppId @"802_jhbqccxw08"  
295 -#endif  
296 -#ifndef APPKey  
297 -#define APPKey @"9c5619e9be747bb3b925dd215ca5923d86f12c09b9394f"  
298 -#endif  
299 -#ifndef AppSecret  
300 -#define AppSecret @"1e6380cb347255e777f72b5aa60f41daa68443a132aaea"  
301 -#define DisplayName @"网家家测试版"  
302 -#endif  
303 -  
304 -#define WjjShare_Iden @"group.com.cnlive.CNLiveNetAddInHouse.debug"  
305 -  
306 -//企业证书id  
307 -#if DEBUG  
308 -#define IM_Cer_busiId 9204  
309 -#else  
310 -#define IM_Cer_busiId 9205  
311 -#endif  
312 -  
313 -////////////////////////////////////////////////////////  
314 -//////////// 高德地图Key  
315 -////////////////////////////////////////////////////////  
316 -#define GDApiKey @"f4459435f1c756d2efedc6ceec12be63"  
317 -  
318 -////////////////////////////////////////////////////////  
319 -//////////// 百度身份证识别  
320 -////////////////////////////////////////////////////////  
321 -#define BDAppId @"14435716"  
322 -#define BDAppKey @"4foSD6VBILQ61olzmVAFEVGZ"  
323 -#define BDSecret @"VEuz92EVrmEVrrgTZKxYo4ApUkol7Ptk"  
324 -  
325 -////////////////////////////////////////////////////////  
326 -//////////// 听云  
327 -////////////////////////////////////////////////////////  
328 -/*听云AppKey*/ //URL Scheme: tingyun.33185  
329 -static NSString *const CNLiveTingYunAppKey = @"3dda66ec904a4c3a8ad0169ca74de352";  
330 -  
331 -#endif  
332 -  
333 -#endif  
334 -  
335 -  
336 -#endif /* CNEnvironmentHeader_h */  
CNLiveEnvironmentConfiguration/Classes/ReleasePersonal/NetworkAPIs.h deleted 100644 → 0
1 -//  
2 -// NetworkAPIs.h  
3 -// CNLiveNetAdd  
4 -//  
5 -// Created by iOS on 2018/1/24.  
6 -// Copyright © 2018年 cnlive. All rights reserved.  
7 -//  
8 -  
9 -#ifndef NetworkAPIs_h  
10 -#define NetworkAPIs_h  
11 -#import "CNEnvironmentHeader.h"  
12 -  
13 -//上传手机通讯录和 生成订单二维码时,DES加密key  
14 -#define kUploadContactsKey @"cnliveIm"  
15 -  
16 -#define iUploadContacts API_Contact@"/CnliveIM/notify/uploadContacts.action"  
17 -//其他投诉  
18 -static NSString *const CNLiveCNReporthtml = WjjH5_Host@"/cnReport.html";  
19 -  
20 -//特色群活动必要说明  
21 -static NSString *const CNActivityManageUrl = API_Refund@"/term/ActivityManagement.html";  
22 -  
23 -//特色群投票必要说明  
24 -static NSString *const CNVoteManageUrl = API_Refund@"/term/VoteManagement.html";  
25 -  
26 -//订阅号特色群活动必要说明  
27 -static NSString *const CNActivityManageSPUrl = WjjH5_Host"/cnGroupDescription.html?type=hdgl";  
28 -  
29 -//订阅号特色群投票必要说明  
30 -static NSString *const CNVoteManageSPUrl = WjjH5_Host"/cnGroupDescription.html?type=tp";  
31 -  
32 -//获取生活号列表  
33 -static NSString *const CNGetLifeSubsUrl = API_Host@"/Daren/sub/getLifeSubs.action";  
34 -  
35 -//获取达人号列表  
36 -static NSString *const CNGetDarenSubsUrl = API_Host @"/Daren/sub/getDarenSubs.action";  
37 -  
38 -//达人号列表删除某达人  
39 -static NSString *const CNDarenSubsDeleteDarenUrl = API_Host@"/Daren/sub/deleteDarenSubs.action";  
40 -  
41 -//添加某个收藏  
42 -static NSString *const CNDarenSubsCollectionUrl = API_Host@"/Daren/stock/collection.action";  
43 -  
44 -//收藏界面删除某个收藏  
45 -static NSString *const CNDarenSubsDeleteCollectionUrl = API_Host@"/Daren/stock/deleteCollection.action";  
46 -  
47 -//达人主页  
48 -static NSString *const CNDarenHomeUrl = API_Host@"/Daren/sub/getDarenHome.action";  
49 -  
50 -//获取收藏结果详情  
51 -static NSString *const CNDarenCollectListDataSourceUrl = API_Host@"/Daren/stock/getCollectionList.action";  
52 -  
53 -//生活号主页  
54 -static NSString *const CNLifeHomeUrl = API_Host@"/Daren/sub/getLifeHome.action";  
55 -  
56 -//删除生活号  
57 -static NSString *const CNLiveLifeDeleteUrl = API_Host@"/Daren/sub/deleteLifeSubs.action";  
58 -  
59 -//通过手机号查找好友  
60 -static NSString *const CNSearchByPhoneNumUrl = API_Contact@"/CnliveIM/notify/searchByPhoneNumber.action";  
61 -  
62 -  
63 -//获取已关注的达人列表  
64 -static NSString *const CNGetDarensUrl = API_Host@"/Daren/sub/getDarens.action";  
65 -  
66 -//获取达人的粉丝列表  
67 -static NSString *const CNGetFansUrl = API_Host@"/Daren/sub/getFans.action";  
68 -  
69 -//评价列表  
70 -static NSString *const CNGetDarenCommentUrl = API_Host@"/Daren/hudong/getDarenComment.action";  
71 -  
72 -//获取达人相关信息  
73 -static NSString *const CNGetDarenByIdUrl = API_Host@"/Daren/member/getDarenById.action";  
74 -  
75 -#pragma mark -  
76 -#pragma mark - 定义消息  
77 -//发送自定义消息  
78 -static NSString *const CNFriendshipVerifyUrl = API_Contact@"/CnliveIM/notify/custMsgPush.action";  
79 -//音视频自定义消息  
80 -static NSString *const CNVideoOrAudioUrl = API_Contact@"/CnliveIM/notify/custMsgPush.action";  
81 -  
82 -//音视频取得房间号  
83 -static NSString *const CNVideoOrAudioGetRoomID = API_Host@"/Daren/common/getRoomId.action";  
84 -  
85 -//发送文本消息  
86 -static NSString *const CNTextMsgPushUrl = API_Contact@"/CnliveIM/notify/textMsgPush.action";  
87 -  
88 -//生成二维码  
89 -static NSString *const CNGenOrResetCodeUrl = API_Host@"/Daren/qrcode/genOrResetQrCode.action";  
90 -//撤回消息  
91 -static NSString *const CNRevokebatchsendmsg = API_Contact@"/CnliveIM/notify/revokeBatchSendMsg.action";  
92 -//检验二维码  
93 -static NSString *const CNCheckOrNewCodeUrl = API_Host@"/Daren/qrcode/checkQrCode.action";  
94 -//扫码支付生成订单  
95 -static NSString *const CNCheckAddOrderForDarenUrl =API_Host@"/Daren/order/addOrder.action";  
96 -//目击者  
97 -static NSString *const CNChecksigninfoDarenUrl = API_Host@"/Daren/sign/checkSignInfo.action";  
98 -//扫码返回活动地址  
99 -static NSString *const CNCheckQrActivityDarenUrl = API_Host@"/Daren/sign/checkQrActivity.action";  
100 -  
101 -//获取Gif表情包列表  
102 -static NSString *const CNGifFaceShopListUrl = API_Host@"/Daren/section/getSectionList.action";  
103 -//获取一个表情包信息  
104 -static NSString *const CNGetGifFacePackageUrl = API_Host@"/Daren/section/getSectionDetail.action";  
105 -  
106 -#pragma mark -  
107 -#pragma mark - 地址管理相关  
108 -//添加联系人  
109 -static NSString *const CNAddContactUrl = API_Host@"/Daren/contact/addContact.action";  
110 -  
111 -//查询联系人  
112 -static NSString *const CNReadContacstUrl = API_Host@"/Daren/contact/readContacts.action";  
113 -  
114 -//删除联系人  
115 -static NSString *const CNDeleteContacstUrl = API_Host@"/Daren/contact/deleteContact.action";  
116 -  
117 -//更新联系人  
118 -static NSString *const CNUpdateContacstUrl = API_Host@"/Daren/contact/updateContact.action";  
119 -  
120 -  
121 -#pragma mark -  
122 -#pragma mark - 订单相关  
123 -//取消订单  
124 -static NSString *const CNOrderCancelUrl = API_Host@"/Daren/order/cancelOrder.action";  
125 -  
126 -//订单有误  
127 -static NSString *const CNOrderErrorUrl = API_Host@"/Daren/order/correctOrder.action";  
128 -  
129 -//查看订单  
130 -static NSString *const CNOrderCheckUrl = API_Host@"/Daren/order/getOrderItem.action";  
131 -  
132 -//生成订单  
133 -static NSString *const CNOrderCreateUrl = API_Host@"/Daren/order/createOrder.action";  
134 -  
135 -//修改订单  
136 -static NSString *const CNOrderModifyUrl = API_Host@"/Daren/order/modifyOrder.action";  
137 -  
138 -//确认订单  
139 -static NSString *const CNOrderConfirmUrl = API_Host@"/Daren/order/confirmOrder.action";  
140 -  
141 -//获取订单详情  
142 -static NSString *const CNGetOrderDetailUrl = API_Host@"/Daren/order/getOrderItem.action";  
143 -  
144 -//根据订单状态获取订单列表  
145 -static NSString *const CNGetOrderListUrl = API_Host@"/Daren/order/getOrdersByStatus.action";  
146 -  
147 -//申请退款  
148 -static NSString *const CNApplyRefundUrl = API_Host@"/Daren/order/applyRefund.action";  
149 -  
150 -//删除订单  
151 -static NSString *const CNDeleteOrderUrl = API_Host@"/Daren/order/deleteOrder.action";  
152 -  
153 -//催单  
154 -static NSString *const CNRemindOrderUrl = API_Contact@"/CnliveIM/notify/remind.action";  
155 -  
156 -//确认收货  
157 -static NSString *const CNConfirmRecvUrl = API_Host@"/Daren/order/confirmRecv.action";  
158 -  
159 -//评价  
160 -static NSString *const CNCommentDarenUrl = API_Host@"/Daren/hudong/commentDaren.action";  
161 -  
162 -//退款原因  
163 -static NSString *const CNRefunfReasonUrl = API_Refund@"/json/refundReason.json";  
164 -  
165 -  
166 -#pragma mark - 发布  
167 -  
168 -//发布视频 短视频接入点播云接口  
169 -static NSString *const CNPublishVideoUrl = API_OpenApi2@"/vod_epg/svInputMamForAPP";  
170 -  
171 -//发布视频 短视频上传获取bucket接口(七牛)  
172 -static NSString *const CNUploadGetBucketUrl = API_OpenApi2@"/storage/getStorageInfo";  
173 -  
174 -//发布图片,上传鉴权接口(七牛)  
175 -static NSString *const CNUploadAuthForApp = API_OpenApi2@"/vod_epg/getUploadAuthForApp";  
176 -  
177 -//上传视频成功的回调url  
178 -static NSString *const CNStockDarenVideoCallBackUrl = API_Host@"/Daren/stock/stockDarenVideo.action";  
179 -  
180 -//发布获取上冰雪banner url  
181 -static NSString *const CNPublishGetSnowBannerUrl = API_Host@"/Daren/snow/getSnowBanner.action";  
182 -  
183 -  
184 -#pragma mark - 检验群公告敏感词  
185 -  
186 -static NSString *const CNCheckFeaturedGroup = API_Host@"/Daren/announcementCheck/checkFeaturedGroup.action";  
187 -  
188 -#pragma mark - 特色群组活动管理  
189 -//获取群组活动收费记录  
190 -static NSString *const CNActiveGroupFundsRecordsUrl = API_Host@"/Daren/groupManagement/groupFundsRecords.action";  
191 -  
192 -//获取投票详情  
193 -static NSString *const CNGetVoteMsgSourceUrl = API_Host@"/Daren/vote/getVoteMsg.action";  
194 -  
195 -//获取收费详情  
196 -static NSString *const CNQueryActivityFeeSourceUrl = API_Host@"/Daren/groupManagement/queryActivityFee.action";  
197 -  
198 -//历任群主列表  
199 -static NSString *const CNGetSuccessiveGroupListUrl = API_Host@"/Daren/groupManagement/getSuccessiveGroupList.action";  
200 -  
201 -//获取投票记录的列表  
202 -static NSString *const CNGetVotesSourceListUrl = API_Host@"/Daren/vote/getVotes.action";  
203 -  
204 -//拉起支付并做定点预处理  
205 -static NSString *const CNPayByGroupMembersUrl = API_Host@"/Daren/groupManagement/payByGroupMembers.action";  
206 -  
207 -//获取支付状态  
208 -static NSString *const CNCheckPaymentSourceUrl = API_Host@"/Daren/groupManagement/checkPayment.action";  
209 -  
210 -//投票  
211 -static NSString *const CNGroupVoteSourceUrl = API_Host@"/Daren/vote/groupVote.action";  
212 -  
213 -//删除投票  
214 -static NSString *const CNStopVoteSourceUrl = API_Host@"/Daren/vote/stopVote.action";  
215 -  
216 -//获取提现的秘钥获取  
217 -static NSString *const CNGetCurrentKeySourceUrl = API_Host@"/Daren/groupManagement/getCurrentKey.action";  
218 -  
219 -//验证秘钥的发送  
220 -static NSString *const CNSendSecretKeySourceUrl = API_Host@"/Daren/groupManagement/sendSecretKey.action";  
221 -  
222 -//秘钥的验证  
223 -static NSString *const CNGroupManagementCheckKeyUrl = API_Host@"/Daren/groupManagement/checkKey.action";  
224 -  
225 -//网++支付的预支付订单生成 & 网++ 余额支付  
226 -static NSString *const CNGroupWjjPayWjjPrePaySourceUrl = API_Host@"/Daren/wjjPay/unifiedOrder.action";  
227 -  
228 -//网++ 余额支付  
229 -static NSString *const CNGroupWjjPayWjjSourceUrl = API_Host@"/Daren/wjjPay/unifiedPay.action";  
230 -  
231 -//返回公钥&随机AESKey  
232 -static NSString *const CNGroupReturnEncryptKeyUrl = API_Host@"/Daren/wjjPay/getKey.action";  
233 -  
234 -//获取分享下载的地址  
235 -static NSString *const CNShareDownloadSourceUrl = API_Host@"/Daren/common/appDownLoadUrl.action";  
236 -  
237 -//获取分享达人主页的地址  
238 -static NSString *const CNShareDarenHomeSourceUrl = API_Host@"/Daren/common/shareDarenHomePage.action";  
239 -  
240 -//扫码获取棉花糖信息  
241 -static NSString *const CNOrderMHTSourceUrl = API_Host@"/Daren/order/addOrderMHT.action";  
242 -  
243 -//订阅号特色群群组转账状态查询  
244 -static NSString *const CNQueryTransferUrl = API_Host@"/Daren/groupManagement/getQueryTransfer.action";  
245 -  
246 -#pragma mark -  
247 -#pragma mark - 朋友圈  
248 -//发布上冰雪图文  
249 -static NSString *const CNPublishSnowUrl = API_Host@"/Daren/snow/releaseSnow.action";  
250 -  
251 -//发布朋友圈  
252 -static NSString *const CNPublishFriendsCircleUrl = API_Host@"/Daren/moment/releaseMoment.action";  
253 -// 选择圈子  
254 -static NSString *const CNGetPublishTypeListUrl = API_Host@"/Daren/publishType/getPublishTypeList.action";  
255 -  
256 -//目击者发布朋友圈  
257 -static NSString *const CNPublishWintessCircleUrl = API_Host@"/Daren/witness/releaseWitness.action";  
258 -//获取朋友圈内容  
259 -static NSString *const CNGetFriendsCircleContentUrl = API_Host@"/Daren/moment/friendMoment.action";  
260 -  
261 -//获取我的朋友圈内容(我的发布记录)  
262 -static NSString *const CNGetMyCircleContentUrl = API_Host@"/Daren/moment/myMoment.action";  
263 -  
264 -//朋友圈评论或回复  
265 -static NSString *const CNFirendsCircleCommentReplyUrl = API_Host@"/Daren/hudong/commentMoment.action";  
266 -  
267 -//删除朋友圈评论  
268 -static NSString *const CNFirendsCircleCommentDeleteUrl = API_OpenApi2@"/commentServices/services/commentForChat/delete";  
269 -  
270 -//删除好友时,调用接口  
271 -static NSString *const CNDeleteFriendUrl = API_Host@"/Daren/sub/deleteFriend.action";  
272 -  
273 -//删除我的朋友圈某条内容  
274 -static NSString *const CNDeleteMyMomentItemUrl = API_Host@"/Daren/moment/deleteMyMoment.action";  
275 -  
276 -//删除我的相关收藏  
277 -static NSString *const CNDeleteMyCollectionItemUrl = API_Host@"/Daren/stock/collection.action";  
278 -  
279 -//读取朋友圈某条动态的评论(含回复)  
280 -static NSString *const CNGetMomentAllCommontUrl = API_OpenApi2@"/commentServices/services/commentForChat/readAll";  
281 -  
282 -//读取朋友圈某条动态的点赞列表  
283 -static NSString *const CNGetMomentAllFavoriteUrl = API_OpenApi2@"/support/readAll";  
284 -  
285 -//读取朋友圈某条动态的点赞列表(新接口)  
286 -static NSString *const CNGetMomentAllNEWFavoriteUrl = API_OpenApi2@"/support/loadSupport";  
287 -  
288 -//朋友圈某条动态点赞  
289 -static NSString *const CNFavoriteMomentUrl = API_Host@"/Daren/moment/praiseMoment.action";  
290 -  
291 -////获取朋友圈新消息数量  
292 -//static NSString *const CNGetMomentNewMsgCountUrl = API_Host@"/Daren/moment/getNewMsg.action";  
293 -  
294 -//获取朋友圈新消息详细  
295 -static NSString *const CNGetMomentNewMsgListUrl = API_Host@"/Daren/moment/getNewMsgList.action";  
296 -  
297 -//获取朋友圈记录详情  
298 -static NSString *const CNGetMomentDetailUrl = API_Host@"/Daren/moment/getMomentDetail.action";  
299 -  
300 -//清空新消息  
301 -static NSString *const CNDeleteNewMsgUrl = API_Host@"/Daren/moment/deleteNewMsg.action";  
302 -  
303 -//个人资料相册  
304 -static NSString *const CNLookUpMyMsgCommontUrl = API_Host@"/Daren/moment/lookUpMyMsg.action";  
305 -  
306 -#pragma mark -  
307 -#pragma mark - 分类  
308 -//分类频道(旧)  
309 -//static NSString *const CNCategoryGetChannelUrl = API_Host@"/Daren/center/getChannel.action";  
310 -//分类频道(新)  
311 -static NSString *const CNCategoryGetChannelUrl = API_Classify@"/contentApi/app";  
312 -//分类首页(旧 18.5.28)  
313 -//static NSString *const CNCategoryCenterPageUrl = API_Host@"/Daren/center/getCenterPage.action";  
314 -//分类首页(新)  
315 -static NSString *const CNCategoryCenterPageUrl = API_Host@"/Daren/classify/getNewCenterPage.action";  
316 -  
317 -//分类次级页面-达人列表  
318 -static NSString *const CNGetDarensByCategoryUrl = API_Host@"/Daren/classify/getNewDarensByCategory.action";  
319 -//static NSString *const CNGetDarensByCategoryUrl = API_Host@"/Daren/center/getDarensByCategory.action";  
320 -  
321 -//分类次级页面-已关注达人列表  
322 -static NSString *const CNGetDarensAlreadyUrl = API_Host@"/Daren/classify/getDarenList.action";  
323 -//分类次级页面-未关注达人列表  
324 -static NSString *const CNGetDarensNeverUrl = API_Host@"/Daren/classify/getUnFansOrDarenBean.action";  
325 -// 关注达人  
326 -static NSString *const CNAddDarenSubUrl = API_Host@"/Daren/sub/addDarenSub.action";  
327 -// 取消关注  
328 -static NSString *const CNCancelDarenSubUrl = API_Host@"/Daren/sub/cancelDarenSub.action";  
329 -//分类-搜索  
330 -static NSString *const CNCategorySearchDarenUrl = API_Host@"/Daren/search/searchDaren.action";  
331 -//点播-获取评论列表  
332 -static NSString *const CNGetCommentListUrl = API_OpenApi2@"/commentServices/services/commentForHdBySpId/loadComment";  
333 -//点播-评论一条节目  
334 -static NSString *const CNCommentProgrammaUrl = API_OpenApi2@"/commentServices/commentForHdBySpId/insertComment";  
335 -//点播-点赞一条节目  
336 -static NSString *const CNPraiseProgrammaUrl = API_OpenApi2@"/commentServices/commentForHdBySpId/praiseComment";  
337 -  
338 -#pragma mark - 听见中国  
339 -//获取音频播放详情  
340 -static NSString *const CNAudioPlayerDetailUrl = API_Classify@"/playApi/play";  
341 -//获取音频播放列表  
342 -static NSString *const CNAlbumAudioListUrl = API_Classify@"/contentApi/albumAudioList";  
343 -//播放进度回调  
344 -static NSString *const CNAudioRecordScheduleUrl = API_Classify@"/recordApi/end";  
345 -//历史记录列表  
346 -static NSString *const CNAudioPastRecordsUrl = API_Classify@"/recordApi/getRecords";  
347 -//删除历史记录列表  
348 -static NSString *const CNAudioDeletePastRecordsUrl = API_Classify@"/recordApi/delete";  
349 -// 简介列表  
350 -static NSString *const CNAlbumMsgUrl = API_Classify@"/contentApi/getAlbumMsg";  
351 -//节目列表  
352 -static NSString *const CNAlbumListUrl = API_Classify@"/contentApi/albumAudioList";  
353 -#pragma mark -  
354 -#pragma mark - 点播  
355 -//视频点播  
356 -static NSString *const CNVideoDemandUrl = API_Classify@"/playApi/play";  
357 -//查看全部  
358 -static NSString *const CNLookAtAllUrl = API_Classify@"/playApi/moreList";  
359 -  
360 -static NSString *const CNCommentsListUrl = API_OpenApi2@"/commentServices/services/commentForChat/loadComment";  
361 -static NSString *const CNCommentsAddUrl = API_OpenApi2@"/commentServices/services/commentForChat/insert";  
362 -static NSString *const CNCommentsDeleteUrl = API_OpenApi2@"/commentServices/services/commentForChat/delete";  
363 -  
364 -  
365 -//帮助与反馈上传反馈信息&图片  
366 -static NSString *const CNUpdateFeedbackUrl = API_Host@"/Daren/feedback/collectFeedback.action";  
367 -//检查扫描结果是否有效  
368 -static NSString *const CNCheckQrCodeUrl = API_Host@"/Daren/qrcode/checkQrCodeUrl.action";  
369 -  
370 -// Native 分类  
371 -// 获取所有频道列表  
372 -static NSString *const CNAllChannelList = @"http://intertv.cnlive.com/zgw/api/channellist";  
373 -//App配置信息  
374 -static NSString *const AppStart = @"http://intertv.cnlive.com/zgw/api/appstart";  
375 -  
376 -#pragma mark -  
377 -#pragma mark - 申请目击者  
378 -// 目击者身份信息申请  
379 -static NSString *const CNApplyWitnessUrl = API_Host@"/Daren/witness/applyWitness.action";  
380 -// 目击者身份校验  
381 -static NSString *const CNCheckWitnessUrl = API_Host@"/Daren/witness/checkWitness.action";  
382 -//获取订阅号主页内容  
383 -static NSString *const CNGetSpHomePageInfoUrl = API_Classify"/contentApi/getSpInfo";  
384 -//获取订阅号分页内容  
385 -static NSString *const CNGetSpContentListUrl = API_Classify"/contentApi/getSpContentList";  
386 -//关注订阅号  
387 -static NSString *const CNGetSpAddFollowsUrl = API_Host@"/Daren/group/addFollows.action";  
388 -//取消关注订阅号  
389 -static NSString *const CNGetSpUserCancelFollowUrl = API_Host@"/Daren/group/userCancelFollow.action";  
390 -//加入群聊  
391 -static NSString *const CNGetSpUserAddGroupUrl = API_Host@"/Daren/group/userAddGroup.action";  
392 -//获取全部粉丝  
393 -static NSString *const CNGetSPAllFansUrl = API_Host@"/Daren/group/getFans.action";  
394 -//订阅号加入群聊  
395 -static NSString *const CNGetUserAddGroupUrl = API_Host@"/Daren/group/userAddGroup.action";  
396 -#pragma mark -  
397 -#pragma mark - 我的  
398 -// 用户uid检测达人状态  
399 -static NSString *const CNCheckDarenUrl = API_Host@"/Daren/member/checkDaren.action";  
400 -// 获取我的余额  
401 -static NSString *const CNGetBalanceUrl = API_Host@"/Daren/member/getBalance.action";  
402 -// 获取交易记录  
403 -static NSString *const CNGetTradingRecordUrl = API_Host@"/Daren/transaction/getTransactionRecord.action";  
404 -// 获取与商户的交易记录  
405 -static NSString *const CNViewTransferRecordUrl = API_Host@"/Daren/groupManagement/viewTransferRecord.action";  
406 -// 交易记录详情  
407 -static NSString *const CNGetRecordSourceMsgUrl = API_Host@"/Daren/transaction/getRecordSourceDetail.action";  
408 -// 是否有支付密码  
409 -static NSString *const CNPasswordIsExistingUrl = API_Host@"/Daren/wjjPay/passwordIsExisting.action";  
410 -// 设置支付密码  
411 -static NSString *const CNSetPasswordUrl = API_Host@"/Daren/wjjPay/setPassword.action";  
412 -// 更改密码时发送验证码  
413 -static NSString *const CNSendSMSSetPasswordUrl = API_Host@"/Daren/sms/sendSMS.action";  
414 -// 更改密码时验证验证码  
415 -static NSString *const CNCheckVerifyCodeSetPasswordUrl = API_Host@"/Daren/sms/checkVerifyCode.action";  
416 -// 查看是否允许好友查看生活圈的状态  
417 -static NSString *const CNIsAllowFindStrangerSwitchUrl = API_Host@"/Daren/moment/findStrangerSwitch.action";  
418 -// 切换是否允许好友查看生活圈  
419 -static NSString *const CNSwitchAllowStrangerUrl = API_Host@"/Daren/moment/strangerSwitch.action";  
420 -  
421 -#pragma mark - 积分  
422 -static NSString *const CNIntegralGetTasksUrl = API_Host@"/Daren/integral/getTasks.action";//任务列表  
423 -static NSString *const CNIntegralAddUrl = API_Host@"/Daren/integral/addTask.action";//增加积分  
424 -static NSString *const CNIntegralDetailsUrl = API_Host@"/Daren/integral/integralRecord.action";//积分明细  
425 -static NSString *const CNIntegralSignInUrl = API_Host@"/Daren/integral/checkIn.action";//签到  
426 -static NSString *const CNCancellationUrl = API_Host@"/Daren/common/cancellationAccount.action";//注销账号  
427 -  
428 -#pragma mark - 隐私  
429 -static NSString *const CNPrivacyNoLetHimSeeListUrl = API_Host@"/Daren/moment/getDoNotletFsids.action";//不让他看列表  
430 -static NSString *const CNPrivacyNoSeeHimListUrl = API_Host@"/Daren/moment/getNoLookFsids.action";//不看他列表  
431 -static NSString *const CNPrivacyNoLetHimSeeAddUrl = API_Host@"/Daren/moment/addDoNotletFsids.action";//不让他看增加  
432 -static NSString *const CNPrivacyNoSeeHimAddUrl = API_Host@"/Daren/moment/addNoLookFsids.action";//不看他增加  
433 -  
434 -#pragma mark - 订阅号  
435 -//选择你感兴趣的内容  
436 -static NSString *const CNInterestedContentUrl = API_Host@"/Daren/group/getSpTags.action";  
437 -//推荐订阅号  
438 -static NSString *const CNRecommendedSubscribeUrl = API_Host@"/Daren/group/getSubscriptionNumbers.action";  
439 -//推荐订阅号完成  
440 -static NSString *const CNRecommendedSubscribeFinishUrl = API_Host@"/Daren/group/userFollowAddGroup.action";  
441 -//全部订阅号(不传sid)  
442 -static NSString *const CNAllSubscribeUrl = API_Host@"/Daren/group/getMoreSubscriptionNumbers.action";  
443 -//全部订阅号(传sid)  
444 -static NSString *const CNAllSubscribeSidUrl = API_Host@"/Daren/group/getCategorySubscriptionNumbers.action";  
445 -//关注订阅号  
446 -static NSString *const CNAddAttentionSubscribeUrl = API_Host@"/Daren/group/addFollows.action";  
447 -//取消关注订阅号  
448 -static NSString *const CNCancelAttentionSubscribeUrl = API_Host@"/Daren/group/userCancelFollow.action";  
449 -//加入群聊订阅号  
450 -static NSString *const CNJumpGroupSubscribeUrl = API_Host@"/Daren/group/userAddGroup.action";  
451 -//设置默认订阅号  
452 -static NSString *const CNSubscribeDefaultAddFollowsUrl = API_Host@"/Daren/group/defaultAddFollows.action";  
453 -  
454 -#pragma mark - App配置信息  
455 -// 获取最新版本信息  
456 -static NSString *const CNGetNewestVersionUrl = API_Host@"/Daren/common/getNewestVersion.action";  
457 -// 获取App配置信息(统一)  
458 -static NSString *const CNGetCommonMsgUrl = API_Host@"/Daren/common/getCommonMsg.action";  
459 -  
460 -#pragma mark 活动投票  
461 -//创建活动收费  
462 -static NSString *const CNAddGroupCharge = API_Host@"/Daren/groupManagement/addGroupCharge.action";  
463 -//邀请加群  
464 -static NSString *const CNInvitationAddgroup = API_Host@"/Daren/groupManagement/invitationAddGroup.action";  
465 -//获取通知列表  
466 -static NSString *const CNGetnoticesubs = API_Host@"/Daren/sub/getNoticeSubs.action";  
467 -// 同意加入群  
468 -static NSString *const CNAgreeAddgroup = API_Contact@"/CnliveIM/notify/addGroup.action"; //@"https://wjjim.cnlive.com/CnliveIM/notify/addGroup.action"  
469 -// 创建投票  
470 -static NSString *const CNAddvote = API_Host@"/Daren/vote/addVote.action";  
471 -//储存历任群主,再特色群创建和转让群主的时候创建  
472 -static NSString *const CNSavesuccessivegroup = API_Host@"/Daren/groupManagement/saveSuccessiveGroup.action";  
473 -  
474 -static NSString *const CNGetAgreementH5Url = API_Refund@"/json/wjj_user_terms.json";  
475 -  
476 -static NSString *const CNWeChatPayUrl = API_ThirdPay@"/Daren/pay/notifyWeChatPay.action";  
477 -  
478 -static NSString *const CNAliPayUrl = API_ThirdPay@"/Daren/pay/notifyAliPay.action";  
479 -  
480 -static NSString *const CNUnionPayUrl = API_ThirdPay@"/Daren/pay/notifyUnionPay.action";  
481 -  
482 -static NSString *const CNJSFYNotifyUrl = API_ThirdPay@"/Daren/pay/jsfyPayCallback.action";  
483 -  
484 -//获取特色群限制人数  
485 -static NSString *const CNGroupMemberLimit = @"https://wjj.ys1.cnliveimg.com/json/GroupMemberLimit.json";  
486 -  
487 -#pragma mark -  
488 -#pragma mark - 获取观察者相关  
489 -//获取观察者相关数据  
490 -static NSString *const CNWitnessPublishContent = API_Host@"/Daren/witness/getWitnessPublishContent.action";  
491 -  
492 -//删除观察者相关数据  
493 -static NSString *const CNDeleteOrUpdateWitnessURL = API_Host@"/Daren/witness/deleteOrUpdateWitnessPublish.action";  
494 -  
495 -#pragma mark 直播  
496 -  
497 -//取得相关视频  
498 -static NSString *const CNPlayerBackOrRelatedUrl = API_Classify@"/contentApi/playList";  
499 -  
500 -//取得直播数据  
501 -static NSString *const CNPlayerDetailUrl = API_Classify@"/playApi/play";  
502 -  
503 -//预约  
504 -static NSString *const CNPlayerOrderUrl = API_Classify@"/contentApi/liveAppoint";  
505 -  
506 -//获取直播活动播放信息4App  
507 -static NSString *const CNLiveActivityPlayInfo4App = API_OpenApi2@"/live_epg/getLiveActivityPlayInfo4App";  
508 -//获取直播间详情  
509 -static NSString *const CNLiveRoomInfo = API_Classify@"/playApi/play";  
510 -  
511 -static NSString *const CNNewLiveInfoWeb = API_Classify@"/contentApi/";  
512 -  
513 -//获取点播播放信息  
514 -static NSString *const CNLiveGetVodRates = API_OpenApi2@"/vod_epg/getRates";  
515 -  
516 -//活动举报  
517 -static NSString *const CNLiveActivityReportContent = API_Report@"/CnliveMobile/json/report.action";  
518 -  
519 -//订阅号关注  
520 -static NSString *const CNLiveSPAddFollow = API_Host@"/Daren/group/addFollows.action";  
521 -  
522 -//取消订阅号关注  
523 -static NSString *const CNLiveSPCancelFollow = API_Host@"/Daren/group/userCancelFollow.action";  
524 -  
525 -//订阅号取消管制  
526 -  
527 -  
528 -#pragma mark 黑名单  
529 -//校验黑名单  
530 -static NSString *const CNCheckBlackUser = API_Contact@"/CnliveIM/notify/checkBlackList.action";  
531 -//添加黑名单  
532 -static NSString *const CNBlackListAdd = API_Host@"/Daren/blackList/blackListAdd.action";  
533 -//删除黑名单  
534 -static NSString *const CNBlackListDelete = API_Host @"/Daren/blackList/blackListDelete.action";  
535 -//黑名单列表  
536 -static NSString *const CNBlackList = API_Host@"/Daren/blackList/blackListGet.action";  
537 -  
538 -#pragma mark 好友生活圈观看权限设置  
539 -//增加不让他人看  
540 -static NSString *const CNAdddonotletfsids = API_Host@"/Daren/moment/addDoNotletFsids.action";  
541 -//取消不让他人看  
542 -static NSString *const CNDeldonotletfsids = API_Host@"/Daren/moment/delDoNotletFsids.action";  
543 -//不让他看人列表  
544 -static NSString *const CNGetdonotletfsids = API_Host@"/Daren/moment/getDoNotletFsids.action";  
545 -  
546 -//增加不看他的  
547 -static NSString *const CNAddnolookfsids = API_Host@"/Daren/moment/addNoLookFsids.action";  
548 -//取消不看他的  
549 -static NSString *const CNDelnolookfsids = API_Host@"/Daren/moment/delNoLookFsids.action";  
550 -//不看他的列表  
551 -static NSString *const CNGetnolookfsids = API_Host@"/Daren/moment/getNoLookFsids.action";  
552 -//  
553 -////////////////////////////////////////////////////////  
554 -//////////// 数据库---表名  
555 -////////////////////////////////////////////////////////  
556 -  
557 -//达人个人主页表名  
558 -static NSString *const DarenHomeRealm = @"DarenHome";  
559 -  
560 -//达人列表表名  
561 -static NSString *const DarenSubsRealm = @"DarenSubs";  
562 -  
563 -//生活列表表名  
564 -static NSString *const LifeSubsRealm = @"LifeSubs";  
565 -  
566 -//系统订单列表表名  
567 -static NSString *const LifeHomeRealm = @"LifeHome";  
568 -  
569 -//朋友圈新消息表名  
570 -static NSString *const MomentNewMsgRealm = @"MomentNewMsg";  
571 -  
572 -#endif /* NetworkAPIs_h */