- DefGridWith = 2000

This commit is contained in:
gazebo
2019-06-25 16:35:41 +08:00
parent 0d7d3161b9
commit 866f8834db
3 changed files with 4 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ import (
const (
DefRadius = 8000
DefGridWith = 3000
DefGridWith = 2000
)
func GetCityShops(ctx *jxcontext.Context, parentTask tasksch.ITask, vendorIDs []int, cityCode, radius, gridWith int) (pageStoreList []*model.PageShop, err error) {

View File

@@ -34,8 +34,8 @@ func (c *PurchaseHandler) GetStorePageInfo(ctx *jxcontext.Context, cityInfo, sto
VendorStatus: utils.Int2Str(shopInfo.BusinessStatus),
Address: shopInfo.Address,
Lng: shopInfo.Longitude,
Lat: shopInfo.Latitude,
Lng: shopInfo.Longitude / 100000,
Lat: shopInfo.Latitude / 100000,
DistrictCode: districtCode,
Tel1: shopInfo.Phone,

View File

@@ -17,7 +17,7 @@ type NetSpiderController struct {
// @Param vendorIDs formData string false "厂商ID列表"
// @Param cityCodes formData string false "城市列表,缺省为后台启用了的城市"
// @Param radius formData int false "区域半径市或街道的半径会自动增加或缩小单位为米缺省8000米"
// @Param gridWith formData int false "网格大小,单位为米,缺省为3000米"
// @Param gridWith formData int false "网格大小,单位为米,缺省为2000米"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetAndStoreCitiesShops [post]