@jetthai/cuora 1.1.406-dev-8 → 1.1.406

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/CHANGELOG.md CHANGED
@@ -2,28 +2,6 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### [1.1.406-dev-8](https://github.com/jetthai/cuora-module/compare/v1.1.406-dev-7...v1.1.406-dev-8) (2026-01-13)
6
-
7
- ### [1.1.406-dev-7](https://github.com/jetthai/cuora-module/compare/v1.1.406-dev-6...v1.1.406-dev-7) (2026-01-12)
8
-
9
- ### [1.1.406-dev-6](https://github.com/jetthai/cuora-module/compare/v1.1.406-dev-4...v1.1.406-dev-6) (2026-01-09)
10
-
11
- ### [1.1.406-dev-5](https://github.com/jetthai/cuora-module/compare/v1.1.406-dev-4...v1.1.406-dev-5) (2026-01-09)
12
-
13
- ### [1.1.406-dev-4](https://github.com/jetthai/cuora-module/compare/v1.1.406-dev-3...v1.1.406-dev-4) (2026-01-09)
14
-
15
- ### [1.1.406-dev-3](https://github.com/jetthai/cuora-module/compare/v1.1.407...v1.1.406-dev-3) (2026-01-08)
16
-
17
- ### [1.1.406-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.406-dev-1...v1.1.406-dev-2) (2025-12-22)
18
-
19
- ### [1.1.406-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.406...v1.1.406-dev-1) (2025-12-19)
20
-
21
- ### [1.1.406-dev-2](https://github.com/jetthai/cuora-module/compare/v1.1.406-dev-1...v1.1.406-dev-2) (2025-12-22)
22
-
23
- ### [1.1.406-dev-1](https://github.com/jetthai/cuora-module/compare/v1.1.406...v1.1.406-dev-1) (2025-12-19)
24
-
25
- ### [1.1.407](https://github.com/jetthai/cuora-module/compare/v1.1.406...v1.1.407) (2025-12-22)
26
-
27
5
  ### [1.1.406](https://github.com/jetthai/cuora-module/compare/v1.1.405...v1.1.406) (2025-12-16)
28
6
 
29
7
  ### [1.1.405](https://github.com/jetthai/cuora-module/compare/v1.1.404...v1.1.405) (2025-12-16)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetthai/cuora",
3
- "version": "1.1.406-dev-8",
3
+ "version": "1.1.406",
4
4
  "description": "",
5
5
  "main": "./src/index.js",
6
6
  "type": "module",
@@ -87,12 +87,6 @@ export default {
87
87
  getVipTable: ({ appSecret }) => ({ url: 'activities/viptable', method: 'get', params: { appSecret } }),
88
88
  getLevelBonusInfo: () => ({ url: 'activities/level-bonus/info', method: 'get' }),
89
89
  getRankingList: () => ({ url: 'activities/ranking', method: 'get' }),
90
- getPublicRankingList: ({ appSecret }) => ({
91
- url: 'activities/ranking/public/promotion-ranking',
92
- method: 'get',
93
- isPublic: true,
94
- params: { appSecret },
95
- }),
96
90
  exchangeDiamond: ({ activityNo, exchangeAward = [] }) => ({
97
91
  url: 'activities/exchange/diamond',
98
92
  method: 'post',
package/src/api/common.js CHANGED
@@ -7,9 +7,4 @@ export default {
7
7
  getNavbar: ({ appSecret } = {}) => ({ url: 'getNavbarSetting', params: { appSecret }, method: 'get', isPublic: true }),
8
8
  getDefaultAffiliateCode: ({ appSecret }) => ({ url: 'getAffiliateCode', params: { appSecret }, method: 'get', isPublic: true }),
9
9
  getSiteInfoConfig: ({ appSecret, config }) => ({ url: 'get-site-config', method: 'get', params: { appSecret, config }, isPublic: true }),
10
- sendPixel: ({ appSecret, eventId, fbc, fbp, event }) => ({
11
- url: 'pixel',
12
- method: 'post',
13
- params: { appSecret, eventId, fbc, fbp, event },
14
- }),
15
10
  }
@@ -176,12 +176,12 @@ export default {
176
176
  params: { transferType: 'DEPOSIT', amount, promotionsNo },
177
177
  }),
178
178
  submitWithdrawTransactionCrypto: ({ method, amount, cryptoCurrency, cryptoNetwork, targetAddress, applyerHolderName }) => ({
179
- url: `/payment/v2/${method}/withdraw-otp/verify`,
179
+ url: `payment/v2/${method}/transaction`,
180
180
  method: 'post',
181
181
  params: { transferType: 'WITHDRAW', amount, cryptoCurrency, cryptoNetwork, targetAddress, applyerHolderName },
182
182
  }),
183
183
  submitWithdrawTransactionVN: ({ method, amount, applyerBankCode, applyerAccountNumber, applyerIfscCode, branch, applyerHolderName }) => ({
184
- url: `/payment/v2/${method}/withdraw-otp/verify`,
184
+ url: `payment/v2/${method}/transaction`,
185
185
  method: 'post',
186
186
  params: {
187
187
  transferType: 'WITHDRAW',
@@ -205,7 +205,7 @@ export default {
205
205
  cryptoNetwork,
206
206
  targetAddress,
207
207
  }) => ({
208
- url: `payment/v2/${method}/withdraw-otp/verify`,
208
+ url: `payment/v2/${method}/transaction`,
209
209
  method: 'post',
210
210
  params: {
211
211
  transferType: 'WITHDRAW',
@@ -247,16 +247,4 @@ export default {
247
247
  withdrawCheck: () => ({ url: `payment/v2/withdrawCheck`, method: 'post' }),
248
248
  updateUtr: ({ applyId, utr }) => ({ url: 'payment/v2/updateUtr', method: 'post', params: { applyId, utr } }),
249
249
  uploadCommonSlip: ({ applyId, slip }) => ({ url: 'payment/v2/uploadCommonSlip', method: 'post', params: { applyId, slip } }),
250
- otpAcknowledge: ({ method, requestId, code }) => ({
251
- url: `/payment/v2/${method}/withdraw-otp/acknowledge`,
252
- method: 'post',
253
- params: { requestId, code },
254
- isPublic: true,
255
- }),
256
- otpReset: ({ method, requestId }) => ({
257
- url: `/payment/v2/${method}/withdraw-otp/reset-otp`,
258
- method: 'post',
259
- params: { requestId },
260
- isPublic: true,
261
- }),
262
250
  }
@@ -465,7 +465,10 @@ export default function (request) {
465
465
  referralObj.channel = storage.get('channel') || defaultChannel || channel
466
466
  referralObj.subchannel = storage.get('subchannel') || defaultSubchannel || subchannel
467
467
 
468
- const fullURL = request.config.fullURL
468
+ // OZE、ZAZA 先使用 v2 測試 ,等待確認沒問題後再統一用 v2
469
+ // 但 ZALO 仍維持 v1
470
+ const fullURL =
471
+ ['OZE', 'ZAZA'].includes(clientId) && provider !== 'zalo' ? request.config.fullURL.replace('/v1/', '/v2/') : request.config.fullURL
469
472
 
470
473
  const redirectURL = urljoin(
471
474
  fullURL,
@@ -55,7 +55,7 @@ export default function (request) {
55
55
  },
56
56
  },
57
57
  fetching: {
58
- entry: ['setUA', 'setAgent', 'setPixel', 'setKPixel', 'setFbclid'],
58
+ entry: ['setUA', 'setAgent', 'setPixel', 'setKPixel'],
59
59
  invoke: {
60
60
  src: 'fetchConfig',
61
61
  onDone: [
@@ -237,18 +237,6 @@ export default function (request) {
237
237
  isMobile: userAgent?.device?.type,
238
238
  }
239
239
  }),
240
- setFbclid: assign(() => {
241
- const urlParams = new URLSearchParams(window.location.search)
242
- const fbclid = urlParams.get('fbclid') || ''
243
- if (fbclid !== '') {
244
- const timestamp = Date.now()
245
- const cookieRecord = 'fb.1.' + timestamp + '.' + fbclid
246
- document.cookie = `_fbc=${cookieRecord}; path=/; max-age=${60 * 60 * 24 * 7}`
247
- }
248
- return {
249
- fbclid,
250
- }
251
- }),
252
240
  setPixel: assign(() => {
253
241
  let urlParams = new URLSearchParams(window.location.search)
254
242
  const pix = urlParams.get('pix') || storage.get('pix') || ''
@@ -49,10 +49,6 @@ export default function (request, context) {
49
49
  services: {
50
50
  // 取得遊戲資訊
51
51
  fetchGameInfo: async (context, event) => {
52
- // [防呆] 確保有 gameCode
53
- if (!gameCode) {
54
- return { data: {} }
55
- }
56
52
  return await request.send(game.getGameInfo({ appSecret, gameCode }))
57
53
  },
58
54
  },
@@ -517,60 +517,38 @@ export default function (request) {
517
517
  })
518
518
  return list.filter((item) => item.downLine.length > 0).slice(0, 6)
519
519
  } else if (additionEnable) {
520
- // [防呆] 確保有 categoryId
521
- const hasCategoryId = !!room?.categoryId
522
- const param = hasCategoryId ? { categoryId: room.categoryId, index, appSecret } : null
523
- // [防呆] 確保有 categoryId
524
- requestChain = event.data.list
525
- .filter((category) => category && category.id !== undefined && category.id !== null)
526
- .map((category) =>
527
- request
528
- .send(
529
- api.getListCategory({
530
- categoryId: category.id,
531
- index: 0,
532
- appSecret,
533
- })
534
- )
535
- .then((res) => Object.assign({ downLine: res.data.filter((item) => item.isGame).slice(0, 20) }, category))
536
- )
537
- const promises = [...requestChain]
538
- if (hasCategoryId) {
539
- promises.push(request.send(api.getListAddition(param)))
540
- }
541
- const result = await Promise.all(promises)
542
- return result.filter((item) => item.downLine?.length > 0).slice(0, 6)
520
+ const param = { categoryId: room.categoryId, index, appSecret }
521
+ requestChain = event.data.list.map((category, b) => {
522
+ return request
523
+ .send(
524
+ api.getListCategory({
525
+ categoryId: category.id,
526
+ index: 0,
527
+ appSecret,
528
+ })
529
+ )
530
+ .then((res) => Object.assign({ downLine: res.data.filter((item) => item.isGame).slice(0, 20) }, category))
531
+ })
532
+ const result = await Promise.all([...requestChain, request.send(api.getListAddition(param))])
533
+ return result.filter((item) => item.downLine.length > 0).slice(0, 6)
543
534
  } else {
544
- // [防呆] 確保有 categoryId
545
- requestChain = event.data.list
546
- .filter((category) => category && category.id !== undefined && category.id !== null)
547
- .map((category) =>
548
- request
549
- .send(
550
- api.getListCategory({
551
- categoryId: category.id,
552
- index: 0,
553
- appSecret,
554
- })
555
- )
556
- .then((res) => Object.assign({ downLine: res.data.filter((item) => item.isGame).slice(0, 20) }, category))
557
- )
535
+ requestChain = event.data.list.map((category, b) => {
536
+ return request
537
+ .send(
538
+ api.getListCategory({
539
+ categoryId: category.id,
540
+ index: 0,
541
+ appSecret,
542
+ })
543
+ )
544
+ .then((res) => Object.assign({ downLine: res.data.filter((item) => item.isGame).slice(0, 20) }, category))
545
+ })
558
546
  const result = await Promise.all([...requestChain])
559
547
  return result.filter((item) => item.downLine.length > 0).slice(0, 6)
560
548
  }
561
549
  },
562
550
  getPageContent: async (context, event) => {
563
551
  const { room, index, additionEnable, staticData } = context
564
- // [防呆] 確保有 categoryId
565
- if (!room?.categoryId) {
566
- return [
567
- {
568
- data: [],
569
- totalPage: 0,
570
- timestamp: context.content?.timestamp ?? null,
571
- },
572
- ]
573
- }
574
552
  if (room.categoryId === GAME_SEARCH) {
575
553
  return
576
554
  } else if (!request.getToken()) {
@@ -593,10 +571,6 @@ export default function (request) {
593
571
  },
594
572
  updatePageContent: async (context, event) => {
595
573
  const { room, content, index, additionEnable } = context
596
- // [防呆] 確保有 categoryId
597
- if (!room?.categoryId) {
598
- return []
599
- }
600
574
  if (room.categoryId === GAME_SEARCH) {
601
575
  return []
602
576
  } else if (!request.getToken()) {
@@ -634,14 +608,9 @@ export default function (request) {
634
608
  }
635
609
  },
636
610
  connectGame: async (context, event) => {
637
- // [防呆] 確保有 providerId 和 gameId
638
- const { providerId, gameId } = context.game || {}
639
- if (!providerId || !gameId) {
640
- return
641
- }
642
611
  const returnProviders = ['RSG', 'KP', 'EPICWIN', 'AMBSLOT', 'SEXY_VENUS', 'SEXY_SEXYBCRT', 'PG', 'NPG']
643
612
  const { lang, isMobile, walletType } = context
644
- const { gameTypeId, mappingId } = context.game
613
+ const { providerId, gameId, gameTypeId, mappingId } = context.game
645
614
  const params = {
646
615
  provider_id: providerId,
647
616
  game_id: gameId,
@@ -37,13 +37,12 @@ export default function (request) {
37
37
  checking: {
38
38
  always: [
39
39
  { target: 'idle', actions: 'setActivityDetail', cond: 'isExist' },
40
- { target: 'loading', cond: 'hasActivityNoAndToken' },
41
- { target: 'idle' },
40
+ { target: 'loading', cond: 'hasActivityNo' },
42
41
  ],
43
42
  },
44
43
  loading: {
45
44
  invoke: {
46
- src: 'fetchActivityDetail',
45
+ src: 'fetchPublicActivityDetail',
47
46
  onDone: {
48
47
  target: 'idle',
49
48
  actions: ['setActivityMap', 'setActivityDetail'],
@@ -101,9 +100,8 @@ export default function (request) {
101
100
  const { activityMap, activityNo } = context
102
101
  return activityMap[activityNo]
103
102
  },
104
- hasActivityNoAndToken: (context, event) => {
105
- const hasToken = request.getToken()
106
- return !!context.activityNo && hasToken
103
+ hasActivityNo: (context, event) => {
104
+ return !!context.activityNo
107
105
  },
108
106
  },
109
107
  services: {
@@ -118,10 +116,15 @@ export default function (request) {
118
116
  const { data } = await request.send(hasToken ? api.getActivityList({ appSecret }) : api.getAllActivityList({ appSecret }))
119
117
  return data
120
118
  },
121
- fetchActivityDetail: async (context, event) => {
119
+ fetchPublicActivityDetail: async (context, event) => {
120
+ const hasToken = request.getToken()
122
121
  const { activityNo } = context
123
122
  let result = {}
124
- result = await request.send(api.getActivityDetail({ activityNo, appSecret }))
123
+ if (hasToken) {
124
+ result = await request.send(api.getActivityDetail({ activityNo, appSecret }))
125
+ } else {
126
+ result = await request.send(api.getTournamentDetail({ activityNo, appSecret }))
127
+ }
125
128
  return result.data
126
129
  },
127
130
  },
@@ -1,6 +1,7 @@
1
1
  import { assign, createMachine } from 'xstate'
2
2
  import findLastIndex from 'lodash/findLastIndex.js'
3
3
  import payment from '../../api/payment.js'
4
+ import user from '../../api/user.js'
4
5
 
5
6
  export default function (request) {
6
7
  const { appSecret } = request.config
@@ -35,8 +36,8 @@ export default function (request) {
35
36
 
36
37
  // otp
37
38
  requestId: null,
38
- number: null,
39
- email: null,
39
+ status: null,
40
+ target: null,
40
41
  ttl: null,
41
42
  },
42
43
  states: {
@@ -355,27 +356,26 @@ export default function (request) {
355
356
  return { paymentDetail }
356
357
  }),
357
358
  setOtp: assign((context, event) => {
358
- const { request_id, number, email, ttl } = event.data
359
+ const { requestId, status, target, ttl } = event.data
359
360
  return {
360
- requestId: request_id,
361
- number,
362
- email,
361
+ requestId,
362
+ status,
363
+ target,
363
364
  ttl,
364
365
  }
365
366
  }),
366
367
  decreaseTtl: assign((context, evnet) => {
367
368
  const second = context.ttl
368
369
  return {
369
- ttl: Math.max(second - 1000, 0),
370
+ ttl: Math.max(second - 1, 0),
370
371
  }
371
372
  }),
372
373
  setVerificationData: assign((context, event) => {
373
- const { request_id, number, email, ttl } = event.data
374
+ const { requestId, ttl, target } = event.data
374
375
  return {
375
- requestId: request_id,
376
- number,
377
- email,
376
+ requestId,
378
377
  ttl,
378
+ target,
379
379
  }
380
380
  }),
381
381
  setAttachmentType: assign((context, event) => {
@@ -439,8 +439,7 @@ export default function (request) {
439
439
  return !enableWithdraw || balance < minWithdrawAmount
440
440
  },
441
441
  isOtpRequired: (context, event) => {
442
- const { request_id, number, email } = event.data || {}
443
- return request_id !== undefined && (number || email)
442
+ return event.data?.status === 'otp-verifying'
444
443
  },
445
444
  isNotWithdrawMinDepositAmount: (context, event) => {
446
445
  const { withdrawCheck } = context
@@ -510,15 +509,13 @@ export default function (request) {
510
509
  return await request.send(payment.convertFreeCredit({ exchangeType: 1 }))
511
510
  },
512
511
  resetOtp: async (context, event) => {
513
- const { requestId } = context
514
- const { method } = context.paymentDetail[0]
515
- return await request.send(payment.otpReset({ method: method, requestId }))
512
+ const { requestId, target } = context
513
+ return await request.send(user.otpReset({ requestId, target }))
516
514
  },
517
515
  acknowledge: async (context, event) => {
518
- const { requestId } = context
519
- const { method } = context.paymentDetail[0]
516
+ const { requestId, target } = context
520
517
  const code = event.data
521
- return await request.send(payment.otpAcknowledge({ method: method, requestId, code }))
518
+ return await request.send(user.otpAcknowledge({ requestId, target, code }))
522
519
  },
523
520
  pool: async (context, event) => {
524
521
  const { amount } = context
@@ -23,8 +23,6 @@ export default function (request, context) {
23
23
  requestId: null,
24
24
  status: null,
25
25
  target: null,
26
- email: null,
27
- number: null,
28
26
  ttl: null,
29
27
  },
30
28
  states: {
@@ -119,18 +117,29 @@ export default function (request, context) {
119
117
  RESET_OTP: {
120
118
  target: 'reset',
121
119
  },
122
- BACK: {
123
- target: '#withdraw_manual_cash.calculated',
124
- },
120
+ BACK: [
121
+ // {
122
+ // target: '#withdraw_vn2.activity.convertible',
123
+ // cond: 'isActivity',
124
+ // },
125
+ // {
126
+ // target: '#withdraw_vn2.cash.withdrawable',
127
+ // },
128
+ ],
125
129
  },
126
130
  },
127
131
  acknowledging: {
128
132
  invoke: {
129
133
  src: 'acknowledge',
130
- onDone: {
131
- target: '#withdraw_manual_cash.submitted',
132
- actions: 'setProcessing',
133
- },
134
+ onDone: [
135
+ // {
136
+ // target: '#withdraw_vn2.activity.converted',
137
+ // cond: 'isActivity',
138
+ // },
139
+ // {
140
+ // target: '#withdraw_vn2.cash.submitted',
141
+ // },
142
+ ],
134
143
  onError: {
135
144
  target: 'idle',
136
145
  },
@@ -194,27 +203,26 @@ export default function (request, context) {
194
203
  }
195
204
  }),
196
205
  setOtp: assign((context, event) => {
197
- const { request_id, email, number, ttl } = event.data
206
+ const { requestId, status, target, ttl } = event.data
198
207
  return {
199
- requestId: request_id,
200
- email,
201
- number,
208
+ requestId,
209
+ status,
210
+ target,
202
211
  ttl,
203
212
  }
204
213
  }),
205
214
  decreaseTtl: assign((context, evnet) => {
206
215
  const second = context.ttl
207
216
  return {
208
- ttl: Math.max(second - 1000, 0),
217
+ ttl: Math.max(second - 1, 0),
209
218
  }
210
219
  }),
211
220
  setVerificationData: assign((context, event) => {
212
- const { request_id, ttl, number, email } = event.data
221
+ const { requestId, ttl, target } = event.data
213
222
  return {
214
- requestId: request_id,
223
+ requestId,
215
224
  ttl,
216
- number,
217
- email,
225
+ target,
218
226
  }
219
227
  }),
220
228
  },
@@ -230,7 +238,7 @@ export default function (request, context) {
230
238
  return selectedUserBank && selectedAmount > 0 && currentPayment.minimum <= selectedAmount && selectedAmount <= currentPayment.maximum
231
239
  },
232
240
  isOtpRequired: (context, event) => {
233
- return event.data?.request_id !== undefined
241
+ return event.data?.status === 'otp-verifying'
234
242
  },
235
243
  },
236
244
  services: {
@@ -281,13 +289,13 @@ export default function (request, context) {
281
289
  )
282
290
  },
283
291
  resetOtp: async (context, event) => {
284
- const { currentPayment, requestId } = context
285
- return await request.send(payment.otpReset({ method: currentPayment.method, requestId }))
292
+ const { requestId, target } = context
293
+ return await request.send(user.otpReset({ requestId, target }))
286
294
  },
287
295
  acknowledge: async (context, event) => {
288
- const { currentPayment, requestId } = context
296
+ const { requestId, target } = context
289
297
  const code = event.data
290
- return await request.send(payment.otpAcknowledge({ method: currentPayment.method, requestId, code }))
298
+ return await request.send(user.otpAcknowledge({ requestId, target, code }))
291
299
  },
292
300
  },
293
301
  }
@@ -140,8 +140,6 @@ const supportVersion2List = [
140
140
  'game/list/v3/gameInfo',
141
141
  'payment/v2/uploadCommonSlip',
142
142
  'game/history/options',
143
- // 09/30
144
- 'pixel',
145
143
  // 10/09
146
144
  'account-binding/status',
147
145
  'account-binding/bind',
@@ -243,10 +241,13 @@ export default class Request {
243
241
  this._checkToken(req)
244
242
 
245
243
  const requestConfig = this._createConfig(req, cancelToken)
244
+ // console.log('*請求資料Check', requestConfig)
246
245
  const configUrls = ['getConfig', 'get-config']
247
246
  if (this.isBlocked && !configUrls.includes(requestConfig.url)) {
248
247
  // 狀態是維護中&請求非siteConfig,終止所有的請求,除了維護頁需要的資料(siteConfig)
248
+ // console.log('%c*禁止的請求目標', requestConfig)
249
249
  } else {
250
+ // console.log('%c*允許的請求目標', requestConfig)
250
251
  const { data } = await this.axios.request(requestConfig)
251
252
  return data
252
253
  }
@@ -279,9 +280,9 @@ export default class Request {
279
280
  const { method, url, params, isPublic, isFormData, headers } = req
280
281
  let fullURL = this.config.fullURL
281
282
  let urlName = url
282
-
283
283
  // 有些API會將參數(/?)直接帶在URL上,所以要將參數排除
284
284
  const cleanUrl = url.split('?')[0]
285
+
285
286
  const isV2Supported = supportVersion2List.some((supportedUrl) => {
286
287
  // 如果包含動態參數(:parameter),則使用模式匹配
287
288
  if (supportedUrl.includes(':')) {
@@ -291,9 +292,16 @@ export default class Request {
291
292
  }
292
293
  return supportedUrl === cleanUrl
293
294
  })
294
- // 符合轉換規則的API進行路徑調整
295
- if (isV2Supported) {
295
+
296
+ // 目前全站都支援V2,若有需要限制為V1的站點可以填入,此段等轉換全部完成之後就可以移除了
297
+ const supportV2Toggle = [''].includes(this.config?.clientId)
298
+
299
+ if (isV2Supported && !supportV2Toggle) {
300
+ fullURL = fullURL.replace('/v1/', '/v2/')
296
301
  urlName = this._convertUrlToKebabCase(url)
302
+ // console.log(`*[DEV_ONLY]V2`, 'url:', urlName)
303
+ } else {
304
+ // console.log(`*[DEV_ONLY]V2-不支援:`, 'url:', urlName)
297
305
  }
298
306
 
299
307
  if (isFormData) {