From 05aebb26d1e2e1fbaebe0119876aa97caea1fef5 Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期五, 06 九月 2024 09:58:08 +0800 Subject: [PATCH] 更新 --- src/main/java/com/whyc/controller/QRCodeController.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/whyc/controller/QRCodeController.java b/src/main/java/com/whyc/controller/QRCodeController.java index 2c588b5..573463f 100644 --- a/src/main/java/com/whyc/controller/QRCodeController.java +++ b/src/main/java/com/whyc/controller/QRCodeController.java @@ -4,6 +4,7 @@ import com.whyc.service.QRCodeService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; @@ -23,4 +24,9 @@ return new Response().set(1,res); } + @PostMapping("extractAndGetData") + private Response extractAndGetData(@RequestBody byte[] data){ + return service.extractAndGetData(data); + } + } -- Gitblit v1.9.1