Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddGoodsStock ¶
@Summary 添加商品库存 @tags 商品库存 @Accept application/json @Produce json @Param body body entity.AddGoodsStock true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/goodsStock/addGoodsStock [POST] @Security ApiKeyAuth
func QueryByGoodsStockID ¶
@Summary 查看商品库存详情 @tags 商品库存 @Accept application/json @Produce json @Param id query string true "商品库存ID" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/goodsStock/queryByGoodsStockID [GET] @Security ApiKeyAuth
func QueryGoodsStocksByLimitOffset ¶
@Summary 分页查询商品库存(默认前100条) 并返回总记录数 @tags 商品库存 @Accept application/x-www-form-urlencoded @Produce json @Param pageSize query string false "页大小" @Param page query string false "页数" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/goodsStock/queryGoodsStocksByLimitOffset [GET] @Security ApiKeyAuth
func UpdateGoodsStock ¶
@Summary 增加商品库存、总数量 @tags 商品库存 @Accept application/json @Produce json @Param body body entity.UpdateGoodsStock true "body" @Success 200 {object} entity.ResponseData "desc" @Router /api/v1/admin/goodsStock/updateGoodsStock [PUT] @Security ApiKeyAuth
Types ¶
This section is empty.