sync_arc.go 299 B

123456789101112131415
  1. package ugc
  2. import (
  3. "context"
  4. "go-common/library/log"
  5. )
  6. // FinishArc updates the submit status from 1 to 0
  7. func (d *Dao) FinishArc(c context.Context, aid int64) (err error) {
  8. if _, err = d.DB.Exec(c, _finishArc, aid); err != nil {
  9. log.Error("FinishVideos Error: %v", aid, err)
  10. }
  11. return
  12. }