feat(api): update log filtering to use ResetSubscribe type for subscription logs

This commit is contained in:
Chang lue Tsen 2025-08-26 14:26:55 -04:00
parent 92466d62a4
commit 88cbfbb7d6

View File

@ -30,7 +30,7 @@ func (l *FilterResetSubscribeLogLogic) FilterResetSubscribeLog(req *types.Filter
data, total, err := l.svcCtx.LogModel.FilterSystemLog(l.ctx, &log.FilterParams{
Page: req.Page,
Size: req.Size,
Type: log.TypeRegister.Uint8(),
Type: log.TypeResetSubscribe.Uint8(),
ObjectID: req.UserSubscribeId,
Data: req.Date,
Search: req.Search,