获取京东门店等级

This commit is contained in:
苏尹岚
2019-12-13 16:38:18 +08:00
parent 44653932ae
commit 334c012818
6 changed files with 37 additions and 5 deletions

View File

@@ -91,6 +91,9 @@ func (p *PurchaseHandler) ReadStore(ctx *jxcontext.Context, vendorOrgCode, vendo
}
}
}
if level, err := a.GetJdStoreLevel(vendorOrgCode, vendorStoreID); err == nil {
retVal.JdStoreLevel = level
}
if retVal.DistrictCode == 0 {
retVal.DistrictCode = api.AutonaviAPI.GetCoordinateDistrictCode(lng, lat)
if retVal.CityCode == 0 {