diff --git a/hb_server/apps/hrm/services.py b/hb_server/apps/hrm/services.py index 1a793b1..0786a29 100644 --- a/hb_server/apps/hrm/services.py +++ b/hb_server/apps/hrm/services.py @@ -40,6 +40,7 @@ class HRMService: return user, '' return None, '识别失败' + @classmethod def get_facedata_from_img(cls, img_path): try: photo_path = settings.BASE_DIR + img_path