1
This commit is contained in:
@@ -641,16 +641,16 @@ func (c *StoreController) GetStoreListByLocation() {
|
||||
|
||||
// @Title 根据位置得到首页商店详细信息
|
||||
// @Description 根据位置得到首页商店详细信息
|
||||
// @Param lng query float64 true "经度"
|
||||
// @Param lat query float64 true "纬度"
|
||||
// @Param needWalkDistance query bool false "是否需要返回步行距离(且以步行距离排序)"
|
||||
// @Param brandID query int false "品牌ID"
|
||||
// @Param lng query float64 true "经度"
|
||||
// @Param lat query float64 true "纬度"
|
||||
// @Param needWalkDistance query bool false "是否需要返回步行距离(且以步行距离排序)"
|
||||
// @Param brandID query int true "品牌ID"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /GetHomePageByLocation [get]
|
||||
func (c *StoreController) GetHomePageByLocation() {
|
||||
c.callGetHomePageByLocation(func(params *tStoreGetHomePageByLocationParams) (interface{}, string, error) {
|
||||
details, _, err := cms.GetHomePageByLocation(params.Ctx, params.Lng, params.Lat, params.NeedWalkDistance)
|
||||
details, _, err := cms.GetHomePageByLocation(params.Ctx, params.Lng, params.Lat, params.NeedWalkDistance, params.BrandID)
|
||||
if err != nil {
|
||||
return nil, "根据经纬度获取门店详细信息失败", err
|
||||
}
|
||||
|
||||
@@ -268,7 +268,6 @@ func (c *StoreSkuController) SyncStoresSkus() {
|
||||
|
||||
// @Title 批量修改多商家商品绑定
|
||||
// @Description 批量修改多商家商品绑定
|
||||
// @Param token header string true "认证token"
|
||||
// @Param storeIDs formData string true "门店ID列表"
|
||||
// @Param payload formData string true "json数据,StoreSkuBindInfo对象数组"
|
||||
// @Param isScale formData bool false "是否按门店结算比例缩放"
|
||||
|
||||
Reference in New Issue
Block a user