From 94a69f5c6b470a59b2642f870861a62dd00eef84 Mon Sep 17 00:00:00 2001
From: huanghongfa <huanghongfa123456>
Date: 星期一, 11 四月 2022 13:59:18 +0800
Subject: [PATCH] 电动车商城接口开发

---
 springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActSocialProjectPublicityApi.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActSocialProjectPublicityApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActSocialProjectPublicityApi.java
index 7a147c1..f3fa78c 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActSocialProjectPublicityApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComActSocialProjectPublicityApi.java
@@ -65,7 +65,7 @@
         ComActSocialProjectPublicity comActSocialProjectPublicity=this.comActSocialProjectPublicityService.getById(id);
         comActSocialProjectPublicity.setViews(comActSocialProjectPublicity.getViews()+1);
         this.comActSocialProjectPublicityService.updateById(comActSocialProjectPublicity);
-        return R.ok(this.comActSocialProjectPublicityService.getById(id));
+        return this.comActSocialProjectPublicityService.selectOne(id);
     }
 
     /**

--
Gitblit v1.7.1