huanghongfa
2020-12-10 f76377ffd111434d90c5aaf5507cd33a982d4aa6
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
@@ -3,8 +3,10 @@
import com.panzhihua.common.model.vos.LoginUserInfoVO;
import com.panzhihua.common.model.vos.MenuVO;
import com.panzhihua.common.model.vos.R;
import com.panzhihua.common.model.vos.user.ChangePasswordVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@@ -78,4 +80,29 @@
     */
    @PostMapping("/role/getUserRoles")
    R<List<String>> getUserRoles(@RequestParam("username") String username);
    /**
     * 查询社区的党委角色
     * @param communityId 社区id
     * @return 党委角色列表
     */
    @PostMapping("/role/listidentity")
    R listIdentity(@RequestParam("communityId")Integer communityId);
    /**
     * 修改用户登录密码
     * @param changePasswordVO 新密码
     * @return 修改结果
     */
    @PostMapping("/user/changepassword")
    R changePassword(@RequestBody ChangePasswordVO changePasswordVO);
    /**
     * 某社区后台人员查询
     * @param param 名字
     * @param communityId 社区id
     * @return 人员集合
     */
    @PostMapping("/user/listactivitymanager")
    R listActivityManager(@RequestParam("param") String param, @RequestParam("communityId")Long communityId);
}