|
|
@@ -9,6 +9,7 @@ import com.izouma.nineth.exception.BusinessException;
|
|
|
import com.izouma.nineth.repo.netease.TeamRepo;
|
|
|
import com.izouma.nineth.utils.excel.ExcelUtils;
|
|
|
|
|
|
+import freemarker.template.utility.RichObjectWrapper;
|
|
|
import lombok.AllArgsConstructor;
|
|
|
import org.springframework.data.domain.Page;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
@@ -68,5 +69,10 @@ public class TeamController extends BaseController {
|
|
|
List<Team> data = all(pageQuery).getContent();
|
|
|
ExcelUtils.export(response, data);
|
|
|
}
|
|
|
+
|
|
|
+ @PostMapping("/checkout")
|
|
|
+ private void checkout(String userId, String tid) {
|
|
|
+ teamService.checkout(userId, tid);
|
|
|
+ }
|
|
|
}
|
|
|
|