| 123456789101112131415161718192021222324252627 |
- package ferroalloy
- import (
- "mtp2_if/global/app"
- "mtp2_if/models"
- "github.com/gin-gonic/gin"
- )
- // GetSpotGoodsPrice
- // @Summary 获取现货行情
- // @Produce json
- // @Security ApiKeyAuth
- // @Security LoginID
- // @Security Group
- // @Param page query int false "页码"
- // @Param pagesize query int false "每页条数"
- // @Success 200 {array} models.GErmcpspotgoodsprice
- // @Failure 500 {object} app.Response
- // @Router /Ferroalloy/GetSpotGoodsPrice [get]
- // @Tags 铁合金
- func GetSpotGoodsPrice(c *gin.Context) {
- a := app.GinUtils{Gin: app.Gin{C: c}}
- m := models.GErmcpspotgoodsprice{}
- a.DoBindReq(&m)
- a.DoGetDataByPage(&m)
- }
|