Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
package archive
import (
"context"
)
// AddNetSafeMd5 fn
func (s *Service) AddNetSafeMd5(c context.Context, nid int64, md5 string) (err error) {
err = s.arc.AddNetSafeMd5(c, nid, md5)
go s.NotifyNetSafe(c, nid)
return
}
// NotifyNetSafe fn
func (s *Service) NotifyNetSafe(c context.Context, nid int64) (err error) {
_ = s.arc.NotifyNetSafe(c, nid)
return
}