Commit efaa7bf76d739067f91e13aa40f97ace7622cf74

Authored by 王家文
1 parent 9ac6f905
Exists in master and in 1 other branch dev-wjw

fix🐛:排行活动无活动时的接口数据

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
service/roomrank/handle.go
@@ -9,7 +9,7 @@ import ( @@ -9,7 +9,7 @@ import (
9 9
10 // HandleGetConfig 活动配置 10 // HandleGetConfig 活动配置
11 func HandleGetConfig(req *models.ReqRoomRankGetConfig) (code string, rsp models.RspRoomRankGetConfig) { 11 func HandleGetConfig(req *models.ReqRoomRankGetConfig) (code string, rsp models.RspRoomRankGetConfig) {
12 - rsp = models.RspRoomRankGetConfig{} 12 + rsp = models.RspRoomRankGetConfig{Config: make([]any, 0)}
13 code = code_msg.RECODE_OK 13 code = code_msg.RECODE_OK
14 gameId := req.GameID 14 gameId := req.GameID
15 15