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
2312a020
Commit
2312a020
authored
Mar 19, 2020
by
zhaoxiqing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bpo-web' of
http://gitlab.gongsibao.com/jiangyong/zhichan
into bpo-web
parents
58112eab
acff5d46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
bpo-web/app/base/api/impl/econtractApi.js
+11
-2
bpo-web/app/base/controller/impl/userCtl.js
+1
-0
No files found.
bpo-web/app/base/api/impl/econtractApi.js
View file @
2312a020
...
...
@@ -447,6 +447,7 @@ class EcontractApi {
signArr
.
push
(
"userName="
+
userName
);
signArr
.
push
(
"key="
+
busi
.
key
);
var
calcSign
=
md5
(
signArr
.
join
(
"&"
)).
toUpperCase
();
console
.
log
(
sign
,
calcSign
);
if
(
sign
!=
calcSign
)
{
return
{
code
:
1
,
...
...
@@ -455,8 +456,14 @@ class EcontractApi {
}
// 验证电子签
var
list
=
await
this
.
econtractSve
.
findSinedByThree
(
userName
,
userIdNo
,
userBankNo
);
if
(
list
.
length
>
0
)
{
// var list = await this.econtractSve.findSinedByThree(userName, userIdNo, userBankNo);
let
exists
=
await
this
.
bankthreelogSve
.
findOne
({
userName
:
userName
,
userIdNo
:
userIdNo
,
userBankNo
:
userBankNo
,
result
:
1
,
});
if
(
exists
)
{
btl
.
result
=
true
;
btl
.
save
();
return
{
...
...
@@ -499,6 +506,7 @@ class EcontractApi {
};
}
}
catch
(
error
)
{
console
.
log
(
error
);
return
{
code
:
500
,
msg
:
"接口异常"
...
...
@@ -520,6 +528,7 @@ class EcontractApi {
userIdNo
:
userIdNo
,
userBankNo
:
userBankNo
,
userMobile
:
userMobile
,
result
:
1
,
});
var
sign
=
obj
.
sign
||
""
;
var
btl
=
await
this
.
bankthreelogSve
.
create
({
...
...
bpo-web/app/base/controller/impl/userCtl.js
View file @
2312a020
...
...
@@ -1042,6 +1042,7 @@ class UserCtl extends CtlBase {
userName
:
pobj
.
userName
,
userIdNo
:
pobj
.
personsSign
,
userBankNo
:
pobj
.
bankno
,
result
:
1
,
});
if
(
!
exists
)
{
...
...
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