GITLAB

Hermes / api-game

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • api-game_qianyi
  • configs
  • init.go
  • 23f685c4   feat✨:游戏功能配置 Browse Code »
    王家文
    2024-04-18 14:15:09 +0800  
init.go 393 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
package configs

import (
	"apigame/configs/confapi"
	"apigame/service-common/svconst"
)

func Init() bool {

	for _, gameId := range svconst.GameList {
		_, _ = confapi.GetConfig(gameId)
	}

	for _, gameId := range svconst.GameListCardHolder {
		_, _ = GetCardActivityConfig(gameId)
	}

	for _, gameId := range svconst.GameListRoomRank {
		_, _ = GetRoomRankConfig(gameId)
	}

	return true
}