This commit is contained in:
tanghc
2021-02-25 13:53:44 +08:00
parent a9a3dcdd0a
commit 4b135a62dd
2 changed files with 3 additions and 6 deletions

View File

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

View File

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