From abcb4ce3b765806e53f668f1af13529eb0414ced Mon Sep 17 00:00:00 2001 From: zepengdev <lzpsmith@outlook.com> Date: Wed, 04 Jun 2025 08:33:14 +0800 Subject: [PATCH] 删除StoreLocation --- oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java b/oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java index c4012cf..20fdd29 100644 --- a/oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java +++ b/oying-system/src/main/java/com/oying/modules/security/rest/VerificationController.java @@ -2,6 +2,7 @@ import cn.hutool.core.util.IdUtil; import com.oying.annotation.rest.AnonymousGetMapping; +import com.oying.utils.R; import com.oying.utils.RedisUtils; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -39,6 +40,6 @@ //创建验证码 String verification = (int) ((Math.random() * 9 + 1) * 100000) + ""; redisUtils.set(uuid, verification, time); - return ResponseEntity.ok(uuid); + return ResponseEntity.ok(R.success(uuid)); } } -- Gitblit v1.9.3