|
|
@@ -9,10 +9,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-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.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
/**
|
|
|
* 讲义列Controller
|
|
|
@@ -47,4 +44,13 @@ public class CourseHandoutsController extends BaseController {
|
|
|
return toAjax(iCourseFileService.editHandouts(bo) ? 1 : 0);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 测试接口
|
|
|
+ */
|
|
|
+ @ApiOperation("测试接口")
|
|
|
+ @GetMapping("/ceshi")
|
|
|
+ public AjaxResult<Long> getHandouts() {
|
|
|
+ return AjaxResult.success(1L);
|
|
|
+ }
|
|
|
+
|
|
|
}
|