| | |
| | | import com.thhy.staff.modules.biz.face.entity.FaceResult; |
| | | import com.thhy.staff.modules.biz.face.service.FaceDeviceService; |
| | | import com.thhy.staff.modules.biz.face.service.FaceServer; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | jsonObject.put("success",true); |
| | | return jsonObject; |
| | | } |
| | | |
| | | @RequestMapping("/queryPer") |
| | | public BasicResult queryPer(String perId){ |
| | | faceServer.queryPer(perId); |
| | | return BasicResult.success(); |
| | | } |
| | | |
| | | @RequestMapping("/getPersonDetail") |
| | | public BasicResult getPersonDetail(@RequestBody String mess){ |
| | | Logger logger = LoggerFactory.getLogger(FaceController.class); |
| | | logger.info("查询结果"+mess); |
| | | return BasicResult.success(); |
| | | } |
| | | |
| | | |
| | | } |