删除数据上报逻辑

移除 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
+2 -7
View File
@@ -6,7 +6,6 @@ import (
"strings"
"videoweb/app/api/proto"
"videoweb/app/service/configser"
"videoweb/app/service/reportser"
"videoweb/pub/common/log"
"videoweb/pub/common/netutil"
"videoweb/pub/common/srvdef"
@@ -255,9 +254,7 @@ func SetLike(ctx context.Context, userId int64, req *proto.VideoLikeSetReq) (*pr
IsLike: videoOperateStatusByFlag(*req.IsLike),
CountLike: countLike,
}
if changed {
reportser.ReportVideoLike(ctx, userId, req.Id, resp.IsLike)
}
_ = changed
return resp, nil
}
@@ -277,9 +274,7 @@ func SetCollect(ctx context.Context, userId int64, req *proto.VideoCollectSetReq
IsCollect: videoOperateStatusByFlag(*req.IsCollect),
CountCollect: countCollect,
}
if changed {
reportser.ReportVideoCollect(ctx, userId, req.Id, resp.IsCollect)
}
_ = changed
return resp, nil
}