Commit 395d6c75 authored by 任国军's avatar 任国军

去除金闪贷6046渠道展示

parent e99b12e8
Pipeline #21489 passed with stage
in 3 seconds
......@@ -443,12 +443,12 @@ class ProductService extends Service {
for (const v of loanList) {
// 以下代码是为了处理渠道包下不展示特殊的4个业务
// start
// const sepecial_business_ids = [ 95, 7, 130, 51, 99, 111 ];
// const place_cids = [ 1210, 1211, 5492, 5719, 2420 ];
// 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;
// }
const sepecial_business_ids = [ 109 ];
const place_cids = [ 6046 ];
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;
}
// end
// 处理C组
......@@ -552,12 +552,12 @@ class ProductService extends Service {
// 以下代码是为了处理渠道包下不展示特殊的4个业务
// start
// const sepecial_business_ids = [ 95, 7, 130, 51, 99, 111 ];
// const place_cids = [ 1210, 1211, 5492, 5719, 2420 ];
// 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;
// }
const sepecial_business_ids = [ 109 ];
const place_cids = [ 6046 ];
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;
}
// end
if (Number(v.type) === 2 || Number(v.type) === 3) {
......
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