You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.8 KiB
57 lines
1.8 KiB
10 months ago
|
//package com.teaching.backend.controller.KnowGraph;
|
||
|
//
|
||
|
//import com.teaching.backend.common.BaseResponse;
|
||
|
//import com.teaching.backend.model.dto.Knowtemp.KnowtempAdd;
|
||
|
//import com.teaching.backend.model.dto.Knowtemp.KnowtempUpdate;
|
||
|
//import com.teaching.backend.model.entity.KnowGraph.Know;
|
||
|
//import com.teaching.backend.model.entity.Knowtemp.Knowtemp;
|
||
|
//import com.teaching.backend.model.entity.chapter.Chapter;
|
||
|
//import com.teaching.backend.service.KnowGraph.KnowGraphService;
|
||
|
//import io.swagger.models.auth.In;
|
||
|
//import org.springframework.beans.factory.annotation.Autowired;
|
||
|
//import org.springframework.web.bind.annotation.*;
|
||
|
//
|
||
|
//import java.util.List;
|
||
|
//
|
||
|
///**
|
||
|
// * @Author:youhang
|
||
|
// * @Date:2024-07-29-10:32
|
||
|
// * @Description:
|
||
|
// */
|
||
|
//@RestController
|
||
|
//@RequestMapping("/knowGraph")
|
||
|
//public class KnowGraphController {
|
||
|
//
|
||
|
// @Autowired
|
||
|
// private KnowGraphService knowGraphService;
|
||
|
//
|
||
|
// //add knowtemp
|
||
|
// @PostMapping("/add")
|
||
|
// public BaseResponse<String> add(@RequestBody KnowtempAdd knowtempAdd) {
|
||
|
// return knowGraphService.add(knowtempAdd);
|
||
|
// }
|
||
|
//
|
||
|
// @PostMapping("/update")
|
||
|
// public BaseResponse<String> update(@RequestBody KnowtempUpdate knowtempUpdate) {
|
||
|
// return knowGraphService.update(knowtempUpdate);
|
||
|
// }
|
||
|
// @PostMapping("/delete")
|
||
|
// public BaseResponse<String> delete(@RequestParam Integer id) {
|
||
|
// return knowGraphService.delete(id);
|
||
|
// }
|
||
|
// @PostMapping("/query")
|
||
|
// public BaseResponse<Knowtemp> query(@RequestParam Integer id) {
|
||
|
// return knowGraphService.query(id);
|
||
|
// }
|
||
|
//
|
||
|
//
|
||
|
// //根据 课程id 从chapter表中获取List 章节
|
||
|
// @PostMapping("/addAll")
|
||
|
// public BaseResponse<String> addAll(@PathVariable String id) {
|
||
|
// return knowGraphService.saveKnowToNeo(id);
|
||
|
// }
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//}
|