Commit d37c7e6a authored by 方斌's avatar 方斌

z

parent 131a7e54
......@@ -485,6 +485,8 @@ class ProductService extends Service {
if(city_res && city_res.content && city_res.content.address_detail && city_res.content.address_detail.city) {
city = city_res.content.address_detail.city.replace('市', '');
}
ctx.logger.info(city_res)
ctx.logger.info(city)
}
var in_city = false;
......@@ -504,7 +506,7 @@ class ProductService extends Service {
url = url.includes('?') ? url + '&from=51gjj_loan_channel' : url + '?from=51gjj_loan_channel';
}
url = this.config.PHP_URL + '/app/track/url?url=' + encodeURI(url) + '&source=51gjj&location=' + location;
ctx.logger.info(v.cities)
if(v.cities && v.cities.length > 0 && city != '' && v.cities.indexOf(city)) {
in_city = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment