| | |
| | | import com.ruoyi.common.security.annotation.InnerAuth; |
| | | import com.ruoyi.member.service.IMemberService; |
| | | import com.ruoyi.system.api.domain.Member; |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | import com.ruoyi.system.api.domain.dto.MemberDTO; |
| | | import com.ruoyi.system.api.domain.dto.updMembeOneDTO; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | /** |
| | | * @author mitao |
| | |
| | | |
| | | @InnerAuth |
| | | @PostMapping("/list-by-ids") |
| | | R<List<Member>> getMemberListByIds(@RequestParam("memberIdList") Set<Long> memberIdList) { |
| | | R<List<Member>> getMemberListByIds( |
| | | @RequestParam("memberIdList") Collection<Long> memberIdList) { |
| | | return R.ok(memberService.getMemberListByIds(memberIdList)); |
| | | } |
| | | |
| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | @InnerAuth |
| | | @PostMapping("/member/list-by-condition") |
| | | R<List<Member>> getMemberListByCondition(@RequestBody MemberDTO memberDTO) { |
| | | return R.ok(memberService.getMemberListByCondition(memberDTO)); |
| | | } |
| | | } |