Improve live and random live handling
- Add random live handlers, schemas and persistence for lot/play/continue/gameover/reward flow - Update live status and schedule generation, including special rotation handling and CN timezone alignment - Add config support for unlocking all daily special rotation songs and document the option - Refresh live play, reward, precise score and session logic plus bundled main.db updates Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
+6
-4
@@ -23,8 +23,9 @@ type AppConfigs struct {
|
||||
}
|
||||
|
||||
type Settings struct {
|
||||
ListenPort string `json:"listen_port"`
|
||||
CdnServer string `json:"cdn_server"`
|
||||
ListenPort string `json:"listen_port"`
|
||||
CdnServer string `json:"cdn_server"`
|
||||
UnlockAllSpecialRotation bool `json:"unlock_all_special_rotation"`
|
||||
}
|
||||
|
||||
func InitConfig() {
|
||||
@@ -35,8 +36,9 @@ func DefaultConfigs() *AppConfigs {
|
||||
return &AppConfigs{
|
||||
AppName: "honoka-chan",
|
||||
Settings: Settings{
|
||||
ListenPort: "8080",
|
||||
CdnServer: "http://127.0.0.1:8080/static",
|
||||
ListenPort: "8080",
|
||||
CdnServer: "http://127.0.0.1:8080/static",
|
||||
UnlockAllSpecialRotation: false,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user