mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
4.2.7
This commit is contained in:
@@ -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) {
|
||||||
|
@@ -18,6 +18,7 @@ function test() {
|
|||||||
|
|
||||||
// 设置业务参数
|
// 设置业务参数
|
||||||
request.bizModel = {
|
request.bizModel = {
|
||||||
|
id: 111,
|
||||||
name: 'jim'
|
name: 'jim'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user