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
4756d15c
Commit
4756d15c
authored
Sep 27, 2019
by
李尚科
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
callrisk fix
parent
c16389ec
Pipeline
#14328
passed with stage
in 38 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
apply.js
app/service/credit/apply.js
+3
-2
callrisk.js
app/service/credit/callrisk.js
+0
-0
No files found.
app/service/credit/apply.js
View file @
4756d15c
...
...
@@ -339,7 +339,7 @@ class ApplyService extends Service {
let
report_id
=
null
;
//数盒魔方三要素校验
// await ctx.service.credit.callrisk.checkThreeElements(input);
//
await ctx.service.credit.common.shuhemofangCheck('callrisk', input);
await
ctx
.
service
.
credit
.
common
.
shuhemofangCheck
(
'callrisk'
,
input
);
//判断用户当前三要素是否是二次查询未支付订单
const
check_second_ret
=
await
this
.
checkSecond
({
name
,
phone
,
id_card
});
...
...
@@ -348,7 +348,7 @@ class ApplyService extends Service {
}
//生成订单
const
order_data
=
{
type
,
name
,
phone
,
id_card
};
const
order_data
=
{
type
,
name
,
phone
,
id_card
,
user_id
,
app_type_id
,
app_user_id
,
app_id
};
const
order
=
await
ctx
.
service
.
credit
.
order
.
createOrder
(
order_data
);
const
order_id
=
order
.
id
;
...
...
@@ -373,6 +373,7 @@ class ApplyService extends Service {
}
const
order_no
=
await
ctx
.
service
.
credit
.
common
.
getOrdertNo
(
'callrisk'
,
order_id
);
await
ctx
.
prometheusModel
.
CreditOrder
.
update
({
order_no
,
apply_id
:
apply
.
id
},
{
where
:
{
id
:
order_id
}
});
return
{
order_id
,
report_id
,
first
:
check_second_ret
.
first
,
second
:
check_second_ret
.
second
,
order_sn
};
}
...
...
app/service/credit/callrisk.js
View file @
4756d15c
This diff is collapsed.
Click to expand it.
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