quote.go 635 B

12345678910111213141516171819202122232425
  1. package ferroalloy
  2. import (
  3. "mtp2_if/global/app"
  4. "mtp2_if/models"
  5. "github.com/gin-gonic/gin"
  6. )
  7. // GetSpotGoodsPrice
  8. // @Summary 获取现货行情
  9. // @Produce json
  10. // @Security ApiKeyAuth
  11. // @Param page query int false "页码"
  12. // @Param pagesize query int false "每页条数"
  13. // @Success 200 {array} models.GErmcpspotgoodsprice
  14. // @Failure 500 {object} app.Response
  15. // @Router /Ferroalloy/GetSpotGoodsPrice [get]
  16. // @Tags 铁合金
  17. func GetSpotGoodsPrice(c *gin.Context) {
  18. a := app.GinUtils{Gin: app.Gin{C: c}}
  19. m := models.GErmcpspotgoodsprice{}
  20. a.DoBindReq(&m)
  21. a.DoGetDataByPage(&m)
  22. }