update 桩登录后计费模板应答改为 0x00一致

This commit is contained in:
Lemon
2024-10-12 10:40:20 +08:00
parent 751ba929d7
commit 9a589880b6

View File

@@ -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);