mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 21:57:56 +08:00
优化sdk-nodejs以下功能:
1、新增同步请求方式(executeSync、executeTokenSync); 2、优化请求异常中断问题,返回502错误码; 3、优化签名方法;
This commit is contained in:
@@ -81,7 +81,7 @@ const OpenClient = Class.create({
|
|||||||
case RequestType.POST_FILE:
|
case RequestType.POST_FILE:
|
||||||
this._postFile(request, callback);
|
this._postFile(request, callback);
|
||||||
break;
|
break;
|
||||||
default : {
|
default: {
|
||||||
throw 'request.getRequestType()类型不正确';
|
throw 'request.getRequestType()类型不正确';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user