Commit 8ee5e1e0 authored by 方斌's avatar 方斌

z

parent 27f8ae7b
Pipeline #17878 passed with stage
in 7 seconds
......@@ -427,7 +427,7 @@ class ProductService extends Service {
//start
let sepecial_business_ids = [95, 7, 130, 51, 99, 111];
let place_cids = [1210, 1211, 5492, 5719, 2420]
if(place_cid > 0 && place_cids.includes(place_cid) && sepecial_business_ids.includes(v.business_id)) {
if(ctx.helper.toInt(place_cid) > 0 && place_cids.includes(ctx.helper.toInt(place_cid)) && sepecial_business_ids.includes(ctx.helper.toInt(v.business_id))) {
ctx.logger.info('get_phone_by_user_place_business:' + place_cid + '--business_id--' + v.business_id);
continue;
}
......@@ -516,7 +516,7 @@ class ProductService extends Service {
//start
let sepecial_business_ids = [95, 7, 130, 51, 99, 111];
let place_cids = [1210, 1211, 5492, 5719, 2420]
if(place_cid > 0 && place_cids.includes(place_cid) && sepecial_business_ids.includes(v.business_id)) {
if(ctx.helper.toInt(place_cid) > 0 && place_cids.includes(ctx.helper.toInt(place_cid)) && sepecial_business_ids.includes(ctx.helper.toInt(v.business_id))) {
ctx.logger.info('get_phone_by_user_place_business:' + place_cid + '--business_id--' + v.business_id);
continue;
}
......
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