go-common/app/interface/main/report-click/http/err_report.go

16 lines
274 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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)
}