|
@@ -9,7 +9,6 @@ import org.springframework.web.bind.annotation.PathVariable;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
|
|
import cn.com.qmth.examcloud.commons.exception.StatusException;
|
|
import cn.com.qmth.examcloud.commons.exception.StatusException;
|
|
import cn.com.qmth.examcloud.core.basic.api.controller.bean.StudentFaceDomain;
|
|
import cn.com.qmth.examcloud.core.basic.api.controller.bean.StudentFaceDomain;
|
|
@@ -24,13 +23,14 @@ import cn.com.qmth.examcloud.web.support.ControllerSupport;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
/**
|
|
/**
|
|
- * 类注释
|
|
|
|
|
|
+ * 人脸接口<br>
|
|
|
|
+ * 废弃 by wangwei 2019年9月2日
|
|
*
|
|
*
|
|
* @author WANGWEI
|
|
* @author WANGWEI
|
|
* @date 2018年9月4日
|
|
* @date 2018年9月4日
|
|
* @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
* @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
|
|
*/
|
|
*/
|
|
-@RestController
|
|
|
|
|
|
+// @RestController
|
|
@RequestMapping("${$rmp.ctr.basic}/face")
|
|
@RequestMapping("${$rmp.ctr.basic}/face")
|
|
public class FaceController extends ControllerSupport {
|
|
public class FaceController extends ControllerSupport {
|
|
|
|
|
|
@@ -69,7 +69,7 @@ public class FaceController extends ControllerSupport {
|
|
return facesetList;
|
|
return facesetList;
|
|
}
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "获取可用的faceset集合")
|
|
|
|
|
|
+ @ApiOperation(value = "获取学生人脸信息")
|
|
@GetMapping("studentFace/{studentId}")
|
|
@GetMapping("studentFace/{studentId}")
|
|
public StudentFaceEntity getStudentFace(@PathVariable Long studentId) {
|
|
public StudentFaceEntity getStudentFace(@PathVariable Long studentId) {
|
|
|
|
|