From b1da1a1fd20d2392e0b686ba1ea72cd9eba7e723 Mon Sep 17 00:00:00 2001
From: huanghongfa <18228131219@163.com>
Date: 星期三, 30 十二月 2020 18:43:49 +0800
Subject: [PATCH] 运营后台用户管理

---
 springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/PartyBuildingApi.java |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 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 fea575c..f3bbdc3 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
@@ -1,12 +1,14 @@
 package com.panzhihua.applets.api;
 
 import com.panzhihua.common.controller.BaseController;
+import com.panzhihua.common.model.dtos.partybuilding.ActivitySignUpDTO;
 import com.panzhihua.common.model.vos.R;
 import com.panzhihua.common.model.vos.partybuilding.*;
 import com.panzhihua.common.service.partybuilding.PartyBuildingService;
 import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.util.ObjectUtils;
+import org.springframework.validation.annotation.Validated;
 import org.springframework.web.bind.annotation.*;
 
 import javax.annotation.Resource;
@@ -80,5 +82,20 @@
         return partyBuildingService.activityinfo(id);
     }
 
+    @ApiOperation(value = "党员活动人员参入列表",response = PartyBuildingMemberVO.class)
+    @GetMapping("listpartybuildingmember")
+    public R listPartyBuildingMember(@RequestParam("id") Long id) {
+        return partyBuildingService.listPartyBuildingMember(id);
+    }
+
+    @ApiOperation(value = "报名、取消报名党员活动")
+    @PutMapping("activitysignup")
+    public R putActivitySignUp(@RequestBody @Validated ActivitySignUpDTO activitySignUpDTO) {
+        activitySignUpDTO.setUserId(this.getUserId());
+        return partyBuildingService.putActivitySignUp(activitySignUpDTO);
+    }
+
+
+
 
 }

--
Gitblit v1.7.1