新街口

This commit is contained in:
苏尹岚
2020-08-06 11:43:00 +08:00
parent 6af070aad5
commit 66ddae2162
3 changed files with 65 additions and 0 deletions

View File

@@ -794,3 +794,17 @@ func (c *StoreController) UpdateStorePricePack() {
return retVal, "", err
})
}
// @Title 根据门店获取距离最近的货源店铺
// @Description 修根据门店获取距离最近的货源店铺
// @Param token header string true "认证token"
// @Param storeID query int true "门店ID"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetNearSupplyGoodsStoreByStoreID [get]
func (c *StoreController) GetNearSupplyGoodsStoreByStoreID() {
c.callGetNearSupplyGoodsStoreByStoreID(func(params *tStoreGetNearSupplyGoodsStoreByStoreIDParams) (retVal interface{}, errCode string, err error) {
retVal, err = common.GetNearSupplyGoodsStoreByStoreID(params.Ctx, params.StoreID)
return retVal, "", err
})
}