qryGGConvertconfig.go 745 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * @Author: zou.yingbin
  3. * @Create : 2021/1/27 9:50
  4. * @Modify : 2021/1/27 9:50
  5. */
  6. package ermcp
  7. import (
  8. "github.com/gin-gonic/gin"
  9. "mtp2_if/global/app"
  10. "mtp2_if/models"
  11. )
  12. // 查询期货品种配置请求
  13. type QryGGCovertCfgReq struct {
  14. }
  15. // 查询期货品种配置应答
  16. type QryGGCovertCfgRsp models.ErmcpGGConvertCfg
  17. // @Summary 查询期货品种配置(菜单:商品信息/期货品种)
  18. // @Produce json
  19. // @Security ApiKeyAuth
  20. // @Success 200 {array} QryGGCovertCfgRsp
  21. // @Failure 500 {object} app.Response
  22. // @Router /Ermcp/QueryGGConvertConfig [get]
  23. // @Tags 企业风险管理(app)
  24. func QueryGGConvertConfig(c *gin.Context) {
  25. appG := app.GinUtils{Gin:app.Gin{C: c}}
  26. m := models.ErmcpGGConvertCfg{}
  27. appG.DoGetData(&m)
  28. }