whyclxw
2024-09-19 ef8592668904f629f33c7c1f3e5ec0776f74ebc0
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("服务调用测试")