同步获取响应数据

This commit is contained in:
Guoqs
2024-08-01 16:47:18 +08:00
parent 901310f061
commit ea1a0c81f1
2 changed files with 129 additions and 87 deletions

View File

@@ -315,8 +315,6 @@ public enum YKCFrameTypeCode {
*/
public static String getRequestFrameType(String responseFrameType) {
for (PileAnswersRelation relation : PileAnswersRelation.values()) {
log.info("getRequestFrameType-responseFrameType:{}, 对比:{}",
responseFrameType, YKCUtils.frameType2Str(relation.getResponseFrameBytes()));
if (StringUtils.equals(responseFrameType, YKCUtils.frameType2Str(relation.getResponseFrameBytes()))) {
return YKCUtils.frameType2Str(relation.getRequestFrameBytes());
}