升级至8069版本:版本号更新/代理配置系统/红包计时埋点/长连接重构/回调修复

This commit is contained in:
2026-02-26 10:44:13 +08:00
parent 7cbd3d061d
commit 40a74d2ea7
38 changed files with 3639 additions and 235 deletions

View File

@@ -339,6 +339,22 @@ func SetChatroomNameApi(ctx *gin.Context) {
ctx.JSON(http.StatusOK, result)
}
// SetGroupNicknameApi 设置我在本群的昵称
func SetGroupNicknameApi(ctx *gin.Context) {
reqModel := new(req.ChatroomNameModel)
queryKey, isExist := ctx.GetQuery("key")
if !isExist || strings.Trim(queryKey, "") == "" || strings.Trim(queryKey, "") == "null" {
//确保每次都有Key
ctx.JSON(http.StatusOK, vo.NewFailUUId(""))
return
}
if !validateData(ctx, &reqModel) {
return
}
result := service.SetGroupNicknameService(queryKey, *reqModel)
ctx.JSON(http.StatusOK, result)
}
// SendPatApi 群拍一拍功能
func SendPatApi(ctx *gin.Context) {
reqModel := new(req.SendPatModel)