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
4892331f
Commit
4892331f
authored
Mar 31, 2020
by
宋毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
02bdf745
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
center-app/app/base/db/metadata/apps/platform.js
+1
-1
center-app/app/base/service/impl/utilsSve/utilsAlibankSve.js
+1
-1
No files found.
center-app/app/base/db/metadata/apps/platform.js
View file @
4892331f
...
...
@@ -29,7 +29,7 @@ module.exports = {
//接口类型
"interface_type"
:
{
"bd"
:
"本地"
,
"yc"
:
"远程"
},
//操作类型
"op_type"
:
{
"addOrder"
:
"添加订单"
,
"pushOrder"
:
"推送订单"
,
"pushUpdateOrder"
:
"推送修改订单"
,
"pushUpdateOrderContacts"
:
"推送修改订单联系人"
,
"pushOrderBusiness"
:
"推送订单商机"
,
"pushOrderRefund"
:
"推送订单退款"
,
"pushNeedBusiness"
:
"推送需求商机"
,
"pushNeedNote"
:
"推送需求小计"
,
"pushCloseNeed"
:
"推送关闭需求"
,
"pushNeedSolution"
:
"推送需求方案"
,
"pushCloseNeedSolution"
:
"推送关闭需求方案"
},
"op_type"
:
{
"addOrder"
:
"添加订单"
,
"pushOrder"
:
"推送订单"
,
"pushUpdateOrder"
:
"推送修改订单"
,
"pushUpdateOrderContacts"
:
"推送修改订单联系人"
,
"pushOrderBusiness"
:
"推送订单商机"
,
"pushOrderRefund"
:
"推送订单退款"
,
"pushNeedBusiness"
:
"推送需求商机"
,
"pushNeedNote"
:
"推送需求小计"
,
"pushCloseNeed"
:
"推送关闭需求"
,
"pushNeedSolution"
:
"推送需求方案"
,
"pushCloseNeedSolution"
:
"推送关闭需求方案"
,
"pushOpSolution"
:
"推送操作方案"
},
//---------
"logLevel"
:
{
"debug"
:
0
,
"info"
:
1
,
"warn"
:
2
,
"error"
:
3
,
"fatal"
:
4
},
...
...
center-app/app/base/service/impl/utilsSve/utilsAlibankSve.js
View file @
4892331f
...
...
@@ -50,7 +50,7 @@ class utilsTlBankSve extends AppServiceBase {
const
publicDer
=
key
.
exportKey
(
'pkcs8-public'
);
let
text
=
Object
.
keys
(
parameters
).
sort
().
map
(
key
=>
{
return
`
${
encodeURIComponent
(
key
)}
=
${
encodeURIComponent
(
parameters
[
key
])}
`
}).
join
(
'&'
);
}).
join
(
'&'
);
let
buffer
=
Buffer
.
from
(
text
);
let
signature
=
key
.
sign
(
buffer
).
toString
(
'base64'
);
return
signature
;
...
...
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