mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-21 03:25:12 +08:00
update 电单车协议
This commit is contained in:
@@ -62,7 +62,7 @@ public class YouDianUtils {
|
||||
|
||||
// 取累加和的低 2 字节(16 位)
|
||||
int i = sum & 0xFFFF;
|
||||
log.info("计算校验字段:{}", i);
|
||||
// log.info("计算校验字段:{}", i);
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
@@ -39,6 +39,9 @@ public class ChannelManagerUtil {
|
||||
* @param channelId 通道 ID
|
||||
*/
|
||||
public static void removeChannel(String channelId) {
|
||||
if (!channelMap.containsKey(channelId)) {
|
||||
return;
|
||||
}
|
||||
channelMap.remove(channelId);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user