From 9a29b5203c0636b324809ff03ddf9e01b5e1ac16 Mon Sep 17 00:00:00 2001 From: yuxh Date: Wed, 31 Dec 2025 11:59:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(userlive):=20=E6=B7=BB=E5=8A=A0=E5=B0=81?= =?UTF-8?q?=E7=A6=81=E7=BB=93=E6=9D=9F=E6=97=B6=E9=97=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在用户封禁响应数据中添加 ban_end_time 字段 --- services/userlive/user_ban.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/services/userlive/user_ban.go b/services/userlive/user_ban.go index 6dd8c48..dcdee4a 100644 --- a/services/userlive/user_ban.go +++ b/services/userlive/user_ban.go @@ -22,8 +22,9 @@ type BanResp struct { Code int `json:"code"` Msg string `json:"msg"` Data struct { - Ban bool `json:"ban"` // 是否要禁止 - BanRuleId int64 `json:"ban_rule_id"` // 命中的封禁规则id + Ban bool `json:"ban"` // 是否要禁止 + BanRuleId int64 `json:"ban_rule_id"` // 命中的封禁规则id + BanEndTime string `json:"ban_end_time"` // 封禁结束时间 } `json:"data"` } type BanReqParam struct {