MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / CheckDetail

Method CheckDetail

internal/service/check.go:197–205  ·  view source on GitHub ↗

CheckDetail 获取审核详情

(ctx context.Context, checkID int64)

Source from the content-addressed store, hash-verified

195
196// CheckDetail 获取审核详情
197func (s *checkService) CheckDetail(ctx context.Context, checkID int64) (domain.Check, error) {
198 check, err := s.repo.FindByID(ctx, checkID)
199 if err != nil {
200 s.l.Error("获取审核详情失败", zap.Error(err))
201 return domain.Check{}, err
202 }
203
204 return check, nil
205}
206
207// recordActivity 记录活动
208func (s *checkService) recordActivity(uid int64, desc string) error {

Callers

nothing calls this directly

Calls 1

FindByIDMethod · 0.65

Tested by

no test coverage detected