go-common/app/interface/main/mcn/service/cmd.go

14 lines
301 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package service
import (
"context"
"go-common/app/interface/main/mcn/model/mcnmodel"
)
//CmdReloadRankCache reload cache
func (s *Service) CmdReloadRankCache(c context.Context, arg *mcnmodel.CmdReloadRank) (res *mcnmodel.CommonReply, err error) {
err = s.mcndao.ReloadRank(arg.SignID)
return
}