recruit.go 417 B

123456789101112131415161718
  1. package web
  2. import (
  3. "context"
  4. "encoding/json"
  5. "net/url"
  6. "go-common/app/interface/main/web-goblin/model/web"
  7. "go-common/library/log"
  8. )
  9. // Recruit .
  10. func (s *Service) Recruit(ctx context.Context, param url.Values, route *web.Params) (res json.RawMessage, err error) {
  11. if res, err = s.dao.Recruit(ctx, param, route); err != nil {
  12. log.Error("s.dao.Recruit route(%s) error(%v)", route.Route, err)
  13. }
  14. return
  15. }