Commit c017a99e authored by 任国军's avatar 任国军

去除金闪贷6046渠道展示

parent 4b3ee1cb
Pipeline #21522 passed with stage
in 2 seconds
...@@ -445,12 +445,12 @@ class ProductService extends Service { ...@@ -445,12 +445,12 @@ class ProductService extends Service {
// start // start
const sepecial_business_ids = [ 109 ]; const sepecial_business_ids = [ 109 ];
// const place_cids = [ 6046 ]; // const place_cids = [ 6046 ];
const channels = [ 'n_1_10000_14038' ]; const channelList = [ 'n_1_10000_14038' ];
// 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))) { // 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); // ctx.logger.info('get_phone_by_user_place_business:' + place_cid + '--business_id--' + v.business_id);
// continue; // continue;
// } // }
if (!ctx.isEmpty(channel) && channels.includes(channel) && sepecial_business_ids.includes(ctx.helper.toInt(v.business_id))) { if (!ctx.isEmpty(channel) && channelList.includes(channel) && sepecial_business_ids.includes(ctx.helper.toInt(v.business_id))) {
ctx.logger.info('filter_channel_business: ' + channel + '--business_id--' + v.business_id); ctx.logger.info('filter_channel_business: ' + channel + '--business_id--' + v.business_id);
continue; continue;
} }
...@@ -559,12 +559,12 @@ class ProductService extends Service { ...@@ -559,12 +559,12 @@ class ProductService extends Service {
// start // start
const sepecial_business_ids = [ 109 ]; const sepecial_business_ids = [ 109 ];
// const place_cids = [ 6046 ]; // const place_cids = [ 6046 ];
const channels = [ 'n_1_10000_14038' ]; const channelList = [ 'n_1_10000_14038' ];
// 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))) { // 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); // ctx.logger.info('get_phone_by_user_place_business:' + place_cid + '--business_id--' + v.business_id);
// continue; // continue;
// } // }
if (!ctx.isEmpty(channel) && channels.includes(channel) && sepecial_business_ids.includes(ctx.helper.toInt(v.business_id))) { if (!ctx.isEmpty(channel) && channelList.includes(channel) && sepecial_business_ids.includes(ctx.helper.toInt(v.business_id))) {
ctx.logger.info('filter_channel_business: ' + channel + '--business_id--' + v.business_id); ctx.logger.info('filter_channel_business: ' + channel + '--business_id--' + v.business_id);
continue; 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