Commit 71871c7f authored by hujiebin's avatar hujiebin

Update rank.go

parent fcc23299
...@@ -94,11 +94,9 @@ func CpRank(c *gin.Context) (*mycontext.MyContext, error) { ...@@ -94,11 +94,9 @@ func CpRank(c *gin.Context) (*mycontext.MyContext, error) {
// @Summary 我的cp // @Summary 我的cp
// @Param token header string true "token" // @Param token header string true "token"
// @Param nonce header string true "随机数字" // @Param nonce header string true "随机数字"
// @Param pageIndex query int true "偏移值 默认:1" default(1)
// @Param pageSize query int true "请求数量 默认:10" default(10)
// @Param queryType path string true "类型:day/week/month" // @Param queryType path string true "类型:day/week/month"
// @Success 200 {object} cp_cv.CvCp // @Success 200 {object} cp_cv.CvCp
// @Router /v2/cp/my/:queryType [get] // @Router /v2/cp/my/{queryType} [get]
func CpMy(c *gin.Context) (*mycontext.MyContext, error) { func CpMy(c *gin.Context) (*mycontext.MyContext, error) {
myCtx := mycontext.CreateMyContext(c.Keys) myCtx := mycontext.CreateMyContext(c.Keys)
userId, err := req.GetUserId(c) userId, err := req.GetUserId(c)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment