go-common/app/interface/main/report-click/http/err_report.go
2019-04-22 18:49:16 +08:00

16 lines
274 B
Go

package http
import (
"go-common/app/interface/main/report-click/model"
bm "go-common/library/net/http/blademaster"
)
func errReport(c *bm.Context) {
v := new(model.ErrReport)
if err := c.Bind(v); err != nil {
return
}
clickSvr.ErrReport(c, v)
c.JSON(nil, nil)
}