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
78330d57
Commit
78330d57
authored
Sep 12, 2019
by
Hsinli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
addd
parent
89e0690d
Pipeline
#13715
passed with stage
in 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
apply.js
app/service/credit/apply.js
+6
-7
No files found.
app/service/credit/apply.js
View file @
78330d57
...
...
@@ -162,7 +162,7 @@ class ApplyService extends Service {
let
ret
=
{
order_id
:
null
,
report_id
:
null
,
first
:
false
,
//首次通过三要素验证后:报告生成后,将无法查询其他人的报告
first
:
false
,
//首次通过三要素验证后
弹框提示
:报告生成后,将无法查询其他人的报告
second
:
false
,
//再次查询的是待支付中的订单
}
//验证码校验
...
...
@@ -181,17 +181,16 @@ class ApplyService extends Service {
}
//判断用户是否第一次三要素核验成功
let
applyFilter
=
{
let
orderFilter
=
{
arrtibutes
:
[
'id'
],
where
:
{
name
:
inputParams
.
name
,
phone
:
inputParams
.
phone
,
id_card
:
inputParams
.
id_card
,
user_id
:
ctx
.
userId
,
type
:
1
,
valid
:
1
}
}
let
applyInfo
=
await
ctx
.
prometheusModel
.
CreditApply
.
findOne
(
apply
Filter
);
if
(
applyInfo
===
null
)
{
let
orderList
=
await
ctx
.
prometheusModel
.
CreditOrder
.
findAll
(
order
Filter
);
if
(
orderList
===
undefined
||
orderList
.
length
===
0
)
{
ret
.
first
=
true
;
}
...
...
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