go-common/app/job/main/usersuit/dao/medal/rpc.go
2019-04-22 18:49:16 +08:00

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
}