From 55a8ce63e5f625ecf88bfe187d32f678d194052c Mon Sep 17 00:00:00 2001 From: zef <1146339010@QQ.com> Date: Sat, 29 Jun 2024 10:02:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=AF=E5=8F=A3=E4=BF=AE=E6=94=B9=20swagger?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/application.yml | 2 +- .../controller/TbCompanyInformationReportingController.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 6e18581..97e2929 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -18,7 +18,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为8080 - port: 8080 + port: 8799 servlet: # 应用的访问路径 context-path: / diff --git a/ruoyi-safecompany/src/main/java/com/ruoyi/business/companyInformationReporting/controller/TbCompanyInformationReportingController.java b/ruoyi-safecompany/src/main/java/com/ruoyi/business/companyInformationReporting/controller/TbCompanyInformationReportingController.java index 75ff3e7..0d5e141 100644 --- a/ruoyi-safecompany/src/main/java/com/ruoyi/business/companyInformationReporting/controller/TbCompanyInformationReportingController.java +++ b/ruoyi-safecompany/src/main/java/com/ruoyi/business/companyInformationReporting/controller/TbCompanyInformationReportingController.java @@ -224,6 +224,7 @@ public class TbCompanyInformationReportingController extends BaseController { @PutMapping("/changeState") @ApiOperation("上报提交") @ApiOperationSupport(author = "张二富", order = 20) + @ApiImplicitParam(name = "id", value = "企业信息上报id 列表返回的id", required = true) public AjaxResult changeState(@RequestBody TbCompanyInformationReporting tbCompanyInformationReporting){ UpdateWrapper updateWrapper = new UpdateWrapper<>(); updateWrapper.eq(StringUtils.camelToUnderline(TbCompanyInformationReporting.Fields.id),tbCompanyInformationReporting.getId());