fixed lots of bugs

This commit is contained in:
2026-09-07 20:44:56 +08:00
parent 66235cf663
commit d0f0120271
30 changed files with 2442 additions and 212 deletions

21
utils/profile.go Normal file
View File

@@ -0,0 +1,21 @@
package utils
import "fmt"
var BandRankMap = func() map[string]any {
m := map[string]any{}
for _, id := range []int{1, 2, 3, 4, 5, 18, 21, 45} {
m[fmt.Sprintf("%d", id)] = 67
}
return m
}()
var DeckRatingMap = func() map[string]any {
m := map[string]any{}
for _, id := range []int{1, 2, 3, 4, 5, 18, 21, 45} {
m[fmt.Sprintf("%d", id)] = map[string]any{
"rank": "c", "score": 0, "lowerRating": 1, "upperRating": 1600000,
}
}
return m
}()