123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- package http
- import (
- "context"
- "go-common/app/interface/main/mcn/model/mcnmodel"
- "go-common/library/net/http/blademaster"
- )
- func mcnGetRankArchiveLikesAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetRankAPIReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.McnGetRankArchiveLikesAPI(context, arg.(*mcnmodel.McnGetRankAPIReq))
- },
- "McnGetRankArchiveLikesAPI",
- nil,
- nil,
- )(c)
- }
- func getMcnSummaryAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetDataSummaryReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetMcnSummaryAPI(context, arg.(*mcnmodel.McnGetDataSummaryReq))
- },
- "GetMcnSummaryAPI",
- nil,
- nil,
- )(c)
- }
- func getIndexIncAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetIndexIncReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetIndexIncAPI(context, arg.(*mcnmodel.McnGetIndexIncReq))
- },
- "GetIndexIncAPI",
- nil,
- nil,
- )(c)
- }
- func getIndexSourceAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetIndexSourceReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetIndexSourceAPI(context, arg.(*mcnmodel.McnGetIndexSourceReq))
- },
- "GetIndexSourceAPI",
- nil,
- nil,
- )(c)
- }
- func getPlaySourceAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetPlaySourceReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetPlaySourceAPI(context, arg.(*mcnmodel.McnGetPlaySourceReq))
- },
- "GetPlaySourceAPI",
- nil,
- nil,
- )(c)
- }
- func getMcnFansAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetMcnFansReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetMcnFansAPI(context, arg.(*mcnmodel.McnGetMcnFansReq))
- },
- "GetMcnFansAPI",
- nil,
- nil,
- )(c)
- }
- func getMcnFansIncAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetMcnFansIncReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetMcnFansIncAPI(context, arg.(*mcnmodel.McnGetMcnFansIncReq))
- },
- "GetMcnFansIncAPI",
- nil,
- nil,
- )(c)
- }
- func getMcnFansDecAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetMcnFansDecReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetMcnFansDecAPI(context, arg.(*mcnmodel.McnGetMcnFansDecReq))
- },
- "GetMcnFansDecAPI",
- nil,
- nil,
- )(c)
- }
- func getMcnFansAttentionWayAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetMcnFansAttentionWayReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetMcnFansAttentionWayAPI(context, arg.(*mcnmodel.McnGetMcnFansAttentionWayReq))
- },
- "GetMcnFansAttentionWayAPI",
- nil,
- nil,
- )(c)
- }
- func getFansBaseFansAttrAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetBaseFansAttrReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetFansBaseFansAttrAPI(context, arg.(*mcnmodel.McnGetBaseFansAttrReq))
- },
- "GetFansBaseFansAttrAPI",
- nil,
- nil,
- )(c)
- }
- func getFansAreaAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetFansAreaReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetFansAreaAPI(context, arg.(*mcnmodel.McnGetFansAreaReq))
- },
- "GetFansAreaAPI",
- nil,
- nil,
- )(c)
- }
- func getFansTypeAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetFansTypeReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetFansTypeAPI(context, arg.(*mcnmodel.McnGetFansTypeReq))
- },
- "GetFansTypeAPI",
- nil,
- nil,
- )(c)
- }
- func getFansTagAPI(c *blademaster.Context) {
- oarg := new(mcnmodel.McnGetFansTagReq)
- httpGetFunc(
- oarg,
- func(context context.Context, arg interface{}) (res interface{}, err error) {
- return srv.GetFansTagAPI(context, arg.(*mcnmodel.McnGetFansTagReq))
- },
- "GetFansTagAPI",
- nil,
- nil,
- )(c)
- }
|