From aaef05525ef97f9401da00983917f7494bfe29c6 Mon Sep 17 00:00:00 2001 From: Changeden Date: Mon, 12 Apr 2021 15:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96sdk-nodejs=E4=BB=A5=E4=B8=8B?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=EF=BC=9A=201=E3=80=81=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E8=AF=B7=E6=B1=82=E6=96=B9=E5=BC=8F=EF=BC=88?= =?UTF-8?q?executeSync=E3=80=81executeTokenSync=EF=BC=89=EF=BC=9B=202?= =?UTF-8?q?=E3=80=81=E4=BC=98=E5=8C=96=E8=AF=B7=E6=B1=82=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E4=B8=AD=E6=96=AD=E9=97=AE=E9=A2=98=EF=BC=8C=E8=BF=94=E5=9B=9E?= =?UTF-8?q?502=E9=94=99=E8=AF=AF=E7=A0=81=EF=BC=9B=203=E3=80=81=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=AD=BE=E5=90=8D=E6=96=B9=E6=B3=95=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sop-sdk/sdk-nodejs/common/OpenClient.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sop-sdk/sdk-nodejs/common/OpenClient.js b/sop-sdk/sdk-nodejs/common/OpenClient.js index df758669..2397021c 100644 --- a/sop-sdk/sdk-nodejs/common/OpenClient.js +++ b/sop-sdk/sdk-nodejs/common/OpenClient.js @@ -81,7 +81,7 @@ const OpenClient = Class.create({ case RequestType.POST_FILE: this._postFile(request, callback); break; - default : { + default: { throw 'request.getRequestType()类型不正确'; } }