Create & Init Project...
This commit is contained in:
15
app/interface/main/report-click/http/err_report.go
Normal file
15
app/interface/main/report-click/http/err_report.go
Normal file
@ -0,0 +1,15 @@
|
||||
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)
|
||||
}
|
Reference in New Issue
Block a user