From 583a11b28dfba598b94e6f9a4d0d1875f6373c3d Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期二, 26 九月 2023 17:55:27 +0800
Subject: [PATCH] 配置文件
---
springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoEventController.java | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoEventController.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoEventController.java
index 6696df1..67cc2e9 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoEventController.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/ComSanShuoEventController.java
@@ -11,6 +11,7 @@
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
+import org.springframework.beans.BeanUtils;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;
@@ -86,7 +87,8 @@
@PostMapping("/page")
public R page(@RequestBody ComEventPageRequestVO comEventPageRequestVO) {
log.info("================appId="+comEventPageRequestVO);
- ComEventVO comEventVO = CopyUtil.copyProperties(comEventPageRequestVO, ComEventVO.class);
+ ComEventVO comEventVO = new ComEventVO();
+ BeanUtils.copyProperties(comEventPageRequestVO,comEventVO);
comEventPageRequestVO.setCreateBy(getUserId());
if (nonNull(comEventPageRequestVO.getAppId())){
comEventVO.setAppId(comEventPageRequestVO.getAppId());
--
Gitblit v1.7.1