command.go 407 B

123456789101112131415
  1. package http
  2. import (
  3. "context"
  4. "go-common/app/admin/main/up/model"
  5. "go-common/library/net/http/blademaster"
  6. )
  7. func commandRefreshUpRank(c *blademaster.Context) {
  8. httpQueryFunc(new(model.CommandCommonArg),
  9. func(context context.Context, arg interface{}) (res interface{}, err error) {
  10. return Svc.Crmservice.CommandRefreshUpRank(context, arg.(*model.CommandCommonArg))
  11. },
  12. "SignCheckTask")(c)
  13. }