err_report.go 274 B

123456789101112131415
  1. package http
  2. import (
  3. "go-common/app/interface/main/report-click/model"
  4. bm "go-common/library/net/http/blademaster"
  5. )
  6. func errReport(c *bm.Context) {
  7. v := new(model.ErrReport)
  8. if err := c.Bind(v); err != nil {
  9. return
  10. }
  11. clickSvr.ErrReport(c, v)
  12. c.JSON(nil, nil)
  13. }