feat(database): 添加多个玩家相关表的联合唯一约束 - 为player_talk表添加玩家+挖矿联合唯一索引 - 为player_task表添加玩家+任务联合唯一索引 - 为player_title表添加玩家+称号联合唯一索引 - 为player_pet表添加玩家+精灵联合唯一索引 - 为player_cdk_log表添加玩家+CDK联合唯一索引 - 为player_egg表添加玩家孵蛋联合唯一索引 - 为player_pvp表添加PVP索引 - 为player_sign_in_log表添加签到联合唯一索引 - 为player_room_house表添加房间索引 fix(user-talk): 修复获取聊天配置
This commit is contained in:
@@ -30,6 +30,9 @@ func (h Controller) GetTalkCategory(data *item.TalkCateInboundInfo, c *player.Pl
|
||||
}
|
||||
//更新次数
|
||||
config := service.NewTalkConfigService().GetCache(int(data.ID))
|
||||
if config == nil {
|
||||
return result, errorcode.ErrorCodes.ErrSystemError
|
||||
}
|
||||
|
||||
//service.NewItemService().GetItemCount(config.ItemID)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user