From 4532b17de4f55a25c2e4fd12257b2cc31feabada Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期四, 04 六月 2020 07:55:34 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/common/utils/Struct.java | 3 ++-
src/main/webapp/views/console.html | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/common/utils/Struct.java b/src/main/java/com/zy/common/utils/Struct.java
index 1f5adad..0ee0939 100644
--- a/src/main/java/com/zy/common/utils/Struct.java
+++ b/src/main/java/com/zy/common/utils/Struct.java
@@ -370,6 +370,8 @@
instance.unusedBytes = unusedBytes;
return (T) instance;
}
+
+ // 瀛楄妭鏁扮粍 ===>> 杞负鍗佸叚杩涘埗瀛楃涓�
public static String toHex(byte[] bytes) {
StringBuilder buf = new StringBuilder(bytes.length * 2);
for(byte b : bytes) { // 浣跨敤String鐨刦ormat鏂规硶杩涜杞崲
@@ -444,7 +446,6 @@
}
return bbt;
}
-
public static class TestMessage {
public @size(1) byte begin = 0x7e;//璧峰绗�
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 45548ef..5dfbd63 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -798,7 +798,7 @@
$('.site').on('click', function () {
var id = this.id.split("-")[1];
layer.open({
- title: id + "绔欑偣淇℃伅璇︽儏",
+ title: id + " 绔欑偣淇℃伅璇︽儏",
closeBtn: 0,
skin: 'layui-layer-lan',
offset: '180px',
--
Gitblit v1.9.1