| 1234567891011121314151617181920212223242526 |
- package presale
- import (
- "mtp2_if/global/app"
- "mtp2_if/models"
- "github.com/gin-gonic/gin"
- )
- // QueryTHJFriends
- // @Summary 查询预售竞拍列表
- // @Produce json
- // @Security ApiKeyAuth
- // @Param presalemode query int true "预售模式 - 1:一口价 2:大宗式竞拍 3:挂牌预售(HSBY)"
- // @Param page query int false "页码"
- // @Param pagesize query int false "每页条数"
- // @Success 200 {array} models.PresaleAuction
- // @Failure 500 {object} app.Response
- // @Router /Presale/QueryPresaleAuctions [get]
- // @Tags 铁合金
- func QueryPresaleAuctions(c *gin.Context) {
- a := app.GinUtils{Gin: app.Gin{C: c}}
- m := models.PresaleAuction{}
- a.DoBindReq(&m)
- a.DoGetDataByPage(&m)
- }
|