eureka
tanghc 4 years ago
parent a9a3dcdd0a
commit 4b135a62dd
  1. 8
      sop-sdk/sdk-nodejs/common/OpenClient.js
  2. 1
      sop-sdk/sdk-nodejs/main.js

@ -130,12 +130,8 @@ const OpenClient = Class.create({
'charset': 'UTF-8',
'sign_type': 'RSA2',
'timestamp': moment().format('YYYY-MM-DD HH:mm:ss'),
'version': request.getVersion()
}
const bizModel = request.bizModel
for (const key in bizModel) {
allParams[key] = bizModel[key]
'version': request.getVersion(),
'biz_content': JSON.stringify(request.bizModel)
}
if (token) {

@ -18,6 +18,7 @@ function test() {
// 设置业务参数
request.bizModel = {
id: 111,
name: 'jim'
}

Loading…
Cancel
Save