@jetthai/cuora 1.1.94 → 1.1.96-signin-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/pre-commit +1 -1
- package/CHANGELOG.md +26 -0
- package/package.json +3 -8
- package/src/api/activity.js +13 -1
- package/src/api/payment.js +12 -4
- package/src/machine/activity/deposit_activity.js +13 -4
- package/src/machine/activity/diamond_shop_activity_cash.js +214 -0
- package/src/machine/activity/fafafa_activity.js +26 -15
- package/src/machine/activity/index.js +2 -0
- package/src/machine/activity/ranking_activity.js +11 -2
- package/src/machine/activity/specify_bets_activity.js +25 -3
- package/src/machine/activity/specify_turnover_activity.js +25 -3
- package/src/machine/activity/time_bomb_activity.js +11 -2
- package/src/machine/deposit/crypto_cash.js +243 -0
- package/src/machine/deposit/direct_cash.js +236 -0
- package/src/machine/deposit/index.js +12 -0
- package/src/machine/deposit/loadcard_cash.js +227 -0
- package/src/machine/deposit/manual_cash.js +321 -0
- package/src/machine/deposit/qrcode_cash.js +227 -0
- package/src/machine/deposit/usdt_cash.js +140 -0
- package/src/machine/game_favorite_v2.js +6 -2
- package/src/machine/game_v2_1.js +35 -9
- package/src/machine/index.js +6 -6
- package/src/machine/reward_cash.js +220 -0
- package/src/machine/side_cash.js +110 -0
- package/src/machine/sign_in_monthly.js +140 -0
- package/src/machine/withdraw/crypto_cash.js +313 -0
- package/src/machine/withdraw/index.js +4 -0
- package/src/machine/withdraw/manual_cash.js +267 -0
- package/src/machine/withdraw_vn2.js +1 -1
- package/src/request/request.js +9 -5
- package/src/util/index.js +2 -1
- package/src/util/math.js +4 -0
- package/dist/bundle.mjs +0 -28442
- package/rollup.config.js +0 -12
- package/src/machine/game.js +0 -285
- package/src/machine/game_favorite.js +0 -123
- package/src/machine/game_v2.js +0 -381
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { assign, createMachine } from 'xstate'
|
|
2
|
+
import payment from '../../api/payment.js'
|
|
3
|
+
import { max } from '../../util'
|
|
4
|
+
|
|
5
|
+
export default function (request, context) {
|
|
6
|
+
const { paymentDetail = [], promotion, selectedAmount } = context || {}
|
|
7
|
+
return createMachine(
|
|
8
|
+
{
|
|
9
|
+
id: 'qrcode_cash',
|
|
10
|
+
initial: 'loading',
|
|
11
|
+
context: {
|
|
12
|
+
paymentDetail,
|
|
13
|
+
promotion,
|
|
14
|
+
selectedAmount,
|
|
15
|
+
|
|
16
|
+
qrcodes: null,
|
|
17
|
+
options: null,
|
|
18
|
+
|
|
19
|
+
selectedQrcode: null,
|
|
20
|
+
|
|
21
|
+
calculation: null,
|
|
22
|
+
|
|
23
|
+
currentCategory: 'qrcode',
|
|
24
|
+
|
|
25
|
+
result: null,
|
|
26
|
+
|
|
27
|
+
bonusPreviewData: [],
|
|
28
|
+
},
|
|
29
|
+
states: {
|
|
30
|
+
loading: {
|
|
31
|
+
always: [
|
|
32
|
+
{
|
|
33
|
+
target: 'loaded',
|
|
34
|
+
actions: 'setInitData',
|
|
35
|
+
cond: 'hasQrcodeMethods',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
},
|
|
39
|
+
loaded: {},
|
|
40
|
+
debouncing: {
|
|
41
|
+
after: {
|
|
42
|
+
1000: [
|
|
43
|
+
{
|
|
44
|
+
target: 'calculating',
|
|
45
|
+
cond: (context, event) => {
|
|
46
|
+
const { selectedQrcode, selectedAmount } = context
|
|
47
|
+
if (selectedQrcode && selectedAmount) {
|
|
48
|
+
return selectedQrcode.minimum <= selectedAmount && selectedAmount <= selectedQrcode.maximum
|
|
49
|
+
} else {
|
|
50
|
+
return false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
target: 'loaded',
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
calculating: {
|
|
61
|
+
invoke: {
|
|
62
|
+
src: 'fetchCalculation',
|
|
63
|
+
onDone: {
|
|
64
|
+
target: 'calculated',
|
|
65
|
+
actions: 'setCalculation',
|
|
66
|
+
},
|
|
67
|
+
onError: {
|
|
68
|
+
target: 'calculated',
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
calculated: {
|
|
73
|
+
on: {
|
|
74
|
+
SUBMIT: {
|
|
75
|
+
target: 'submitting',
|
|
76
|
+
},
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
submitting: {
|
|
80
|
+
invoke: {
|
|
81
|
+
src: 'submitDeposit',
|
|
82
|
+
onDone: {
|
|
83
|
+
target: 'submitted',
|
|
84
|
+
actions: 'setResult',
|
|
85
|
+
},
|
|
86
|
+
onError: {
|
|
87
|
+
target: 'calculated',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
},
|
|
91
|
+
submitted: {},
|
|
92
|
+
},
|
|
93
|
+
on: {
|
|
94
|
+
SET_PROMOTION: {
|
|
95
|
+
target: '.debouncing',
|
|
96
|
+
actions: 'setPromotion',
|
|
97
|
+
internal: false,
|
|
98
|
+
},
|
|
99
|
+
SELECT_QRCODE: {
|
|
100
|
+
target: '.debouncing',
|
|
101
|
+
actions: 'setQrcode',
|
|
102
|
+
internal: false,
|
|
103
|
+
},
|
|
104
|
+
SELECT_AMOUNT: {
|
|
105
|
+
target: '.debouncing',
|
|
106
|
+
actions: 'setAmount',
|
|
107
|
+
internal: false,
|
|
108
|
+
},
|
|
109
|
+
INPUT_AMOUNT: {
|
|
110
|
+
target: '.debouncing',
|
|
111
|
+
actions: 'inputAmount',
|
|
112
|
+
internal: false,
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
actions: {
|
|
118
|
+
setInitData: assign((context, event) => {
|
|
119
|
+
const { paymentDetail, selectedAmount, promotion } = context
|
|
120
|
+
const qrcodes = paymentDetail
|
|
121
|
+
.filter((element) => element.category === context.currentCategory && element.transferType === 'deposit')
|
|
122
|
+
.map((qrcode) => {
|
|
123
|
+
qrcode.disabled = promotion?.promotionsNo !== 'none' && qrcode.charge > 0
|
|
124
|
+
return qrcode
|
|
125
|
+
})
|
|
126
|
+
|
|
127
|
+
const selectedQrcode = qrcodes.find((qrcode) => !qrcode.disabled)
|
|
128
|
+
|
|
129
|
+
return {
|
|
130
|
+
paymentDetail,
|
|
131
|
+
qrcodes,
|
|
132
|
+
selectedQrcode,
|
|
133
|
+
options: selectedQrcode?.optional,
|
|
134
|
+
selectedAmount: max(promotion?.minimumAmount, selectedQrcode?.minimum, selectedAmount, 0),
|
|
135
|
+
}
|
|
136
|
+
}),
|
|
137
|
+
setBonusPreview: assign((context, event) => {
|
|
138
|
+
return {
|
|
139
|
+
bonusPreviewData: event.data.bonus,
|
|
140
|
+
}
|
|
141
|
+
}),
|
|
142
|
+
setPromotion: assign((context, event) => {
|
|
143
|
+
const { selectedAmount } = context
|
|
144
|
+
const promotion = event.data
|
|
145
|
+
const qrcodes = context.qrcodes.map((qrcode) => {
|
|
146
|
+
qrcode.disabled = promotion.promotionsNo !== 'none' && qrcode.charge > 0
|
|
147
|
+
return qrcode
|
|
148
|
+
})
|
|
149
|
+
|
|
150
|
+
const selectedQrcode = qrcodes.find((qrcode) => !qrcode.disabled)
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
promotion,
|
|
154
|
+
qrcodes,
|
|
155
|
+
selectedQrcode,
|
|
156
|
+
options: selectedQrcode?.optional,
|
|
157
|
+
selectedAmount: max(promotion.minimumAmount, selectedQrcode?.minimum, selectedAmount, 0),
|
|
158
|
+
calculation: null,
|
|
159
|
+
}
|
|
160
|
+
}),
|
|
161
|
+
setQrcode: assign((context, event) => {
|
|
162
|
+
const { promotion, selectedAmount } = context
|
|
163
|
+
const selectedQrcode = event.data
|
|
164
|
+
return {
|
|
165
|
+
selectedQrcode,
|
|
166
|
+
options: selectedQrcode.optional,
|
|
167
|
+
selectedAmount: max(promotion.minimumAmount, selectedAmount, 0),
|
|
168
|
+
calculation: null,
|
|
169
|
+
}
|
|
170
|
+
}),
|
|
171
|
+
setAmount: assign((context, event) => {
|
|
172
|
+
// 現金網可自由填額度,grandTotalEnable 欄位感覺不再需要?
|
|
173
|
+
if (context.selectedQrcode?.grandTotalEnable === 1) {
|
|
174
|
+
return { selectedAmount: parseFloat(context.selectedAmount || 0) + parseFloat(event.data) }
|
|
175
|
+
} else {
|
|
176
|
+
return { selectedAmount: event.data }
|
|
177
|
+
}
|
|
178
|
+
}),
|
|
179
|
+
inputAmount: assign((context, event) => {
|
|
180
|
+
return { selectedAmount: event.data }
|
|
181
|
+
}),
|
|
182
|
+
setCalculation: assign((context, event) => {
|
|
183
|
+
return {
|
|
184
|
+
calculation: event.data,
|
|
185
|
+
}
|
|
186
|
+
}),
|
|
187
|
+
clearCalculation: assign((context, event) => {
|
|
188
|
+
return {
|
|
189
|
+
calculation: null,
|
|
190
|
+
}
|
|
191
|
+
}),
|
|
192
|
+
setResult: assign((context, event) => {
|
|
193
|
+
return {
|
|
194
|
+
result: event.data,
|
|
195
|
+
}
|
|
196
|
+
}),
|
|
197
|
+
},
|
|
198
|
+
guards: {
|
|
199
|
+
hasQrcodeMethods: (context, event) => {
|
|
200
|
+
return context.paymentDetail?.filter((element) => element.category === context.currentCategory).length > 0
|
|
201
|
+
},
|
|
202
|
+
},
|
|
203
|
+
services: {
|
|
204
|
+
fetchCalculation: async (context, event) => {
|
|
205
|
+
const { selectedQrcode, selectedAmount, promotion } = context
|
|
206
|
+
return await request.send(
|
|
207
|
+
payment.getDepositExpectedResult({
|
|
208
|
+
method: selectedQrcode.method,
|
|
209
|
+
amount: selectedAmount,
|
|
210
|
+
promotionsNo: promotion?.promotionsNo,
|
|
211
|
+
})
|
|
212
|
+
)
|
|
213
|
+
},
|
|
214
|
+
submitDeposit: async (context, event) => {
|
|
215
|
+
const { selectedQrcode, selectedAmount, promotion } = context
|
|
216
|
+
return await request.send(
|
|
217
|
+
payment.submitDepositTransaction({
|
|
218
|
+
method: selectedQrcode.method,
|
|
219
|
+
amount: selectedAmount,
|
|
220
|
+
promotionsNo: promotion?.promotionsNo,
|
|
221
|
+
})
|
|
222
|
+
)
|
|
223
|
+
},
|
|
224
|
+
},
|
|
225
|
+
}
|
|
226
|
+
)
|
|
227
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { assign, createMachine } from 'xstate'
|
|
2
|
+
import payment from '@jetthai/cuora/src/api/payment.js'
|
|
3
|
+
|
|
4
|
+
export default function (request, context) {
|
|
5
|
+
const { paymentDetail = [] } = context || {}
|
|
6
|
+
return createMachine(
|
|
7
|
+
{
|
|
8
|
+
id: 'usdt',
|
|
9
|
+
initial: 'loading',
|
|
10
|
+
context: {
|
|
11
|
+
paymentDetail,
|
|
12
|
+
currentCategory: 'usdt',
|
|
13
|
+
currentPayment: null,
|
|
14
|
+
networks: [],
|
|
15
|
+
selectedNetwork: null,
|
|
16
|
+
|
|
17
|
+
resultMap: {},
|
|
18
|
+
result: {
|
|
19
|
+
action: '',
|
|
20
|
+
cdtime: null,
|
|
21
|
+
accountNumber: '', // crypto address
|
|
22
|
+
currency: '',
|
|
23
|
+
network: '',
|
|
24
|
+
name: '',
|
|
25
|
+
qrcode: '',
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
states: {
|
|
29
|
+
loading: {
|
|
30
|
+
always: [
|
|
31
|
+
{
|
|
32
|
+
target: 'checking',
|
|
33
|
+
actions: 'setPayment',
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
},
|
|
37
|
+
checking: {
|
|
38
|
+
always: [
|
|
39
|
+
{
|
|
40
|
+
target: 'calculated',
|
|
41
|
+
actions: 'setResultFromLocal',
|
|
42
|
+
cond: 'isFound',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
target: 'calculating',
|
|
46
|
+
},
|
|
47
|
+
],
|
|
48
|
+
},
|
|
49
|
+
calculating: {
|
|
50
|
+
invoke: {
|
|
51
|
+
src: 'submitDeposit',
|
|
52
|
+
onDone: {
|
|
53
|
+
target: 'calculated',
|
|
54
|
+
actions: 'setResult',
|
|
55
|
+
},
|
|
56
|
+
onError: {
|
|
57
|
+
target: 'calculated',
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
calculated: {
|
|
62
|
+
on: {
|
|
63
|
+
SET_NETWORK: {
|
|
64
|
+
target: 'checking',
|
|
65
|
+
actions: 'setNetwork',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
actions: {
|
|
73
|
+
setPayment: assign((context, event) => {
|
|
74
|
+
const currentPayment = context.paymentDetail.find(
|
|
75
|
+
(element) => element.transferType === 'deposit' && element.category === context.currentCategory
|
|
76
|
+
)
|
|
77
|
+
const defaultNetworks = currentPayment.networkName.map((value, i) => {
|
|
78
|
+
return {
|
|
79
|
+
label: currentPayment.networkOptional?.[i],
|
|
80
|
+
value,
|
|
81
|
+
icon: value,
|
|
82
|
+
}
|
|
83
|
+
})
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
networks: defaultNetworks,
|
|
87
|
+
selectedNetwork: defaultNetworks[0],
|
|
88
|
+
currentPayment,
|
|
89
|
+
}
|
|
90
|
+
}),
|
|
91
|
+
setNetwork: assign((context, event) => {
|
|
92
|
+
return { selectedNetwork: event.data }
|
|
93
|
+
}),
|
|
94
|
+
setResultFromLocal: assign((context, event) => {
|
|
95
|
+
const { resultMap, selectedNetwork } = context
|
|
96
|
+
return { result: resultMap[selectedNetwork.value] }
|
|
97
|
+
}),
|
|
98
|
+
setResult: assign((context, event) => {
|
|
99
|
+
const { resultMap, selectedNetwork } = context
|
|
100
|
+
const { action, cdtime, accountNumber, currency, network, name, qrcode } = event.data
|
|
101
|
+
const result = {
|
|
102
|
+
action,
|
|
103
|
+
cdtime,
|
|
104
|
+
accountNumber,
|
|
105
|
+
currency,
|
|
106
|
+
network,
|
|
107
|
+
name,
|
|
108
|
+
qrcode,
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
return {
|
|
112
|
+
result,
|
|
113
|
+
resultMap: {
|
|
114
|
+
...resultMap,
|
|
115
|
+
[selectedNetwork.value]: result,
|
|
116
|
+
},
|
|
117
|
+
}
|
|
118
|
+
}),
|
|
119
|
+
},
|
|
120
|
+
guards: {
|
|
121
|
+
isFound: (context, event) => {
|
|
122
|
+
const { resultMap, selectedNetwork } = context
|
|
123
|
+
return resultMap[selectedNetwork.value]
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
services: {
|
|
127
|
+
submitDeposit: async (context, event) => {
|
|
128
|
+
const { currentPayment, selectedNetwork } = context
|
|
129
|
+
return await request.send(
|
|
130
|
+
payment.submitDepositTransactionCrypto({
|
|
131
|
+
method: currentPayment.method,
|
|
132
|
+
cryptoCurrency: currentPayment.channel,
|
|
133
|
+
cryptoNetwork: selectedNetwork.value,
|
|
134
|
+
})
|
|
135
|
+
)
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
}
|
|
139
|
+
)
|
|
140
|
+
}
|
|
@@ -110,8 +110,12 @@ export default function (request) {
|
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
fetchList: async (context, event) => {
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
if (request.getToken()) {
|
|
114
|
+
const { data } = await request.send(api.getListMyFavorite())
|
|
115
|
+
return data
|
|
116
|
+
} else {
|
|
117
|
+
return []
|
|
118
|
+
}
|
|
115
119
|
},
|
|
116
120
|
},
|
|
117
121
|
}
|
package/src/machine/game_v2_1.js
CHANGED
|
@@ -27,6 +27,7 @@ export default function (request) {
|
|
|
27
27
|
timestamp: null,
|
|
28
28
|
totalPage: 0,
|
|
29
29
|
},
|
|
30
|
+
staticData: [],
|
|
30
31
|
// play params
|
|
31
32
|
game: {
|
|
32
33
|
providerId: null,
|
|
@@ -47,6 +48,9 @@ export default function (request) {
|
|
|
47
48
|
idle: {
|
|
48
49
|
enter: 'clearGameInfo',
|
|
49
50
|
on: {
|
|
51
|
+
SET_STATIC_DATA: {
|
|
52
|
+
actions: 'setStaticData',
|
|
53
|
+
},
|
|
50
54
|
SET_ADDITION_ENABLE: {
|
|
51
55
|
actions: 'setAdditionEnable',
|
|
52
56
|
},
|
|
@@ -206,6 +210,11 @@ export default function (request) {
|
|
|
206
210
|
},
|
|
207
211
|
{
|
|
208
212
|
actions: {
|
|
213
|
+
setStaticData: assign((context, event) => {
|
|
214
|
+
return {
|
|
215
|
+
staticData: event.data,
|
|
216
|
+
}
|
|
217
|
+
}),
|
|
209
218
|
setAdditionEnable: assign((context, event) => {
|
|
210
219
|
return {
|
|
211
220
|
additionEnable: event.data,
|
|
@@ -222,11 +231,6 @@ export default function (request) {
|
|
|
222
231
|
isLastPage: index >= content?.totalPage - 1,
|
|
223
232
|
}
|
|
224
233
|
}),
|
|
225
|
-
setFavoriteList: assign((context, event) => {
|
|
226
|
-
return {
|
|
227
|
-
favoriteList: event.data.data || [],
|
|
228
|
-
}
|
|
229
|
-
}),
|
|
230
234
|
setRoom: assign((context, event) => {
|
|
231
235
|
return {
|
|
232
236
|
room: event.data,
|
|
@@ -324,9 +328,19 @@ export default function (request) {
|
|
|
324
328
|
},
|
|
325
329
|
services: {
|
|
326
330
|
getPageContent: async (context, event) => {
|
|
327
|
-
const { room, index, additionEnable } = context
|
|
331
|
+
const { room, index, additionEnable, staticData } = context
|
|
328
332
|
if (room.categoryId === GAME_SEARCH) {
|
|
329
333
|
return
|
|
334
|
+
} else if (!request.getToken()) {
|
|
335
|
+
const list = staticData.find((data) => data.category == room.categoryId)?.info || []
|
|
336
|
+
|
|
337
|
+
return [
|
|
338
|
+
{
|
|
339
|
+
data: list.slice(index * 20, (index + 1) * 20),
|
|
340
|
+
totalPage: Math.ceil(list.length / 20),
|
|
341
|
+
timestamp: Math.floor(Date.now() / 1000),
|
|
342
|
+
},
|
|
343
|
+
]
|
|
330
344
|
} else if (additionEnable) {
|
|
331
345
|
const param = { categoryId: room.categoryId, index }
|
|
332
346
|
return await Promise.all([request.send(api.getListCategory(param)), request.send(api.getListAddition(param))])
|
|
@@ -339,6 +353,8 @@ export default function (request) {
|
|
|
339
353
|
const { room, content, index, additionEnable } = context
|
|
340
354
|
if (room.categoryId === GAME_SEARCH) {
|
|
341
355
|
return
|
|
356
|
+
} else if (!request.getToken()) {
|
|
357
|
+
return []
|
|
342
358
|
} else if (additionEnable) {
|
|
343
359
|
return await Promise.all([
|
|
344
360
|
request.send(
|
|
@@ -433,12 +449,22 @@ const oldGuards = {
|
|
|
433
449
|
|
|
434
450
|
const oldServices = (request) => ({
|
|
435
451
|
fetchOption: async (context, event) => {
|
|
436
|
-
|
|
452
|
+
if (request.getToken()) {
|
|
453
|
+
return await request.send(api.getOptionMap())
|
|
454
|
+
}
|
|
437
455
|
},
|
|
438
456
|
fetchGameSHA: async (context, event) => {
|
|
439
|
-
|
|
457
|
+
if (request.getToken()) {
|
|
458
|
+
return await request.send(api.getGameSHA())
|
|
459
|
+
} else {
|
|
460
|
+
return {
|
|
461
|
+
status: null,
|
|
462
|
+
}
|
|
463
|
+
}
|
|
440
464
|
},
|
|
441
465
|
fetchStatus: async (context, event) => {
|
|
442
|
-
|
|
466
|
+
if (request.getToken()) {
|
|
467
|
+
return await request.send(api.getGameStatus())
|
|
468
|
+
}
|
|
443
469
|
},
|
|
444
470
|
})
|
package/src/machine/index.js
CHANGED
|
@@ -3,10 +3,7 @@ import auth from './auth.js'
|
|
|
3
3
|
import welcome from './welcome.js'
|
|
4
4
|
import common from './common.js'
|
|
5
5
|
import error from './error.js'
|
|
6
|
-
import game from './game.js'
|
|
7
|
-
import game_v2 from './game_v2.js'
|
|
8
6
|
import game_v2_1 from './game_v2_1.js'
|
|
9
|
-
import game_favorite from './game_favorite.js'
|
|
10
7
|
import game_favorite_v2 from './game_favorite_v2.js'
|
|
11
8
|
import game_search from './game_search.js'
|
|
12
9
|
import game_search_v2 from './game_search_v2.js'
|
|
@@ -16,9 +13,11 @@ import merge from './merge.js'
|
|
|
16
13
|
import payment_data from './payment_data.js'
|
|
17
14
|
import reward_fc from './reward_fc.js'
|
|
18
15
|
import reward from './reward.js'
|
|
16
|
+
import reward_cash from './reward_cash.js'
|
|
19
17
|
import setting from './setting.js'
|
|
20
18
|
import side from './side.js'
|
|
21
19
|
import side_v2 from './side_v2.js'
|
|
20
|
+
import side_cash from './side_cash.js'
|
|
22
21
|
import user_info from './user_info.js'
|
|
23
22
|
import user_sign_up from './user_sign_up.js'
|
|
24
23
|
import user_reset_password from './user_reset_password.js'
|
|
@@ -29,6 +28,7 @@ import withdraw_vn from './withdraw_vn.js'
|
|
|
29
28
|
import withdraw_vn2 from './withdraw_vn2.js'
|
|
30
29
|
import withdraw_crypto from './withdraw_crypto.js'
|
|
31
30
|
import withdraw_amb from './withdraw_amb.js'
|
|
31
|
+
import withdraw from './withdraw/index.js'
|
|
32
32
|
import deposit from './deposit/index.js'
|
|
33
33
|
import bonus from './bonus.js'
|
|
34
34
|
import leaderboard from './leaderboard.js'
|
|
@@ -45,9 +45,6 @@ export default {
|
|
|
45
45
|
common,
|
|
46
46
|
deposit,
|
|
47
47
|
error,
|
|
48
|
-
game,
|
|
49
|
-
game_v2,
|
|
50
|
-
game_favorite,
|
|
51
48
|
game_favorite_v2,
|
|
52
49
|
game_search,
|
|
53
50
|
game_search_v2,
|
|
@@ -56,10 +53,12 @@ export default {
|
|
|
56
53
|
merge,
|
|
57
54
|
payment_data,
|
|
58
55
|
reward,
|
|
56
|
+
reward_cash,
|
|
59
57
|
reward_fc,
|
|
60
58
|
setting,
|
|
61
59
|
side,
|
|
62
60
|
side_v2,
|
|
61
|
+
side_cash,
|
|
63
62
|
game_v2_1,
|
|
64
63
|
user_info,
|
|
65
64
|
user_sign_up,
|
|
@@ -79,4 +78,5 @@ export default {
|
|
|
79
78
|
vip_table,
|
|
80
79
|
promotions,
|
|
81
80
|
roulette_v2,
|
|
81
|
+
withdraw,
|
|
82
82
|
}
|