From c851ab47375be570d160a229f5c8e1ce65084a65 Mon Sep 17 00:00:00 2001
From: huanghongfa <18228131219@163.com>
Date: 星期一, 14 十二月 2020 14:25:40 +0800
Subject: [PATCH] 社区动态-随手拍-微心愿接口测试ok

---
 springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/PartyBuildingApi.java |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/PartyBuildingApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/PartyBuildingApi.java
index 690d7fb..90c4c11 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/PartyBuildingApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/PartyBuildingApi.java
@@ -53,9 +53,10 @@
     }
 
     @ApiOperation(value = "增加阅读记录")
-    @GetMapping("adddynuser")
-    public R addDynUser(@RequestParam("id") Long id) {
-        if (ObjectUtils.isEmpty(id)) {
+    @PostMapping("adddynuser")
+    public R addDynUser(@RequestBody PartyBuildingComPbDynVO partyBuildingComPbDynVO) {
+        Long id = partyBuildingComPbDynVO.getId();
+        if (ObjectUtils.isEmpty(id)||0==id) {
             return R.fail("主键id不能为空");
         }
         Long userId = this.getUserId();

--
Gitblit v1.7.1