mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 14:08:30 -05:00
17 lines
333 B
Go
17 lines
333 B
Go
|
|
package block
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
|
||
|
|
"github.com/pkg/errors"
|
||
|
|
)
|
||
|
|
|
||
|
|
// AccountNotify is
|
||
|
|
func (d *Dao) AccountNotify(c context.Context, mid int64) (err error) {
|
||
|
|
action := "blockUser"
|
||
|
|
if err = d.notifyFunc(c, mid, action); err != nil {
|
||
|
|
err = errors.Errorf("mid(%d) s.accountNotify.Send(%+v) error(%+v)", mid, action, err)
|
||
|
|
}
|
||
|
|
return
|
||
|
|
}
|