mirror of
https://git.mapside.kr/public/lotto_automation.git
synced 2026-09-20 16:05:02 +09:00
manual lotto policy sort func added
This commit is contained in:
+1
-1
@@ -86,7 +86,7 @@ class Lotto {
|
|||||||
const requestParams = lotteryInputs.map((lotto, idx) => {
|
const requestParams = lotteryInputs.map((lotto, idx) => {
|
||||||
return {
|
return {
|
||||||
genType: lotto === 'auto' ? '0' : '1',
|
genType: lotto === 'auto' ? '0' : '1',
|
||||||
arrGameChoiceNum: lotto === 'auto' ? null : lotto.map(num => String(num).padStart(2, 0)).join(','),
|
arrGameChoiceNum: lotto === 'auto' ? null : lotto.sort().map(num => String(num).padStart(2, 0)).join(','),
|
||||||
alpabet: String.fromCharCode(65 + idx)
|
alpabet: String.fromCharCode(65 + idx)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user