mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 14:08:30 -05:00
16 lines
274 B
Go
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)
|
||
|
|
}
|