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
|
|
}
|