删除数据上报逻辑

移除 pub/dataReport、reportser、srv_report、上报定时任务及 eventmod 事件表,
以及注册/登录/点赞/收藏/评论/解锁/订单/上下架等处的上报调用和 reportSdkConfig 配置下发。

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-09-29 11:42:33 +08:00
co-authored by Claude Opus 5.5
parent 6894ded6c8
commit 717962defb
31 changed files with 9 additions and 1903 deletions
+1 -9
View File
@@ -8,7 +8,6 @@ import (
"unicode/utf8"
"videoweb/app/api/proto"
"videoweb/app/service/configser"
"videoweb/app/service/reportser"
"videoweb/pub/common/enum/redisconst"
"videoweb/pub/common/log"
"videoweb/pub/common/netutil"
@@ -126,15 +125,8 @@ func SendComment(ctx context.Context, userId int64, ip string, req *proto.Commen
log.Error("评论发布后更新短剧热度失败", log.Any("短剧ID", playletId), log.Any("评论信息", info), log.E(err))
return err
}
chapterId := int64(0)
if req.ObjectType == ObjectTypePlayletChapter {
chapterId = req.ObjectId
}
reportser.ReportPlayletComment(ctx, user, playletId, chapterId, text)
} else if req.ObjectType == ObjectTypeVideo {
reportser.ReportVideoComment(ctx, user, req.ObjectId, text)
}
// app端发布评论先进入待审核状态,不立即增加业务对象评论数;后台审核通过时再统一同步 countComment
// app端发布评论先进入待审核状态,不立即增加短剧/剧集评论数;后台审核通过时再统一同步 countComment。
return nil
}