Compare commits
No commits in common. "90cbc95ee27d555cc18f5ba115e82da04ed6fd4c" and "092df2986918d94b90993b78212238463d60b612" have entirely different histories.
90cbc95ee2
...
092df29869
|
|
@ -3,5 +3,4 @@
|
|||
node_modules
|
||||
test
|
||||
yarn.lock
|
||||
config.json
|
||||
package-lock.json
|
||||
config.json
|
||||
|
|
@ -5,6 +5,6 @@
|
|||
"ntfyToken": "TOKEN",
|
||||
"buyLottoPolicy": [
|
||||
"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) => {
|
||||
return {
|
||||
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)
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue