fix: 修复bean实例化问题
This commit is contained in:
@@ -6,10 +6,7 @@ import com.schisandra.auth.common.redis.RedisUtil;
|
||||
import com.schisandra.auth.common.utils.AESUtils;
|
||||
import com.schisandra.auth.common.utils.RotateImageUtils;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
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;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import javax.imageio.ImageIO;
|
||||
@@ -39,7 +36,7 @@ public class ReactRotateCaptchaController {
|
||||
* @author zlg
|
||||
* @date: 2024/5/10 16:28
|
||||
*/
|
||||
@PostMapping("get")
|
||||
@GetMapping("get")
|
||||
public CaptchaResult get() throws Exception {
|
||||
RotateImageUtils rotateImageUtils = new RotateImageUtils();
|
||||
CompletableFuture<HashMap> futurePrice = CompletableFuture.supplyAsync(() -> {
|
||||
|
Reference in New Issue
Block a user