Commit 0ef86d76 authored by 方斌's avatar 方斌

z

parent be48f16d
Pipeline #16259 passed with stage
in 52 seconds
......@@ -491,7 +491,7 @@ class ProductService extends Service {
}
for (const v of products) {
console.log('imh------begin----------')
ctx.logger.info('imh------begin----------')
if (Number(v.type) === 2 || Number(v.type) === 3) {
v.rate = '';
v.rate_title = '';
......@@ -509,9 +509,9 @@ class ProductService extends Service {
ctx.logger.info(v.cities)
ctx.logger.info(city)
if(v.cities && v.cities.length > 0 && city != '') {
console.log('imh------222----------')
ctx.logger.info('imh------222----------')
if(v.cities.indexOf(city)) {
console.log('imh----------------')
ctx.logger.info('imh----------------')
const tmp = {
type: v.type,
business_id: v.business_id,
......@@ -558,7 +558,7 @@ class ProductService extends Service {
}
console.log('imh------end----------')
ctx.logger.info('imh------end----------')
}
......
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