Compare commits
No commits in common. "90cbc95ee27d555cc18f5ba115e82da04ed6fd4c" and "092df2986918d94b90993b78212238463d60b612" have entirely different histories.
90cbc95ee2
...
092df29869
|
|
@ -4,4 +4,3 @@ node_modules
|
||||||
test
|
test
|
||||||
yarn.lock
|
yarn.lock
|
||||||
config.json
|
config.json
|
||||||
package-lock.json
|
|
||||||
|
|
@ -5,6 +5,6 @@
|
||||||
"ntfyToken": "TOKEN",
|
"ntfyToken": "TOKEN",
|
||||||
"buyLottoPolicy": [
|
"buyLottoPolicy": [
|
||||||
"auto",
|
"auto",
|
||||||
[1,2,3,4,5,6]
|
"1,2,3,4,5,6"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -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.sort().map(num => String(num).padStart(2, 0)).join(','),
|
arrGameChoiceNum: lotto === 'auto' ? null : lotto.map(num => String(num).padStart(2, 0)).join(','),
|
||||||
alpabet: String.fromCharCode(65 + idx)
|
alpabet: String.fromCharCode(65 + idx)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue