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
3de7be5e
Commit
3de7be5e
authored
Oct 10, 2019
by
李尚科
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
callrisk fix
parent
fdea2736
Pipeline
#14582
passed with stage
in 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apply.js
app/service/credit/apply.js
+2
-2
No files found.
app/service/credit/apply.js
View file @
3de7be5e
...
...
@@ -70,16 +70,17 @@ class ApplyService extends Service {
let
ret
=
{
have_be_pay_order
:
false
,
order_id
:
null
,
phone
:
''
,
placeholder
:
{
name
:
''
,
id_card
:
''
,
phone
:
''
,
}
}
let
bePayOrder
=
await
ctx
.
service
.
credit
.
order
.
getBePayOrder
(
'callrisk'
);
if
(
bePayOrder
.
length
!==
0
)
{
ret
.
have_be_pay_order
=
true
;
ret
.
order_id
=
bePayOrder
[
0
].
id
;
ret
.
phone
=
bePayOrder
[
0
].
phone
.
substring
(
0
,
3
)
+
'****'
+
bePayOrder
[
0
].
phone
.
substring
(
7
,
11
)
}
//第一次查询成功的订单,反显姓名和身份证
...
...
@@ -97,7 +98,6 @@ class ApplyService extends Service {
if
(
orderInfo
&&
orderInfo
.
id
)
{
ret
.
placeholder
.
name
=
orderInfo
.
name
;
ret
.
placeholder
.
id_card
=
orderInfo
.
id_card
;
ret
.
placeholder
.
phone
=
orderInfo
.
phone
;
}
return
ret
;
}
...
...
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