card.go 269 B

123456789101112131415
  1. package http
  2. import (
  3. "go-common/app/service/main/card/model"
  4. bm "go-common/library/net/http/blademaster"
  5. )
  6. func byMids(c *bm.Context) {
  7. var err error
  8. arg := new(model.ArgMids)
  9. if err = c.Bind(arg); err != nil {
  10. return
  11. }
  12. c.JSON(srv.UserCards(c, arg.Mids))
  13. }