From 9671fa60b69a5b749bfbd989f0aa281aa284dde6 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 12 三月 2026 16:50:57 +0800
Subject: [PATCH] 1
---
zy-acs-gateway/src/main/java/com/zy/acs/gateway/controller/UtilsController.java | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/zy-acs-gateway/src/main/java/com/zy/acs/gateway/controller/UtilsController.java b/zy-acs-gateway/src/main/java/com/zy/acs/gateway/controller/UtilsController.java
new file mode 100644
index 0000000..5f5bdf1
--- /dev/null
+++ b/zy-acs-gateway/src/main/java/com/zy/acs/gateway/controller/UtilsController.java
@@ -0,0 +1,25 @@
+package com.zy.acs.gateway.controller;
+
+import com.zy.acs.framework.common.R;
+import com.zy.acs.gateway.utils.PacCoder;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.*;
+
+
+@RestController
+@Slf4j
+@RequestMapping(value = "/utils")
+public class UtilsController {
+
+ /**
+ * 鏌ヨ鏈�鏂扮殑鍗佹潯鏁版嵁
+ *
+ * @return
+ */
+ @RequestMapping(value = "/decode/{hex}")
+ @ResponseBody
+ public R query(@PathVariable String hex) {
+ return R.ok(PacCoder.decode(hex));
+ }
+
+}
--
Gitblit v1.9.1