Files

13 lines
262 B
Go
Raw Permalink Normal View History

2019-04-22 20:46:32 +08:00
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
}