| 1234567891011121314151617181920212223242526 |
- package guangzuan
- import (
- "mtp2_if/global/app"
- "mtp2_if/models"
- "github.com/gin-gonic/gin"
- )
- // GetGoods
- // @Summary 获取钻石详情
- // @Produce json
- // @Security ApiKeyAuth
- // @Security LoginID
- // @Security Group
- // @Param goodsno query string true "商品编号"
- // @Success 200 {object} models.GZGoods
- // @Failure 500 {object} app.Response
- // @Router /Guangzuan/GetGoods [get]
- // @Tags 广钻
- func GetGoods(c *gin.Context) {
- a := app.GinUtils{Gin: app.Gin{C: c}}
- m := models.GZGoods{}
- a.DoBindReq(&m)
- a.DoGetDataEx(&m)
- }
|