Files
rootandClaude Opus 5.5 7974a42301 Initial commit
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-23 11:07:42 +08:00

16 lines
357 B
Go

package videoser
import (
"context"
"videoweb/pub/common/srvdef"
"videoweb/pub/models/videotopicmod"
"go.mongodb.org/mongo-driver/bson"
)
func GetVideoTopicById(ctx context.Context, id int64) (*videotopicmod.VideoTopicModel, *srvdef.SrvErr) {
return videotopicmod.FindOneVideoTopicModel(ctx, bson.M{
videotopicmod.FN.VideoTopicModel.Id: id,
})
}