| 1234567891011121314151617181920212223242526 |
- package ferroalloy
- import (
- "mtp2_if/global/app"
- "mtp2_if/models"
- "github.com/gin-gonic/gin"
- )
- // QueryMyRefer
- // @Summary 查询我的推荐列表
- // @Produce json
- // @Security ApiKeyAuth
- // @Param userid query int true "用户ID"
- // @Param page query int false "页码"
- // @Param pagesize query int false "每页条数"
- // @Success 200 {array} models.MyRefer
- // @Failure 500 {object} app.Response
- // @Router /Ferroalloy/QueryMyRefer [get]
- // @Tags 铁合金
- func QueryMyRefer(c *gin.Context) {
- a := app.GinUtils{Gin: app.Gin{C: c}}
- m := models.MyRefer{}
- a.DoBindReq(&m)
- a.DoGetDataByPage(&m)
- }
|