From 8a222df60e6fd99e740a640804b9354a7d2657e3 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 07 六月 2022 11:04:00 +0800 Subject: [PATCH] update docker mysql 8.0.27 => 8.0.29 update docker nginx 1.21.3 => 1.21.6 update docker redis 6.2.6 => 6.2.7 update docker minio 2021-10-27 => 2022-05-26 --- ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestSensitiveController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestSensitiveController.java b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestSensitiveController.java index 4deb2c0..1f34f9c 100644 --- a/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestSensitiveController.java +++ b/ruoyi-demo/src/main/java/com/ruoyi/demo/controller/TestSensitiveController.java @@ -2,7 +2,7 @@ import com.ruoyi.common.annotation.Sensitive; import com.ruoyi.common.core.controller.BaseController; -import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.common.core.domain.R; import com.ruoyi.common.enums.SensitiveStrategy; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; @@ -31,14 +31,14 @@ */ @ApiOperation("鏌ヨ娴嬭瘯鍗曡〃鍒楄〃") @GetMapping("/test") - public AjaxResult<TestSensitive> test() { + public R<TestSensitive> test() { TestSensitive testSensitive = new TestSensitive(); testSensitive.setIdCard("210397198608215431"); testSensitive.setPhone("17640125371"); testSensitive.setAddress("鍖椾含甯傛湞闃冲尯鏌愭煇鍥涘悎闄�1203瀹�"); testSensitive.setEmail("17640125371@163.com"); testSensitive.setBankCard("6226456952351452853"); - return AjaxResult.success(testSensitive); + return R.ok(testSensitive); } @Data -- Gitblit v1.9.3