package com.qxueyou.scc.controller;
|
|
import com.qxueyou.scc.admin.graduation.GraduationService;
|
import com.qxueyou.scc.base.model.Result;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RestController;
|
|
@Api(tags="毕业管理接口")
|
@RestController
|
@RequestMapping("/admin/Graduation")
|
public class GraduationController {
|
@Autowired
|
private GraduationService graduationService;
|
|
@ApiOperation(value = "毕业", notes = "")
|
@GetMapping(value = "/graduationAddAndUp")
|
public Result graduationAddAndUp(String[] studentIds, String graduationText) {
|
return graduationService.graduationAddAndUp(studentIds,graduationText);
|
}
|
}
|