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 |
|
|
14 |
|
|
15 |
|
|
16 |
|
|
17 |
extern NSString *const WASDK_FLOW_TYPE_DEFAULT; |
|
18 |
extern NSString *const WASDK_FLOW_TYPE_REBIND; |
|
19 |
|
|
20 |
extern NSString *const WASDK_PARAM_KEY_SDK_VER; |
|
21 |
extern NSString *const WASDK_PARAM_KEY_SDK_ID; |
|
22 |
extern NSString *const WASDK_PARAM_KEY_PATCH_ID; |
|
23 |
extern NSString *const WASDK_PARAM_KEY_PATCH_VER; |
|
24 |
extern NSString *const WASDK_PARAM_KEY_USER_ID; |
|
25 |
extern NSString *const WASDK_PARAM_KEY_PUSER_ID; |
|
26 |
extern NSString *const WASDK_PARAM_KEY_PUSER_ID_LOWER; |
|
27 |
extern NSString *const WASDK_PARAM_KEY_PUSER_IDS; |
|
28 |
extern NSString *const WASDK_PARAM_KEY_GAMEUSER_ID; |
|
29 |
extern NSString *const WASDK_PARAM_KEY_SERVER_ID; |
|
30 |
extern NSString *const WASDK_PARAM_KEY_OS; |
|
31 |
extern NSString *const WASDK_PARAM_KEY_OS_VERSION; |
|
32 |
extern NSString *const WASDK_PARAM_KEY_MOBILE_MODEL; |
|
33 |
extern NSString *const WASDK_PARAM_KEY_MODEL; |
|
34 |
extern NSString *const WASDK_PARAM_KEY_LANGUAGE; |
|
35 |
extern NSString *const WASDK_PARAM_KEY_CARRIER; |
|
36 |
extern NSString *const WASDK_PARAM_KEY_WIFI; |
|
37 |
extern NSString *const WASDK_PARAM_KEY_MAC; |
|
38 |
extern NSString *const WASDK_PARAM_KEY_PACKAGE_ID; |
|
39 |
extern NSString *const WASDK_PARAM_KEY_PACKAGE_VER_NAME; |
|
40 |
extern NSString *const WASDK_PARAM_KEY_PACKAGE_VER_CODE; |
|
41 |
extern NSString *const WASDK_PARAM_KEY_CRASH_TIME_STAMP; |
|
42 |
extern NSString *const WASDK_PARAM_KEY_EXCEPTION_INFO; |
|
43 |
extern NSString *const WASDK_PARAM_KEY_PLATFORM; |
|
44 |
extern NSString *const WASDK_PARAM_KEY_ACCESSTOKEN; |
|
45 |
extern NSString *const WASDK_PARAM_KEY_WASDK_TOKEN; |
|
46 |
extern NSString *const WASDK_PARAM_KEY_OTS; |
|
47 |
extern NSString *const WASDK_PARAM_KEY_IDFA; |
|
48 |
extern NSString *const WASDK_PARAM_KEY_IDFV; |
|
49 |
extern NSString *const WASDK_PARAM_KEY_CLIENT_ID; |
|
50 |
extern NSString *const WASDK_PARAM_KEY_APP_ID; |
|
51 |
extern NSString *const WASDK_PARAM_KEY_APP_KEY; |
|
52 |
extern NSString *const WASDK_PARAM_KEY_APP_VER; |
|
53 |
extern NSString *const WASDK_PARAM_KEY_PUBLISH_CHANNEL; |
|
54 |
extern NSString *const WASDK_PARAM_KEY_DEVICE_TYPE; |
|
55 |
extern NSString *const WASDK_PARAM_KEY_DEVICE_BRAND; |
|
56 |
extern NSString *const WASDK_PARAM_KEY_DEVICE_NAME; |
|
57 |
extern NSString *const WASDK_PARAM_KEY_PAGE_NO; |
|
58 |
extern NSString *const WASDK_PARAM_KEY_PAGE_SIZE; |
|
59 |
extern NSString *const WASDK_PARAM_KEY_CHANNEL; |
|
60 |
extern NSString *const WASDK_PARAM_KEY_BIND_TYPE; |
|
61 |
extern NSString *const WASDK_PARAM_KEY_TRX_ID; |
|
62 |
extern NSString *const WASDK_PARAM_KEY_ORDER_ID; |
|
63 |
extern NSString *const WASDK_PARAM_KEY_ORDER_IDS; |
|
64 |
extern NSString *const WASDK_PARAM_KEY_ORDER_ID_LIST; |
|
65 |
extern NSString *const WASDK_PARAM_KEY_ORDER_DICTIONARY; |
|
66 |
extern NSString *const WASDK_PARAM_KEY_TRX_TOKEN; |
|
67 |
extern NSString *const WASDK_PARAM_KEY_STATUS; |
|
68 |
extern NSString *const WASDK_PARAM_KEY_PAY_AMOUNT_MICROS; |
|
69 |
extern NSString *const WASDK_PARAM_KEY_OSIGN; |
|
70 |
extern NSString *const WASDK_PARAM_KEY_CURRENCY_CODE; |
|
71 |
extern NSString *const WASDK_PARAM_KEY_EXT_INFO; |
|
72 |
extern NSString *const WASDK_PARAM_KEY_COLLECTION_INFO; |
|
73 |
extern NSString *const WASDK_PARAM_KEY_ORDER_AMOUNT_MICROS; |
|
74 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_ID; |
|
75 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_NAME; |
|
76 |
extern NSString *const WASDK_PARAM_KEY_IAP_URL_PRO_LIST; |
|
77 |
extern NSString *const WASDK_PARAM_KEY_IAP_URL_CREATE_ORDER; |
|
78 |
extern NSString *const WASDK_PARAM_KEY_IAP_URL_NOTIFY_SERVER; |
|
79 |
extern NSString *const WASDK_PARAM_KEY_SEND_SEQ; |
|
80 |
|
|
81 |
extern NSString *const WASDK_PARAM_KEY_QUERY_TYPE; |
|
82 |
extern NSString *const WASDK_PARAM_KEY_IS_REPORTDATA; |
|
83 |
|
|
84 |
extern NSString *const WASDK_PARAM_KEY_PRODUCT_LIST; |
|
85 |
extern NSString *const WASDK_PARAM_KEY_GAME_CURRENCY_AMOUNT; |
|
86 |
extern NSString *const WASDK_PARAM_KEY_PAY_CHANNEL; |
|
87 |
extern NSString *const WASDK_PARAM_KEY_CHANNEL_PRODUCT_ID; |
|
88 |
extern NSString *const WASDK_PARAM_KEY_ID; |
|
89 |
extern NSString *const WASDK_PARAM_KEY_NAME; |
|
90 |
extern NSString *const WASDK_PARAM_KEY_METHOD; |
|
91 |
extern NSString *const WASDK_PARAM_KEY_LOGO_URL; |
|
92 |
|
|
93 |
//关于Facebook邀请 |
|
94 |
extern NSString *const WASDK_PARAM_KEY_INVITER; |
|
95 |
extern NSString *const WASDK_PARAM_KEY_INVITER_SERVERID; |
|
96 |
extern NSString *const WASDK_PARAM_KEY_INVITEE; |
|
97 |
extern NSString *const WASDK_PARAM_KEY_INVITEE_SERVERID; |
|
98 |
extern NSString *const WASDK_PARAM_KEY_INVITEE_GAMEUSERID; |
|
99 |
extern NSString *const WASDK_PARAM_KEY_INVITEE_USERID; |
|
100 |
extern NSString *const WASDK_PARAM_KEY_INVITE_IDS; |
|
101 |
extern NSString *const WASDK_PARAM_KEY_FB_INVITE_REWARD_EVENTNAME; |
|
102 |
extern NSString *const WASDK_PARAM_KEY_FB_INVITE_REQUESTID; |
|
103 |
extern NSString *const WASDK_PARAM_KEY_FB_INVITE_INVITEEIDS; |
|
104 |
|
|
105 |
extern NSString *const WASDK_PARAM_KEY_INSTALL_APP_ID; |
|
106 |
extern NSString *const WASDK_PARAM_KEY_DEEP_LINK_TYPE; |
|
107 |
extern NSString *const WASDK_PARAM_KEY_FB_DEEPLINK; |
|
108 |
|
|
109 |
extern NSString *const WASDK_RESULT_KEY_IAP_PRODUCT_IDS; |
|
110 |
extern NSString *const WASDK_RESULT_KEY_IAP_ORDER_ID; |
|
111 |
extern NSString *const WASDK_RESULT_KEY_IAP_CODE; |
|
112 |
extern NSString *const WASDK_RESULT_KEY_IAP_DEF_AMT_MCR; |
|
113 |
extern NSString *const WASDK_RESULT_KEY_IAP_DEF_CCY; |
|
114 |
extern NSString *const WASDK_RESULT_KEY_IAP_VCA; |
|
115 |
extern NSString *const WASDK_RESULT_KEY_IAP_VCCY; |
|
116 |
|
|
117 |
//热更新 |
|
118 |
extern NSString *const WASDK_HOT_UPDATE_KEY_PATCH_VERSION; |
|
119 |
extern NSString *const WASDK_HOT_UPDATE_KEY_SDK_ID; |
|
120 |
extern NSString *const WASDK_HOT_UPDATE_KEY_SDK_VERSION; |
|
121 |
extern NSString *const WASDK_HOT_UPDATE_KEY_APP_ID; |
|
122 |
extern NSString *const WASDK_HOT_UPDATE_KEY_PUBLIST_APP_ID; |
|
123 |
extern NSString *const WASDK_HOT_UPDATE_KEY_PUBLIST_APP_VER; |
|
124 |
extern NSString *const WASDK_HOT_UPDATE_KEY_PLATFORM_ID; |
|
125 |
extern NSString *const WASDK_HOT_UPDATE_KEY_CLIENT_OS; |
|
126 |
extern NSString *const WASDK_HOT_UPDATE_KEY_CLIENT_OS_VERSION; |
|
127 |
extern NSString *const WASDK_HOT_UPDATE_KEY_CLIENT_MODEL; |
|
128 |
extern NSString *const WASDK_HOT_UPDATE_KEY_DEVICE_ID; |
|
129 |
extern NSString *const WASDK_HOT_UPDATE_KEY_CLIENT_ID; |
|
130 |
extern NSString *const WASDK_HOT_UPDATE_KEY_OTS; |
|
131 |
extern NSString *const WASDK_HOT_UPDATE_KEY_USER_ID; |
|
132 |
extern NSString *const WASDK_HOT_UPDATE_KEY_PATCH_ID; |
|
133 |
extern NSString *const WASDK_HOT_UPDATE_KEY_PROGRESS; |
|
134 |
extern NSString *const WASDK_HOT_UPDATE_KEY_STATUS; |
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
//匿名登录时 从sdk后台获取的token 和 userid |
|
139 |
extern NSString *const WASDK_GUEST_LOGIN_TOKEN; |
|
140 |
extern NSString *const WASDK_GUEST_LOGIN_USERID; |
|
141 |
extern NSString *const WASDK_GUEST_LOGIN_TOKEN_CACHE; |
|
142 |
extern NSString *const WASDK_GUEST_LOGIN_USERID_CACHE; |
|
143 |
|
|
144 |
//绑定账号 preUserId prePlatform |
|
145 |
extern NSString *const WASDK_ACOUNT_BINDING_PREUSERID; |
|
146 |
extern NSString *const WASDK_ACOUNT_BINDING_PREPLATFORM; |
|
147 |
|
|
148 |
|
|
149 |
extern NSString *const WASDK_IAP_URL_PROLIST; |
|
150 |
extern NSString *const WASDK_IAP_URL_NOTIFY_SERVER; |
|
151 |
extern NSString *const WASDK_IAP_URL_CREATE_ORDER; |
|
152 |
extern NSString *const WASDK_REFRESH_TOKEN; |
|
153 |
extern NSString *const WASDK_LOGIN_WAY; |
|
154 |
extern NSString *const WASDK_ONE_CLICK_SIGIN; |
|
155 |
extern NSString *const WASDK_ACCOUNT_BINDING; |
|
156 |
extern NSString *const WASDK_ACCOUNT_CREATE; |
|
157 |
extern NSString *const WASDK_BINDING_LIST; |
|
158 |
extern NSString *const WASDK_BINDING_DISBIND; |
|
159 |
extern NSString *const WASDK_PLATFORM_CONFIG; |
|
160 |
extern NSString *const WASDK_FB_INVITE_CREATE; |
|
161 |
extern NSString *const WASDK_FB_INVITE_REWARD; |
|
162 |
extern NSString *const WASDK_FB_INVITE_INSTALL; |
|
163 |
//获取补丁更新信息接口 |
|
164 |
extern NSString *const WASDK_PATCH_UPDATE_CHECK; |
|
165 |
//补丁下载接口 |
|
166 |
extern NSString *const WASDK_PATCH_DOWNLOAD; |
|
167 |
//更新补丁回调接口 |
|
168 |
extern NSString *const WASDK_PATCH_UPDATE_CALLBACK; |
|
169 |
extern NSString *const WASDK_APP_WALL; |
|
170 |
|
|
171 |
//闪退日志收集接口 |
|
172 |
extern NSString *const WASDK_CRASH_REPORT; |
|
173 |
|
|
174 |
//数据收集接口 |
|
175 |
extern NSString *const WASDK_DATA_COLLECTION_URL; |
|
176 |
|
|
177 |
extern NSString *const WASDK_APP_WALL_TRACKING; |
|
178 |
extern NSString *const WASDK_APP_WALL_FIRST_LAUNCH; |
|
179 |
|
|
180 |
extern NSString *const WASDK_USER_LIST; |
|
181 |
|
|
182 |
// 获取客户端未统计上报的订单列表 |
|
183 |
extern NSString *const WASDK_ORDER_LIST; |
|
184 |
// 更新订单的客户端统计上报状态 |
|
185 |
extern NSString *const WASDK_CLT_STATUS_DONE; |
|
186 |
|
|
187 |
// 获取产品及支付方式列表 |
|
188 |
extern NSString *const WASDK_PAY_URL_PRODUCTS; |
|
189 |
// 提交web支付 |
|
190 |
extern NSString *const WASDK_PAY_URL_DO_PAY; |
|
191 |
// web支付成功 |
|
192 |
extern NSString *const WASDK_PAY_URL_SUCCESS; |
|
193 |
// web支付失败 |
|
194 |
extern NSString *const WASDK_PAY_URL_FAILURE; |
|
195 |
// web支付取消 |
|
196 |
extern NSString *const WASDK_PAY_URL_CANCEL; |
|
197 |
|
|
198 |
// 手机号/帐号登录接口 |
|
199 |
extern NSString *const WASDK_LOGIN_URL_SIGN_IN; |
|
200 |
// 手机号注册接口 |
|
201 |
extern NSString *const WASDK_LOGIN_URL_SIGN_UP; |
|
202 |
// 发送验证码接口 |
|
203 |
extern NSString *const WASDK_LOGIN_URL_SEND_VALIDATE_CODE; |
|
204 |
// 验证验证码接口 |
|
205 |
extern NSString *const WASDK_LOGIN_URL_VALIDATE_CODE; |
|
206 |
// 更新密码接口 |
|
207 |
extern NSString *const WASDK_LOGIN_URL_UPDATE_PWD; |
|
208 |
// 游客/帐号绑定手机 |
|
209 |
extern NSString *const WASDK_LOGIN_URL_BIND_MOBILE; |
|
210 |
// 免密码登录接口 |
|
211 |
extern NSString *const WASDK_LOGIN_URL_FAST_LOGIN; |
|
212 |
|
|
213 |
extern NSString *const WASDK_FB_INVITE_FROM_USERID; |
|
214 |
extern NSString *const WASDK_FB_INVITE_TO_USERID; |
|
215 |
extern NSString *const WASDK_FB_INVITE_SERVERID; |
|
216 |
extern NSString *const WASDK_FB_INVITE_ACTIONTYPE; |
|
217 |
extern NSString *const WASDK_FB_INVITE_GS_INVITE; |
|
218 |
extern NSString *const WASDK_FB_INVITE_APPID; |
|
219 |
|
|
220 |
extern const int WASDK_VALUE_KEY_STATUS_SUCCESS;//回传给客户端的代码值,表示支付成功 |
|
221 |
extern const int WASDK_VALUE_KEY_STATUS_FAILED;//回传给客户端的代码值,表示支付失败 |
|
222 |
extern const int WASDK_VALUE_KEY_STATUS_PURCHASE_CANCELED;//回传给客户端的代码值,表示支付取消 |
|
223 |
extern const int WASDK_VALUE_KEY_STATUS_PURCHASE_SUCCESS_WITHOUT_REPORT;//回传给客户端的代码值 表示支付成功但是没有上报或者上报失败了 |
|
224 |
extern const int WASDK_VALUE_KEY_STATUS_PURCHASE_UNCONSUME;//商品未消耗 |
|
225 |
extern const int WASDK_VALUE_KEY_STATUS_CREATE_ORDER_FAILED;//创建订单失败 |
|
226 |
|
|
227 |
extern const int WASDK_VALUE_KEY_STATUS_VAILD_FAIL;//后台验证失败表示验证失败 |
|
228 |
extern NSString *const WASDK_VALUE_KEY_STATUS_NOTIFY_FAIL; |
|
229 |
|
|
230 |
|
|
231 |
extern NSString *const WASDK_STATUS_UNKNOWN; |
|
232 |
extern NSString *const WASDK_STATUS_UNKNOWN_1; |
|
233 |
|
|
234 |
extern NSString *const WASDK_CACHE_KEY_FB_APP_SECRET; |
|
235 |
|
|
236 |
@interface WACommConstants : NSObject { |
|
237 |
|
|
238 |
} |
|
239 |
#endif |
|
240 |
@end |