|
@@ -256,9 +256,9 @@ public class PersonInfoApiController {
|
|
|
throw new Exception("人员信息不存在!");
|
|
|
}
|
|
|
|
|
|
- if (personInfo.getFaceBound()!=null && personInfo.getFaceBound()){
|
|
|
- throw new Exception("人员照片已绑定到设备,不能再上传!");
|
|
|
- }
|
|
|
+// if (personInfo.getFaceBound()!=null && personInfo.getFaceBound()){
|
|
|
+// throw new Exception("人员照片已绑定到设备,不能再上传!");
|
|
|
+// }
|
|
|
|
|
|
String retFileUrl = OSSUtil.upload(ossConfig,"/person",photoName,photoFile.getInputStream());
|
|
|
|