go-common/app/job/main/usersuit/dao/medal/rpc.go

13 lines
262 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00: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
}