zj
2025-01-06 0e7b38c2b3af72ea2a7f8a2fcbaad4d78e2c1977
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
package com.gear.common.constant;
 
public class SwxConstons {
    /**
     * 产品类型-外汇
     */
    public static final Integer MARKET_TYPE_FOREX = 1;
 
    /**
     * 产品类型-数字货币
     */
    public static final Integer MARKET_TYPE_CRYPTO = 2;
 
 
    /**
     * 产品类型-股票
     */
    public static final Integer MARKET_TYPE_STOCKS = 3;
 
 
    /**
     * 产品类型-期货
     */
    public static final Integer MARKET_TYPE_FUTURES = 4;
 
 
    /**
     * 产品类型-贵金属
     */
    public static final Integer MARKET_TYPE_METAL = 5;
 
 
    /**
     * redis缓存产品集合-外汇
     */
    public static final String REDIS_CACHE_MARKET_TYPE_FOREX = "forexList";
 
    /**
     * redis缓存产品集合-数字货币
     */
    public static final String REDIS_CACHE_MARKET_TYPE_CRYPTO =  "cryptoList";
 
 
    /**
     *redis缓存产品集合-股票
     */
    public static final String REDIS_CACHE_MARKET_TYPE_STOCKS =  "stocksList";
 
 
    /**
     * redis缓存产品集合-ETF
     */
    public static final String REDIS_CACHE_MARKET_TYPE_FUTURES =  "futuresList";
 
 
    /**
     * redis缓存产品集合-期货
     */
    public static final String REDIS_CACHE_MARKET_TYPE_METAL=  "metalList";
 
 
 
 
    /**
     * redis缓存同步产品-外汇
     */
    public static final String REDIS_CACHE_SYNC_TYPE_FOREX = "syncForex";
 
    /**
     * redis缓存同步产品-数字货币
     */
    public static final String REDIS_CACHE_SYNC_TYPE_CRYPTO =  "syncCrypto";
 
 
    /**
     *redis缓存同步产品-股票
     */
    public static final String REDIS_CACHE_SYNC_TYPE_STOCKS =  "syncStocks";
 
 
    /**
     * redis缓存同步产品-期货
     */
    public static final String REDIS_CACHE_SYNC_TYPE_FUTURES =  "syncFutures";
 
    /**
     * redis缓存同步产品-贵金属
     */
    public static final String REDIS_CACHE_SYNC_TYPE_METAL =  "syncMetal";
 
 
 
 
    public static final String REDIS_CACHE_CURRENT_MARKET_PRICE =  "currentPrice";
 
    /**
     * 产品状态-启用
     */
    public static final Integer MARKET_STATUS_ENABLE = 1;
 
    /**
     * 产品状态-停用
     */
    public static final Integer MARKET_STATUS_DISABLE = 2;
 
 
    /**
     * 通用状态-是
     */
    public static final Integer NOMARL_STATUS_YES = 1;
 
    /**
     * 通用状态-否
     */
    public static final Integer NOMARL_STATUS_NO = 2;
 
    /***
     * 系统参数--市场相关
     */
    public static final Integer SETTINGS_MARKET = 1;
 
    /***
     * 系统参数--账户相关
     */
    public static final Integer SETTINGS_USER = 2;
 
    /***
     * 系统参数--资金相关
     */
    public static final Integer SETTINS_MONEY = 3;
 
    /***
     * 系统参数--内容相关
     */
    public static final Integer SETTINGS_CONTONS = 4;
 
 
    /**
     * 注册检查类型--手机
     */
    public static final Integer CUSTOMER_REGISTER_CHECK_TYPE_PHONE = 1;
 
    /**
     * 注册检查类型--用户名
     */
    public static final Integer CUSTOMER_REGISTER_CHECK_TYPE_USERNAME = 2;
 
 
 
    /**
     * 审核状态--审核中
     */
    public static final Integer SWX_EXAMINE_STATUS_REVIEW = 0;
 
    /**
     * 审核状态--审核通过
     */
    public static final Integer SWX_EXAMINE_STATUS_YES = 1;
    /**
     * 审核状态--审核不通过
     */
    public static final Integer SWX_EXAMINE_STATUS_NO = 2;
 
    /**
     * 资金类型-- 收入
     */
    public static final Integer SWX_MONEY_TYPE_INCOME = 1;
    /**
     * 资金类型-- 支出
     */
    public static final Integer SWX_MONEY_TYPE_PAY = 2;
    /**
     * 资金日志类型--充值
     */
    public static final Integer SWX_MONEY_LOG_TYPE_RECHARGE = 1;
    /**
     * 资金日志类型--提现
     */
    public static final Integer SWX_MONEY_LOG_TYPE_WITHDRAWAL = 2;
 
    /**
     * 资金日志类型--贷款
     */
    public static final Integer SWX_MONEY_LOG_TYPE_LOAN = 3;
 
    /**
     * 资金日志类型--购买nft
     */
    public static final Integer SWX_MONEY_LOG_TYPE_BUYNFT = 4;
 
    /**
     * 资金日志类型--贷款还款
     */
    public static final Integer SWX_MONEY_LOG_TYPE_LOAN_REPAY = 5;
 
    /**
     * 资金日志类型--购买智能交易
     */
    public static final Integer SWX_MONEY_LOG_TYPE_BUY_SMART = 6;
 
    /**
     * 资金日志类型--智能交易完成收益
     */
    public static final Integer SWX_MONEY_LOG_TYPE_SMART_PROFIT = 7;
 
    /**
     * 资金日志类型--智能交易每日收益
     */
    public static final Integer SWX_MONEY_LOG_TYPE_SMART_DAY_PROFIT = 8;
 
    /**
     * 用户下单状态--真实购买
     */
    public static final String SWX_CUSTOMER_USER_ORDER_TYPE_TRUE = "NO";
 
 
    /**
     * 用户下单状态--虚拟账户
     */
    public static final String SWX_CUSTOMER_USER_ORDER_TYPE_VIRTRUAL = "YES";
 
 
    /**
     * 订单类型--智能交易
     */
    public static final Integer SWX_ORDER_TYPE_SMART = 3 ;
 
    /**
     * 订单类型--合约
     */
    public static final Integer SWX_ORDER_TYPE_CONSTRACTS= 1 ;
 
    /**
     * 订单类型--期权
     */
    public static final Integer SWX_ORDER_TYPE_OPTIONS = 2 ;
 
    /**
     * 订单状态--合约待购入
     */
    public static final Integer SWX_ORDER_STATUS_WAIT_BUY =-1 ;
 
    /**
     * 订单状态--期权待平仓
     */
    public static final Integer SWX_ORDER_STATUS_OPTIONS_WAIT =1 ;
 
    /**
     * 订单状态--合约待平仓
     */
    public static final Integer SWX_ORDER_STATUS_CONTRACTS_WAIT =2 ;
    /**
     * 订单状态--已平仓
     */
    public static final Integer SWX_ORDER_STATUS_FINISH = 3 ;
    /**
     * 订单状态--智能交易结算中
     */
    public static final Integer SWX_ORDER_STATUS_SMART_WAIT = 4;
    /**
     * 订单状态--智能交易已完成
     */
    public static final Integer SWX_ORDER_STATUS_SMART_FINISH = 5 ;
 
    /**
     * 买入符号--买多
     */
    public static final Integer SWX_ORDER_BUY_TYPE_MDU = 1 ;
 
    /**
     * 买入符号--买多
     */
    public static final Integer SWX_ORDER_BUY_TYPE_MK = 2 ;
 
    /**
     * 买入符号--买多
     */
    public static final Integer SWX_ORDER_BUY_TYPE_MZ = 3 ;
 
    /**
     * 买入符号--买多
     */
    public static final Integer SWX_ORDER_BUY_TYPE_MDI = 4;
 
 
    public static final Integer SWX_ORDER_BUY_TYPE_HY = 5 ;
 
 
 
}