From 9a589880b6bf88e4effbf3b6cc6ab5dd94cc1f89 Mon Sep 17 00:00:00 2001 From: Lemon Date: Sat, 12 Oct 2024 10:40:20 +0800 Subject: [PATCH] =?UTF-8?q?update=20=20=E6=A1=A9=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E5=90=8E=E8=AE=A1=E8=B4=B9=E6=A8=A1=E6=9D=BF=E5=BA=94=E7=AD=94?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=200x00=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yunkuaichong/BillingTemplateValidateRequestHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jsowell-netty/src/main/java/com/jsowell/netty/handler/yunkuaichong/BillingTemplateValidateRequestHandler.java b/jsowell-netty/src/main/java/com/jsowell/netty/handler/yunkuaichong/BillingTemplateValidateRequestHandler.java index a0a0684ef..7279b79e9 100644 --- a/jsowell-netty/src/main/java/com/jsowell/netty/handler/yunkuaichong/BillingTemplateValidateRequestHandler.java +++ b/jsowell-netty/src/main/java/com/jsowell/netty/handler/yunkuaichong/BillingTemplateValidateRequestHandler.java @@ -59,7 +59,9 @@ public class BillingTemplateValidateRequestHandler extends AbstractYkcHandler { byte[] billingTemplateCodeByte = BytesUtil.copyBytes(msgBody, startIndex, length); String billingTemplateCode = BytesUtil.binary(billingTemplateCodeByte, 16); - byte[] flag = Constants.oneByteArray; + // byte[] flag = Constants.oneByteArray; 0x00 桩计费模型与平台一致 0x01桩计费模型与平台不一致 + byte[] flag = Constants.zeroByteArray; + // 消息体 byte[] messageBody = Bytes.concat(pileSnByte, billingTemplateCodeByte, flag); return getResult(ykcDataProtocol, messageBody);