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
1f427169
Commit
1f427169
authored
May 12, 2020
by
zhaoxiqing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gsb
parent
1af0f953
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
bpo-admin/app/base/db/models/usereaccount.js
+2
-2
bpo-admin/app/base/service/impl/utilesignbaoSve.js
+8
-4
No files found.
bpo-admin/app/base/db/models/usereaccount.js
View file @
1f427169
...
...
@@ -58,6 +58,7 @@ module.exports = (db, DataTypes) => {
experience
:
DataTypes
.
STRING
(
200
),
idCardFront
:
DataTypes
.
STRING
(
300
),
idCardBack
:
DataTypes
.
STRING
(
300
),
sealId
:
DataTypes
.
STRING
,
isPush
:
{
type
:
DataTypes
.
BOOLEAN
,
defaultValue
:
false
...
...
@@ -109,4 +110,4 @@ module.exports = (db, DataTypes) => {
// }
]
});
}
\ No newline at end of file
}
bpo-admin/app/base/service/impl/utilesignbaoSve.js
View file @
1f427169
...
...
@@ -869,18 +869,22 @@ class UtilESignBaoService {
}
//4、创建用户图片印章
var
sealKey
=
await
this
.
createPerSeal
(
ossurl
,
ebaoAccountId
,
params
.
simpleFormFields
.
nameA
,
"entcontractCtl"
);
console
.
log
(
"有赞创建个人印章================"
,
sealKey
.
data
);
if
(
sealKey
.
data
){
var
persealid
=
eaccount
.
sealId
;
if
(
!
eaccount
.
sealId
){
var
sealKey
=
await
this
.
createPerSeal
(
ossurl
,
ebaoAccountId
,
params
.
simpleFormFields
.
nameA
,
"entcontractCtl"
);
if
(
sealKey
.
data
){
console
.
log
(
"有赞创建个人印章================"
,
sealKey
.
data
);
eaccount
.
sealId
=
sealKey
.
data
.
sealId
;
persealid
=
sealKey
.
data
.
sealId
;
eaccount
.
save
();
}
}
var
autoUserSignTaskParams
=
{
flowId
:
tFlowId
,
//流程id-- 必填
accountId
:
ebaoAccountId
,
//签署人账户id-- 必填
sealId
:
sealKey
.
data
.
sealI
d
,
sealId
:
perseali
d
,
thirdOrderNo
:
tThirdOrderNo
,
//第三方流水号,通知回调使用
sealType
:
"1"
,
//印章类型, 指定签署印章类型,0:手绘印章;1:模板印章-- 必填 ?????????????????????????????
posList
:
[{
...
...
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