mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 14:08:30 -05:00
13 lines
262 B
Go
13 lines
262 B
Go
package medal
|
|
|
|
import (
|
|
"context"
|
|
"go-common/app/service/main/usersuit/model"
|
|
)
|
|
|
|
// Grant sent a medal to user.
|
|
func (d *Dao) Grant(c context.Context, mid, nid int64) (err error) {
|
|
err = d.suitRPC.MedalGrant(c, &model.ArgMIDNID{MID: mid, NID: nid})
|
|
return
|
|
}
|