From 00a59b93c16b24e7be77c6f1ce4866c75a2e0431 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期二, 19 四月 2022 16:32:21 +0800
Subject: [PATCH] 花城E+防疫修改

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

diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java
index 659654b..c5cb049 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/StreetApi.java
@@ -37,7 +37,7 @@
      */
     @PostMapping("addstreet")
     @Transactional(rollbackFor = Exception.class)
-    public R addStreet(@RequestBody ComStreetVO comStreetVO) {
+    public R<ComStreetVO> addStreet(@RequestBody ComStreetVO comStreetVO) {
         return comStreetService.addStreet(comStreetVO);
     }
 
@@ -78,7 +78,7 @@
     @Transactional(rollbackFor = Exception.class)
     public R delectStreat(@RequestBody List<Long> Ids) {
         R r = comStreetService.delectStreat(Ids);
-        return R.ok(r);
+        return r;
     }
 
 }

--
Gitblit v1.7.1