wrposition.go 821 B

1234567891011121314151617181920212223242526272829
  1. package guangzuan
  2. import (
  3. "mtp2_if/global/app"
  4. "mtp2_if/models"
  5. "github.com/gin-gonic/gin"
  6. )
  7. // QueryMyWRPosition
  8. // @Summary 查询我的库存
  9. // @Produce json
  10. // @Security ApiKeyAuth
  11. // @Param page query int false "页码"
  12. // @Param pagesize query int false "每页条数"
  13. // @Param wruserid query int true "登录用户ID"
  14. // @Param zsallproperties query string false "商品(查询字段-模糊查询)"
  15. // @Param zscategory query int false "钻石分类枚举ID"
  16. // @Param warehouseid query int false "仓库ID"
  17. // @Success 200 {array} models.GZWarehouseinfo
  18. // @Failure 500 {object} app.Response
  19. // @Router /Guangzuan/QueryMyWRPosition [get]
  20. // @Tags 广钻
  21. func QueryMyWRPosition(c *gin.Context) {
  22. a := app.GinUtils{Gin: app.Gin{C: c}}
  23. m := models.MyWRPosition{}
  24. a.DoBindReq(&m)
  25. a.DoGetDataByPage(&m)
  26. }