This commit is contained in:
Lqc 2025-08-22 16:02:01 +08:00
parent 81a6f0ee43
commit d7b8733123

View File

@ -18,10 +18,12 @@ import org.jeecg.modules.gen.repo.entity.Repo;
import org.jeecg.modules.gen.repo.mapper.RepoMapper;
import org.jeecg.modules.gen.repo.service.IRepoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@RestController
@ -61,6 +63,7 @@ public class RepoBizController {
return Result.OK(repo.getId());
}
@PostMapping(value = "/courseAdd")
@Operation(summary = "课程新建题库")
public Result<String> courseAdd(@RequestBody Repo repo) {