优化sdk-nodejs以下功能:

1、新增同步请求方式(executeSync、executeTokenSync);
2、优化请求异常中断问题,返回502错误码;
3、优化签名方法;
pull/11/head
Changeden 4 years ago
parent e1b860c75a
commit aaef05525e
  1. 2
      sop-sdk/sdk-nodejs/common/OpenClient.js

@ -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()类型不正确';
} }
} }

Loading…
Cancel
Save