You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
944 B

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