commit | author | age
|
6e1425
|
1 |
// |
H |
2 |
// GHWConstants.h |
|
3 |
// WASDK |
|
4 |
// |
|
5 |
// Created by GHW-T-01 on 15/5/21. |
|
6 |
// Copyright (c) 2015年 Wuyx. All rights reserved. |
|
7 |
// |
|
8 |
|
|
9 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
#ifndef WASDK_GHWConstants_h |
|
12 |
#define WASDK_GHWConstants_h |
|
13 |
|
3eecf8
|
14 |
#define WAWS(weakSelf) __weak __typeof(self)weakSelf = self; |
6e1425
|
15 |
|
H |
16 |
|
|
17 |
|
|
18 |
extern NSString *const WASDK_FLOW_TYPE_DEFAULT; |
|
19 |
extern NSString *const WASDK_FLOW_TYPE_REBIND; |
|
20 |
|
|
21 |
extern NSString *const WASDK_PARAM_KEY_SDK_VER; |
ab47ec
|
22 |
extern NSString *const WASDK_PARAM_KEY_SDK_TYPE; |
H |
23 |
extern NSString *const WASDK_PARAM_KEY_RUN_PLATFORM; |
633752
|
24 |
extern NSString *const WASDK_PARAM_KEY_GAME_PLATFORM; |
L |
25 |
extern NSString *const WASDK_PARAM_KEY_REQUEST_FROM; |
6e1425
|
26 |
extern NSString *const WASDK_PARAM_KEY_SDK_ID; |
H |
27 |
extern NSString *const WASDK_PARAM_KEY_PATCH_ID; |
|
28 |
extern NSString *const WASDK_PARAM_KEY_PATCH_VER; |
|
29 |
extern NSString *const WASDK_PARAM_KEY_USER_ID; |
|
30 |
extern NSString *const WASDK_PARAM_KEY_PUSER_ID; |
|
31 |
extern NSString *const WASDK_PARAM_KEY_PUSER_ID_LOWER; |
|
32 |
extern NSString *const WASDK_PARAM_KEY_PUSER_IDS; |
|
33 |
extern NSString *const WASDK_PARAM_KEY_GAMEUSER_ID; |
ab47ec
|
34 |
extern NSString *const WASDK_PARAM_KEY_NICK_NAME; |
H |
35 |
extern NSString *const WASDK_PARAM_KEY_PUSER_NAME; |
|
36 |
extern NSString *const WASDK_PARAM_KEY_USER_FLAG; |
6e1425
|
37 |
extern NSString *const WASDK_PARAM_KEY_SERVER_ID; |
H |
38 |
extern NSString *const WASDK_PARAM_KEY_OS; |
|
39 |
extern NSString *const WASDK_PARAM_KEY_OS_VERSION; |
|
40 |
extern NSString *const WASDK_PARAM_KEY_MOBILE_MODEL; |
|
41 |
extern NSString *const WASDK_PARAM_KEY_MODEL; |
|
42 |
extern NSString *const WASDK_PARAM_KEY_LANGUAGE; |
|
43 |
extern NSString *const WASDK_PARAM_KEY_CARRIER; |
|
44 |
extern NSString *const WASDK_PARAM_KEY_WIFI; |
|
45 |
extern NSString *const WASDK_PARAM_KEY_MAC; |
|
46 |
extern NSString *const WASDK_PARAM_KEY_PACKAGE_ID; |
|
47 |
extern NSString *const WASDK_PARAM_KEY_PACKAGE_VER_NAME; |
|
48 |
extern NSString *const WASDK_PARAM_KEY_PACKAGE_VER_CODE; |
|
49 |
extern NSString *const WASDK_PARAM_KEY_CRASH_TIME_STAMP; |
|
50 |
extern NSString *const WASDK_PARAM_KEY_EXCEPTION_INFO; |
|
51 |
extern NSString *const WASDK_PARAM_KEY_PLATFORM; |
|
52 |
extern NSString *const WASDK_PARAM_KEY_ACCESSTOKEN; |
|
53 |
extern NSString *const WASDK_PARAM_KEY_WASDK_TOKEN; |
|
54 |
extern NSString *const WASDK_PARAM_KEY_OTS; |
|
55 |
extern NSString *const WASDK_PARAM_KEY_IDFA; |
|
56 |
extern NSString *const WASDK_PARAM_KEY_IDFV; |
|
57 |
extern NSString *const WASDK_PARAM_KEY_CLIENT_ID; |
|
58 |
extern NSString *const WASDK_PARAM_KEY_APP_ID; |
|
59 |
extern NSString *const WASDK_PARAM_KEY_APP_KEY; |
|
60 |
extern NSString *const WASDK_PARAM_KEY_APP_VER; |
|
61 |
extern NSString *const WASDK_PARAM_KEY_PUBLISH_CHANNEL; |
|
62 |
extern NSString *const WASDK_PARAM_KEY_DEVICE_TYPE; |
|
63 |
extern NSString *const WASDK_PARAM_KEY_DEVICE_BRAND; |
|
64 |
extern NSString *const WASDK_PARAM_KEY_DEVICE_NAME; |
|
65 |
extern NSString *const WASDK_PARAM_KEY_PAGE_NO; |
633752
|
66 |
extern NSString *const WASDK_PARAM_KEY_PAGE; |
6e1425
|
67 |
extern NSString *const WASDK_PARAM_KEY_PAGE_SIZE; |
H |
68 |
extern NSString *const WASDK_PARAM_KEY_CHANNEL; |
|
69 |
extern NSString *const WASDK_PARAM_KEY_BIND_TYPE; |
|
70 |
extern NSString *const WASDK_PARAM_KEY_TRX_ID; |
|
71 |
extern NSString *const WASDK_PARAM_KEY_ORDER_ID; |
|
72 |
extern NSString *const WASDK_PARAM_KEY_ORDER_IDS; |
|
73 |
extern NSString *const WASDK_PARAM_KEY_ORDER_ID_LIST; |
|
74 |
extern NSString *const WASDK_PARAM_KEY_ORDER_DICTIONARY; |
|
75 |
extern NSString *const WASDK_PARAM_KEY_TRX_TOKEN; |
|
76 |
extern NSString *const WASDK_PARAM_KEY_STATUS; |
|
77 |
extern NSString *const WASDK_PARAM_KEY_PAY_AMOUNT_MICROS; |
|
78 |
extern NSString *const WASDK_PARAM_KEY_OSIGN; |
|
79 |
extern NSString *const WASDK_PARAM_KEY_CURRENCY_CODE; |
|
80 |
extern NSString *const WASDK_PARAM_KEY_EXT_INFO; |
d08f6f
|
81 |
extern NSString *const WASDK_PARAM_KEY_EXTRA; |
15fc5b
|
82 |
extern NSString *const WASDK_PARAM_KEY_EXT_VERIFYINFO; |
3eecf8
|
83 |
extern NSString *const WASDK_PARAM_KEY_EXTRA_APPLEAUTHORIZATIONCODE; |
L |
84 |
|
15fc5b
|
85 |
|
6e1425
|
86 |
extern NSString *const WASDK_PARAM_KEY_COLLECTION_INFO; |
d08f6f
|
87 |
extern NSString *const WASDK_PARAM_KEY_SDKEXTINFO; |
6e1425
|
88 |
extern NSString *const WASDK_PARAM_KEY_ORDER_AMOUNT_MICROS; |
H |
89 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_ID; |
|
90 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_NAME; |
e395b5
|
91 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_DESC; |
6e1425
|
92 |
extern NSString *const WASDK_PARAM_KEY_IAP_URL_PRO_LIST; |
H |
93 |
extern NSString *const WASDK_PARAM_KEY_IAP_URL_CREATE_ORDER; |
|
94 |
extern NSString *const WASDK_PARAM_KEY_IAP_URL_NOTIFY_SERVER; |
|
95 |
extern NSString *const WASDK_PARAM_KEY_SEND_SEQ; |
15fc5b
|
96 |
extern NSString *const WASDK_PARAM_KEY_APPLE_ABNORMAL; |
L |
97 |
|
4ae86a
|
98 |
extern NSString *const WASDK_PARAM_KEY_URL_TYPE; |
L |
99 |
extern NSString *const WASDK_PARAM_KEY_LONG_URL; |
6e1425
|
100 |
|
H |
101 |
extern NSString *const WASDK_PARAM_KEY_QUERY_TYPE; |
|
102 |
extern NSString *const WASDK_PARAM_KEY_IS_REPORTDATA; |
e395b5
|
103 |
|
H |
104 |
extern NSString *const WASDK_PARAM_KEY_REAL_NAME; |
|
105 |
extern NSString *const WASDK_PARAM_KEY_ID_CARD; |
6e1425
|
106 |
|
H |
107 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_LIST; |
|
108 |
extern NSString *const WASDK_PARAM_KEY_GAME_CURRENCY_AMOUNT; |
|
109 |
extern NSString *const WASDK_PARAM_KEY_PAY_CHANNEL; |
|
110 |
extern NSString *const WASDK_PARAM_KEY_CHANNEL_PRODUCT_ID; |
|
111 |
extern NSString *const WASDK_PARAM_KEY_ID; |
|
112 |
extern NSString *const WASDK_PARAM_KEY_NAME; |
|
113 |
extern NSString *const WASDK_PARAM_KEY_METHOD; |
|
114 |
extern NSString *const WASDK_PARAM_KEY_LOGO_URL; |
|
115 |
|
|
116 |
//关于Facebook邀请 |
|
117 |
extern NSString *const WASDK_PARAM_KEY_INVITER; |
|
118 |
extern NSString *const WASDK_PARAM_KEY_INVITER_SERVERID; |
|
119 |
extern NSString *const WASDK_PARAM_KEY_INVITEE; |
|
120 |
extern NSString *const WASDK_PARAM_KEY_INVITEE_SERVERID; |
|
121 |
extern NSString *const WASDK_PARAM_KEY_INVITEE_GAMEUSERID; |
|
122 |
extern NSString *const WASDK_PARAM_KEY_INVITEE_USERID; |
|
123 |
extern NSString *const WASDK_PARAM_KEY_INVITE_IDS; |
|
124 |
extern NSString *const WASDK_PARAM_KEY_FB_INVITE_REWARD_EVENTNAME; |
|
125 |
extern NSString *const WASDK_PARAM_KEY_FB_INVITE_REQUESTID; |
|
126 |
extern NSString *const WASDK_PARAM_KEY_FB_INVITE_INVITEEIDS; |
|
127 |
|
|
128 |
extern NSString *const WASDK_PARAM_KEY_INSTALL_APP_ID; |
|
129 |
extern NSString *const WASDK_PARAM_KEY_DEEP_LINK_TYPE; |
|
130 |
extern NSString *const WASDK_PARAM_KEY_FB_DEEPLINK; |
|
131 |
|
|
132 |
extern NSString *const WASDK_RESULT_KEY_IAP_PRODUCT_IDS; |
|
133 |
extern NSString *const WASDK_RESULT_KEY_IAP_ORDER_ID; |
|
134 |
extern NSString *const WASDK_RESULT_KEY_IAP_CODE; |
|
135 |
extern NSString *const WASDK_RESULT_KEY_IAP_DEF_AMT_MCR; |
|
136 |
extern NSString *const WASDK_RESULT_KEY_IAP_DEF_CCY; |
|
137 |
extern NSString *const WASDK_RESULT_KEY_IAP_VCA; |
|
138 |
extern NSString *const WASDK_RESULT_KEY_IAP_VCCY; |
15fc5b
|
139 |
|
L |
140 |
|
|
141 |
|
|
142 |
|
|
143 |
|
|
144 |
|
6e1425
|
145 |
|
H |
146 |
//热更新 |
64e824
|
147 |
extern NSString *const WASDK_HUP_KEY_PATCH_VERSION; |
H |
148 |
extern NSString *const WASDK_HUP_KEY_SDK_ID; |
|
149 |
extern NSString *const WASDK_HUP_KEY_SDK_VERSION; |
|
150 |
extern NSString *const WASDK_HUP_KEY_APP_ID; |
|
151 |
extern NSString *const WASDK_HUP_KEY_PUBLIST_APP_ID; |
|
152 |
extern NSString *const WASDK_HUP_KEY_PUBLIST_APP_VER; |
|
153 |
extern NSString *const WASDK_HUP_KEY_PLATFORM_ID; |
|
154 |
extern NSString *const WASDK_HUP_KEY_CLIENT_OS; |
|
155 |
extern NSString *const WASDK_HUP_KEY_CLIENT_OS_VERSION; |
|
156 |
extern NSString *const WASDK_HUP_KEY_CLIENT_MODEL; |
|
157 |
extern NSString *const WASDK_HUP_KEY_DEVICE_ID; |
|
158 |
extern NSString *const WASDK_HUP_KEY_CLIENT_ID; |
|
159 |
extern NSString *const WASDK_HUP_KEY_OTS; |
|
160 |
extern NSString *const WASDK_HUP_KEY_USER_ID; |
|
161 |
extern NSString *const WASDK_HUP_KEY_PATCH_ID; |
|
162 |
extern NSString *const WASDK_HUP_KEY_PROGRESS; |
|
163 |
extern NSString *const WASDK_HUP_KEY_STATUS; |
6e1425
|
164 |
|
H |
165 |
|
|
166 |
|
|
167 |
//匿名登录时 从sdk后台获取的token 和 userid |
|
168 |
extern NSString *const WASDK_GUEST_LOGIN_TOKEN; |
|
169 |
extern NSString *const WASDK_GUEST_LOGIN_USERID; |
|
170 |
extern NSString *const WASDK_GUEST_LOGIN_TOKEN_CACHE; |
|
171 |
extern NSString *const WASDK_GUEST_LOGIN_USERID_CACHE; |
|
172 |
|
|
173 |
//绑定账号 preUserId prePlatform |
|
174 |
extern NSString *const WASDK_ACOUNT_BINDING_PREUSERID; |
|
175 |
extern NSString *const WASDK_ACOUNT_BINDING_PREPLATFORM; |
|
176 |
|
ab47ec
|
177 |
//绑定账号 支付订单购买日志 |
H |
178 |
extern NSString *const WASDK_TIME_STAMP; |
|
179 |
extern NSString *const WASDK_LOG_INFO; |
|
180 |
|
e395b5
|
181 |
// 消息推送 |
H |
182 |
extern NSString *const WASDK_ACCESS_TOKEN; |
|
183 |
extern NSString *const WASDK_MSG_ID; |
ab47ec
|
184 |
extern NSString *const WASDK_ACTION_TYPE; |
6e1425
|
185 |
|
ab47ec
|
186 |
//extern NSString *const WASDK_IAP_URL_PROLIST; |
1b47a0
|
187 |
//Apple商品消耗 |
H |
188 |
extern NSString *const WASDK_IAP_URL_FINISH_TRANSACTION; |
6e1425
|
189 |
extern NSString *const WASDK_IAP_URL_NOTIFY_SERVER; |
H |
190 |
extern NSString *const WASDK_IAP_URL_CREATE_ORDER; |
15fc5b
|
191 |
// 20200229 |
L |
192 |
extern NSString *const WASDK_IAP_URL_APPLE_LAST_ORDER; |
|
193 |
extern NSString *const WASDK_IAP_URL_APPLE_ABNORMAL_NOTIFY_SERVER; |
|
194 |
|
6e1425
|
195 |
extern NSString *const WASDK_REFRESH_TOKEN; |
H |
196 |
extern NSString *const WASDK_LOGIN_WAY; |
|
197 |
extern NSString *const WASDK_ONE_CLICK_SIGIN; |
|
198 |
extern NSString *const WASDK_ACCOUNT_BINDING; |
|
199 |
extern NSString *const WASDK_ACCOUNT_CREATE; |
|
200 |
extern NSString *const WASDK_BINDING_LIST; |
|
201 |
extern NSString *const WASDK_BINDING_DISBIND; |
|
202 |
extern NSString *const WASDK_PLATFORM_CONFIG; |
|
203 |
extern NSString *const WASDK_FB_INVITE_CREATE; |
|
204 |
extern NSString *const WASDK_FB_INVITE_REWARD; |
|
205 |
extern NSString *const WASDK_FB_INVITE_INSTALL; |
|
206 |
//获取补丁更新信息接口 |
|
207 |
extern NSString *const WASDK_PATCH_UPDATE_CHECK; |
|
208 |
//补丁下载接口 |
|
209 |
extern NSString *const WASDK_PATCH_DOWNLOAD; |
|
210 |
//更新补丁回调接口 |
|
211 |
extern NSString *const WASDK_PATCH_UPDATE_CALLBACK; |
64e824
|
212 |
extern NSString *const WASDK_APW; |
6e1425
|
213 |
|
H |
214 |
//闪退日志收集接口 |
|
215 |
extern NSString *const WASDK_CRASH_REPORT; |
|
216 |
|
|
217 |
//数据收集接口 |
|
218 |
extern NSString *const WASDK_DATA_COLLECTION_URL; |
|
219 |
|
64e824
|
220 |
extern NSString *const WASDK_APW_TRACKING; |
H |
221 |
extern NSString *const WASDK_FIRST_LAUNCH; |
6e1425
|
222 |
|
H |
223 |
extern NSString *const WASDK_USER_LIST; |
|
224 |
|
|
225 |
// 获取客户端未统计上报的订单列表 |
|
226 |
extern NSString *const WASDK_ORDER_LIST; |
ab47ec
|
227 |
// 客户端订单购买日志收集 |
H |
228 |
extern NSString *const WASDK_CLIENT_PURCHASE_LOG; |
6e1425
|
229 |
// 更新订单的客户端统计上报状态 |
H |
230 |
extern NSString *const WASDK_CLT_STATUS_DONE; |
|
231 |
|
|
232 |
// 获取产品及支付方式列表 |
|
233 |
extern NSString *const WASDK_PAY_URL_PRODUCTS; |
|
234 |
// 提交web支付 |
|
235 |
extern NSString *const WASDK_PAY_URL_DO_PAY; |
|
236 |
// web支付成功 |
|
237 |
extern NSString *const WASDK_PAY_URL_SUCCESS; |
|
238 |
// web支付失败 |
|
239 |
extern NSString *const WASDK_PAY_URL_FAILURE; |
|
240 |
// web支付取消 |
|
241 |
extern NSString *const WASDK_PAY_URL_CANCEL; |
|
242 |
|
|
243 |
// 手机号/帐号登录接口 |
|
244 |
extern NSString *const WASDK_LOGIN_URL_SIGN_IN; |
|
245 |
// 手机号注册接口 |
|
246 |
extern NSString *const WASDK_LOGIN_URL_SIGN_UP; |
|
247 |
// 发送验证码接口 |
|
248 |
extern NSString *const WASDK_LOGIN_URL_SEND_VALIDATE_CODE; |
|
249 |
// 验证验证码接口 |
|
250 |
extern NSString *const WASDK_LOGIN_URL_VALIDATE_CODE; |
|
251 |
// 更新密码接口 |
|
252 |
extern NSString *const WASDK_LOGIN_URL_UPDATE_PWD; |
|
253 |
// 游客/帐号绑定手机 |
|
254 |
extern NSString *const WASDK_LOGIN_URL_BIND_MOBILE; |
|
255 |
// 免密码登录接口 |
|
256 |
extern NSString *const WASDK_LOGIN_URL_FAST_LOGIN; |
e395b5
|
257 |
// 使用TOKEN实名验证 |
H |
258 |
extern NSString *const WASDK_REAL_NAME_AUTHENTICATION; |
|
259 |
|
|
260 |
// 消息推送 |
|
261 |
// 更新第三方消息服务的accessToken |
|
262 |
extern NSString *const WASDK_LOGIN_URL_MESSAGE_REFRESH_TOKEN; |
|
263 |
// 客户端拉取消息 |
|
264 |
extern NSString *const WASDK_LOGIN_URL_MESSAGE_CLIENT_PULL; |
|
265 |
// 消息推送回执 |
|
266 |
extern NSString *const WASDK_LOGIN_URL_MESSAGE_SEND_RECEIPT; |
|
267 |
// 消息打开确认 |
|
268 |
extern NSString *const WASDK_LOGIN_URL_MESSAGE_OPEN_MESSAGE_CONFIRM; |
6e1425
|
269 |
|
ab47ec
|
270 |
// 获取视频广告列表 |
H |
271 |
extern NSString *const WASDK_AD_URL_GET_AD_LIST; |
|
272 |
// 提交广告展示事件 |
|
273 |
extern NSString *const WASDK_AD_URL_SUBMIT_SHOW_EVENT; |
|
274 |
// 更新展示广告状态 |
|
275 |
extern NSString *const WASDK_AD_URL_UPDATE_STATUS; |
633752
|
276 |
// 充值中心-账号生成 |
L |
277 |
extern NSString *const WASDK_AD_URL_GAME_CREATE_WINGA_ACCOUNT; |
ab47ec
|
278 |
|
4ae86a
|
279 |
//充值中心-短链接申请 |
L |
280 |
extern NSString *const WASDK_PAYCENTER_URL_GET_SHORT_LINK; |
|
281 |
|
|
282 |
|
6e1425
|
283 |
extern NSString *const WASDK_FB_INVITE_FROM_USERID; |
H |
284 |
extern NSString *const WASDK_FB_INVITE_TO_USERID; |
|
285 |
extern NSString *const WASDK_FB_INVITE_SERVERID; |
|
286 |
extern NSString *const WASDK_FB_INVITE_ACTIONTYPE; |
|
287 |
extern NSString *const WASDK_FB_INVITE_GS_INVITE; |
|
288 |
extern NSString *const WASDK_FB_INVITE_APPID; |
|
289 |
|
|
290 |
extern const int WASDK_VALUE_KEY_STATUS_SUCCESS;//回传给客户端的代码值,表示支付成功 |
|
291 |
extern const int WASDK_VALUE_KEY_STATUS_FAILED;//回传给客户端的代码值,表示支付失败 |
|
292 |
extern const int WASDK_VALUE_KEY_STATUS_PURCHASE_CANCELED;//回传给客户端的代码值,表示支付取消 |
|
293 |
extern const int WASDK_VALUE_KEY_STATUS_PURCHASE_SUCCESS_WITHOUT_REPORT;//回传给客户端的代码值 表示支付成功但是没有上报或者上报失败了 |
|
294 |
extern const int WASDK_VALUE_KEY_STATUS_PURCHASE_UNCONSUME;//商品未消耗 |
|
295 |
extern const int WASDK_VALUE_KEY_STATUS_CREATE_ORDER_FAILED;//创建订单失败 |
|
296 |
|
|
297 |
extern const int WASDK_VALUE_KEY_STATUS_VAILD_FAIL;//后台验证失败表示验证失败 |
|
298 |
extern NSString *const WASDK_VALUE_KEY_STATUS_NOTIFY_FAIL; |
|
299 |
|
|
300 |
|
|
301 |
extern NSString *const WASDK_STATUS_UNKNOWN; |
|
302 |
extern NSString *const WASDK_STATUS_UNKNOWN_1; |
|
303 |
|
|
304 |
extern NSString *const WASDK_CACHE_KEY_FB_APP_SECRET; |
|
305 |
|
3eecf8
|
306 |
|
L |
307 |
|
|
308 |
|
|
309 |
|
|
310 |
|
6e1425
|
311 |
@interface WACommConstants : NSObject { |
H |
312 |
|
|
313 |
} |
|
314 |
#endif |
|
315 |
@end |