From 8f9acdffac49c86f73f78d1085feaf22d05808bc Mon Sep 17 00:00:00 2001 From: tanghc Date: Tue, 10 Dec 2019 10:56:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8D=E4=BC=A0=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/gitee/sop/sdk/request/BaseRequest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sop-sdk/sdk-java/src/main/java/com/gitee/sop/sdk/request/BaseRequest.java b/sop-sdk/sdk-java/src/main/java/com/gitee/sop/sdk/request/BaseRequest.java index 940c0a51..66a4e6ff 100644 --- a/sop-sdk/sdk-java/src/main/java/com/gitee/sop/sdk/request/BaseRequest.java +++ b/sop-sdk/sdk-java/src/main/java/com/gitee/sop/sdk/request/BaseRequest.java @@ -36,10 +36,12 @@ import java.util.Map; */ public abstract class BaseRequest { + private static final String EMPTY_JSON = "{}"; + private String method; private String version; - private String bizContent; + private String bizContent = EMPTY_JSON; private Object bizModel; /**