bilibili-backup/app/service/main/usersuit/rpc/server/common.go
2019-04-22 02:59:20 +00:00

16 lines
361 B
Go

package server
import (
"go-common/app/service/main/usersuit/model"
"go-common/library/net/rpc/context"
)
// PointFlag obtain new pendant noify.
func (r *RPC) PointFlag(c context.Context, arg *model.ArgMID, res *model.PointFlag) (err error) {
var pf *model.PointFlag
if pf, err = r.s.PointFlag(c, arg); err == nil && pf != nil {
*res = *pf
}
return
}