|
|
@@ -0,0 +1,25 @@
|
|
|
+package cn.com.oa.controller;
|
|
|
+
|
|
|
+import cn.com.oa.service.UserService;
|
|
|
+import cn.com.v2.common.domain.AjaxResult;
|
|
|
+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;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @author: LaFantasque
|
|
|
+ * @date: 2025-07-08 15:09
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/api/user")
|
|
|
+public class UserController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private UserService service;
|
|
|
+
|
|
|
+ @GetMapping("/facerecord")
|
|
|
+ public AjaxResult getFaceRecord() {
|
|
|
+ return AjaxResult.successData(200, service.getFaceRecord());
|
|
|
+ }
|
|
|
+}
|