不需要token的API添加可选参数token(以便转入时能输出token信息)

This commit is contained in:
gazebo
2019-11-28 10:32:54 +08:00
parent 412fe44d32
commit 4ca1f56cb6
5 changed files with 7 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ func (c *SkuController) GetVendorCategories() {
// @Title 得到商品类别
// @Description 得到商品类别区别于厂商家SKU类别
// @Param token header string false "认证token"
// @Param parentID query int false "父ID-1表示所有缺省为-1"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult