Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
方斌
51business
Commits
3d6acb12
Commit
3d6acb12
authored
Apr 01, 2020
by
任国军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除贷款列表屏蔽
parent
75139e2a
Pipeline
#21282
passed with stage
in 2 minutes 36 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
product.js
app/service/gjj/product.js
+12
-12
No files found.
app/service/gjj/product.js
View file @
3d6acb12
...
...
@@ -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 = [ 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;
//
}
// 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 = [ 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;
//
}
// end
if
(
Number
(
v
.
type
)
===
2
||
Number
(
v
.
type
)
===
3
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment