go-common/app/job/main/tv/dao/ugc/sync_arc.go
2019-04-22 18:49:16 +08:00

16 lines
299 B
Go

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