From d58292a7a895984300f3ee69b81c6eb4f87e345f Mon Sep 17 00:00:00 2001 From: whycxzp <glperry@163.com> Date: 星期六, 13 一月 2024 15:44:19 +0800 Subject: [PATCH] 导出和测试参数国际化 --- src/main/java/com/whyc/controller/TestParamController.java | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/whyc/controller/TestParamController.java b/src/main/java/com/whyc/controller/TestParamController.java index e2aa498..747c259 100644 --- a/src/main/java/com/whyc/controller/TestParamController.java +++ b/src/main/java/com/whyc/controller/TestParamController.java @@ -4,6 +4,7 @@ import com.whyc.pojo.FileParam; import com.whyc.pojo.TestParam; import com.whyc.service.TestParamService; +import com.whyc.util.MessageUtils; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; @@ -28,7 +29,7 @@ @PutMapping("factorsAndThreshold") public Response updateFactorsAndThreshold(@RequestBody TestParam param){ service.updateFactorsAndThreshold(param); - return new Response().set(1,"鏇存柊瀹屾垚"); + return new Response().set(1, MessageUtils.getMessage("updateSuccessfully")); } @ApiOperation("鏈嶅姟璋冪敤娴嬭瘯") -- Gitblit v1.9.1