package hnsh import ( "mtp2_if/global/app" "mtp2_if/models" "github.com/gin-gonic/gin" ) // QueryTHJFriends // @Summary 查询定金预售商品 // @Produce json // @Security ApiKeyAuth // @Param page query int false "页码" // @Param pagesize query int false "每页条数" // @Success 200 {array} models.PresaleGoods // @Failure 500 {object} app.Response // @Router /Hnsh/QueryPresaleGoods [get] // @Tags 华南石化 func QueryPresaleGoods(c *gin.Context) { a := app.GinUtils{Gin: app.Gin{C: c}} m := models.PresaleGoods{} a.DoBindReq(&m) a.DoGetDataByPage(&m) }