whyclj
2020-04-28 74328e2638ce3b09a126e8343af651256250b8ab
webSockTest/src/com/fgkj/actions/FaceIdentify.java
@@ -38,8 +38,66 @@
      return SUCCESS;
   }
   
   /**
    * 添加人脸
    * @return
    */
   public String faceAdd(){
      String str = FaceDetect.faceAdd(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   
   /**
    * 删除人脸
    * @return
    */
   public String faceDelete(){
      String str = FaceDetect.faceDelete(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 人脸更新
    * @return
    */
   public String faceUpdate(){
      String str = FaceDetect.faceUpdate(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 获取用户人脸列表
    * @return
    */
   public String faceGetList(){
      String str = FaceDetect.faceGetList(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 获取用户列表
    * @return
    */
   public String groupGetusers(){
      String str = FaceDetect.groupGetusers(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   /**
    * 获取人脸复制{用户从一个班组复制到另一个班组}
    * @return
    */
   public String faceCopy(){
      String str = FaceDetect.faceCopy(json);
      result = getGson().toJson(str);
      return SUCCESS;
   }
   public String getResult() {
      return result;
   }