From ed01afc2adaf15304c5cf7bd17d57c8801c6614c Mon Sep 17 00:00:00 2001 From: Tcsm <1377977403@qq.com> Date: 星期一, 27 三月 2023 21:16:34 +0800 Subject: [PATCH] 在api新增self --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java index d2d6e8c..2846f9a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java @@ -89,6 +89,9 @@ ajax.put("uuid", uuid); ajax.put("img", Base64.encode(os.toByteArray())); + ajax.put("code",200); + ajax.put("value",code); + ajax.put("txt","77777"); return ajax; } } -- Gitblit v1.9.1