mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-07-10 00:48:12 +08:00
update 桩登录后计费模板应答改为 0x00一致
This commit is contained in:
@@ -59,7 +59,9 @@ public class BillingTemplateValidateRequestHandler extends AbstractYkcHandler {
|
|||||||
byte[] billingTemplateCodeByte = BytesUtil.copyBytes(msgBody, startIndex, length);
|
byte[] billingTemplateCodeByte = BytesUtil.copyBytes(msgBody, startIndex, length);
|
||||||
String billingTemplateCode = BytesUtil.binary(billingTemplateCodeByte, 16);
|
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);
|
byte[] messageBody = Bytes.concat(pileSnByte, billingTemplateCodeByte, flag);
|
||||||
return getResult(ykcDataProtocol, messageBody);
|
return getResult(ykcDataProtocol, messageBody);
|
||||||
|
|||||||
Reference in New Issue
Block a user