- QueryPageStores添加orgCode参数

This commit is contained in:
gazebo
2019-06-25 14:45:15 +08:00
parent 113f376ee3
commit 8f7c6f13ea
2 changed files with 7 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ func (c *NetSpiderController) GetAndStoreCitiesShops() {
// @Param keyword query string false "查询关键字(可以为空,为空表示不限制)"
// @Param vendorStoreID query string false "门店号"
// @Param vendorID query int false "平台ID"
// @Param orgCode query string false "连锁品牌名"
// @Param cityCode query int false "城市代码"
// @Param districtCode query int false "行政区代码"
// @Param tel query string false "手机号"
@@ -54,7 +55,7 @@ func (c *NetSpiderController) QueryPageStores() {
if params.MapData["vendorID"] == nil {
params.VendorID = -1
}
retVal, err = dao.QueryPageStores(dao.GetDB(), params.PageSize, params.Offset, params.Keyword, params.VendorStoreID, params.VendorID, params.CityCode, params.DistrictCode, params.Tel, float32(params.MinShopScore), params.MinRecentOrderNum, params.MinSkuCount)
retVal, err = dao.QueryPageStores(dao.GetDB(), params.PageSize, params.Offset, params.Keyword, params.VendorStoreID, params.VendorID, params.OrgCode, params.CityCode, params.DistrictCode, params.Tel, float32(params.MinShopScore), params.MinRecentOrderNum, params.MinSkuCount)
return retVal, "", err
})
}