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
395d6c75
Commit
395d6c75
authored
Apr 10, 2020
by
任国军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除金闪贷6046渠道展示
parent
e99b12e8
Pipeline
#21489
passed with stage
in 3 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 @
395d6c75
...
@@ -443,12 +443,12 @@ class ProductService extends Service {
...
@@ -443,12 +443,12 @@ class ProductService extends Service {
for
(
const
v
of
loanList
)
{
for
(
const
v
of
loanList
)
{
// 以下代码是为了处理渠道包下不展示特殊的4个业务
// 以下代码是为了处理渠道包下不展示特殊的4个业务
// start
// start
// const sepecial_business_ids = [ 95, 7, 130, 51, 99, 111
];
const
sepecial_business_ids
=
[
109
];
// const place_cids = [ 1210, 1211, 5492, 5719, 2420
];
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))) {
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
;
//
}
}
// end
// end
// 处理C组
// 处理C组
...
@@ -552,12 +552,12 @@ class ProductService extends Service {
...
@@ -552,12 +552,12 @@ class ProductService extends Service {
// 以下代码是为了处理渠道包下不展示特殊的4个业务
// 以下代码是为了处理渠道包下不展示特殊的4个业务
// start
// start
// const sepecial_business_ids = [ 95, 7, 130, 51, 99, 111
];
const
sepecial_business_ids
=
[
109
];
// const place_cids = [ 1210, 1211, 5492, 5719, 2420
];
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))) {
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
;
//
}
}
// end
// end
if
(
Number
(
v
.
type
)
===
2
||
Number
(
v
.
type
)
===
3
)
{
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