| | |
| | | import lombok.RequiredArgsConstructor; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotNull; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | return iAdminMallTeamLeaderService.selectList(mallTeamLeader); |
| | | } |
| | | |
| | | /** |
| | | * 团长信息--取消团长 |
| | | */ |
| | | @GetMapping("leaderCancel/{id}") |
| | | @ControllerEndpoint(operation = "团长信息--取消团长", exceptionMessage = "取消团长失败") |
| | | public FebsResponse leaderCancel(@NotNull(message = "{required}") @PathVariable Long id) { |
| | | return iAdminMallTeamLeaderService.leaderCancel(id); |
| | | } |
| | | |
| | | } |