This commit is contained in:
苏尹岚
2021-02-08 09:27:53 +08:00
parent e6d3190691
commit fd6efea36e
3 changed files with 35 additions and 0 deletions

View File

@@ -1024,3 +1024,17 @@ func (c *StoreController) CreateVendorStore() {
return retVal, "", err
})
}
// @Title 查询品牌店铺
// @Description 查询品牌店铺
// @Param token header string false "认证token"
// @Param name query string true "品牌名"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetBrandStore [get]
func (c *StoreController) GetBrandStore() {
c.callGetBrandStore(func(params *tStoreGetBrandStoreParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.GetBrandStore(params.Ctx, params.Name)
return retVal, "", err
})
}