异步请求设置返回值为空

This commit is contained in:
yangqicheng 2024-10-28 14:40:19 +08:00
parent 8876f141c7
commit 442af37f84

View File

@ -214,7 +214,7 @@ public class ComplexInvokeClient implements Client {
}
static Response.Body body = new Response.Body() {
final ByteArrayInputStream inputStream = new ByteArrayInputStream(JSON.toJSONString(CommonResponse.success("Send MQ Success")).getBytes(UTF_8));
final ByteArrayInputStream inputStream = new ByteArrayInputStream(JSON.toJSONString(CommonResponse.success()).getBytes(UTF_8));
@Override
public Integer length() {