Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
e290fa40
Commit
e290fa40
authored
Jan 14, 2020
by
赵庆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
5f0f84d4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletions
+33
-1
bpo-web/app/base/controller/impl/userCtl.js
+33
-1
No files found.
bpo-web/app/base/controller/impl/userCtl.js
View file @
e290fa40
...
@@ -13,7 +13,7 @@ class UserCtl extends CtlBase {
...
@@ -13,7 +13,7 @@ class UserCtl extends CtlBase {
this
.
restS
=
system
.
getObject
(
"util.restClient"
);
this
.
restS
=
system
.
getObject
(
"util.restClient"
);
this
.
smsS
=
system
.
getObject
(
"util.smsClient"
);
this
.
smsS
=
system
.
getObject
(
"util.smsClient"
);
this
.
bankthreelogSve
=
system
.
getObject
(
"service.bankthreelogSve"
);
this
.
ecompanySve
=
system
.
getObject
(
"service.ecompanySve"
);
this
.
ecompanySve
=
system
.
getObject
(
"service.ecompanySve"
);
this
.
usereaccountSve
=
system
.
getObject
(
"service.usereaccountSve"
);
this
.
usereaccountSve
=
system
.
getObject
(
"service.usereaccountSve"
);
this
.
utilesignbaoSve
=
system
.
getObject
(
"service.utilesignbaoSve"
);
this
.
utilesignbaoSve
=
system
.
getObject
(
"service.utilesignbaoSve"
);
...
@@ -1036,6 +1036,22 @@ class UserCtl extends CtlBase {
...
@@ -1036,6 +1036,22 @@ class UserCtl extends CtlBase {
idno
:
pobj
.
personsSign
,
//身份证 必填
idno
:
pobj
.
personsSign
,
//身份证 必填
cardno
:
pobj
.
bankno
//银行卡 必填
cardno
:
pobj
.
bankno
//银行卡 必填
};
};
let
exists
=
await
this
.
bankthreelogSve
.
findOne
({
userName
:
pobj
.
userName
,
userIdNo
:
pobj
.
personsSign
,
userBankNo
:
pobj
.
bankno
,
});
if
(
!
exists
)
{
var
bankthreeParams
=
{
name
:
pobj
.
userName
,
//姓名 必填
idno
:
pobj
.
personsSign
,
//身份证 必填
cardno
:
pobj
.
bankno
//银行卡 必填
};
var
tt
=
await
this
.
utilesignbaoSve
.
bankthree
(
bankthreeParams
,
"bankinfoAuth"
);
var
tt
=
await
this
.
utilesignbaoSve
.
bankthree
(
bankthreeParams
,
"bankinfoAuth"
);
// {"code":-110,"message":"手机号格式错误","data":{}}
// {"code":-110,"message":"手机号格式错误","data":{}}
//1成功,-110提示验证信息有误,-120亲,提供的信息不正确,请验证后再试!
//1成功,-110提示验证信息有误,-120亲,提供的信息不正确,请验证后再试!
...
@@ -1046,6 +1062,22 @@ class UserCtl extends CtlBase {
...
@@ -1046,6 +1062,22 @@ class UserCtl extends CtlBase {
if
(
tt
.
code
==
-
110
)
{
if
(
tt
.
code
==
-
110
)
{
return
system
.
getErrResult2
(
tt
.
message
);
return
system
.
getErrResult2
(
tt
.
message
);
}
}
var
btl
=
await
this
.
bankthreelogSve
.
create
({
appId
:
"H5_"
+
eaccount
.
id
,
userName
:
pobj
.
userName
,
userIdNo
:
pobj
.
personsSign
,
userBankNo
:
pobj
.
bankno
,
use_esign
:
true
,
result
:
true
,
});
}
}
}
var
params
=
{
var
params
=
{
...
...
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