Create & Init Project...
This commit is contained in:
35
app/admin/main/mcn/server/http/statistics.go
Normal file
35
app/admin/main/mcn/server/http/statistics.go
Normal file
@ -0,0 +1,35 @@
|
||||
package http
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"go-common/app/admin/main/mcn/model"
|
||||
"go-common/library/net/http/blademaster"
|
||||
)
|
||||
|
||||
func arcTopDataStatistics(c *blademaster.Context) {
|
||||
httpGetWriterByExport(
|
||||
new(model.McnGetRankReq),
|
||||
func(cont context.Context, arg interface{}) (res interface{}, err error) {
|
||||
return srv.ArcTopDataStatistics(cont, arg.(*model.McnGetRankReq))
|
||||
},
|
||||
"ArcTopDataStatistics")(c)
|
||||
}
|
||||
|
||||
func mcnsTotalDatas(c *blademaster.Context) {
|
||||
httpGetFunCheckCookie(
|
||||
new(model.TotalMcnDataReq),
|
||||
func(cont context.Context, arg interface{}) (res interface{}, err error) {
|
||||
return srv.McnsTotalDatas(cont, arg.(*model.TotalMcnDataReq))
|
||||
},
|
||||
"McnsTotalDatas")(c)
|
||||
}
|
||||
|
||||
func mcnFansAnalyze(c *blademaster.Context) {
|
||||
httpGetFunCheckCookie(
|
||||
new(model.McnCommonReq),
|
||||
func(cont context.Context, arg interface{}) (res interface{}, err error) {
|
||||
return srv.McnFansAnalyze(cont, arg.(*model.McnCommonReq))
|
||||
},
|
||||
"McnFansAnalyze")(c)
|
||||
}
|
Reference in New Issue
Block a user