Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service service struct
func (*Service) OpLog ¶
func (s *Service) OpLog(c context.Context, cid, operator, OperationTime int64, typ int, dmids []int64, subject, originVal, currentVal, remark string, source oplog.Source, operatorType oplog.OperatorType) (err error)
OpLog put a new infoc format operation log into the channel
func (*Service) SubtitleFilter ¶
SubtitleFilter . 1、只处理状态为审核待检测,发布待检测的数据 2、如果是审核待检测的数据,检测完毕,状态改为带审核,删除草稿缓存,删除字幕缓存 3、如果检测失败,状态改为审核驳回,并且更新驳回理由 删除缓存 4、如果是发布待检测的状态,检测完毕,状态改为发布,更新数据库逻辑,发布表更新,删除字幕缓存 5、如果发布检测失败。状态改为审核驳回,并且更新驳回理由。删除缓存 6、如果消费失败 数据丢失 容错
Click to show internal directories.
Click to hide internal directories.