Create & Init Project...

This commit is contained in:
2019-04-22 18:49:16 +08:00
commit fc4fa37393
25440 changed files with 4054998 additions and 0 deletions

View 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)
}