Skip to content

Commit 250965e

Browse files
@initial 7.0.0-preview.423.2 Fix get need body data
1 parent 4e6c811 commit 250965e

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/main/java/com/talexframe/frame/core/modules/network/connection/RequestAnalyser.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@
3030
import java.lang.reflect.Method;
3131
import java.lang.reflect.Parameter;
3232
import java.nio.charset.StandardCharsets;
33-
import java.util.ArrayList;
34-
import java.util.HashMap;
35-
import java.util.List;
36-
import java.util.Map;
33+
import java.util.*;
3734

3835
/**
3936
* 请求解析器 <br /> {@link com.talexframe.frame.core.modules.network.connection Package }
@@ -134,7 +131,7 @@ private void process() {
134131
return;
135132
}
136133

137-
if ( json == null && methodReceiver.tRequest.parseJSON() ) {
134+
if ( json == null && methodReceiver.tRequest.parseJSON() && !Objects.equals(methodReceiver.supportMethodName, "GET") ) {
138135

139136
log.warn("[解析层] DataNull # MissingBodyData");
140137

0 commit comments

Comments
 (0)