fix 临时处理bug

This commit is contained in:
2024-02-23 18:07:03 +08:00
parent 0931d0bf53
commit bc812a30b9
5 changed files with 13 additions and 2 deletions

View File

@@ -204,7 +204,6 @@ public class GainfoService : IGainfoService
return new NotFoundResult();
}
var limit = configuration.GetSection("FaceUrlOptions:Limit").Get<int>();
await _redisCache.HashSetAsync("faces", userCode, face.Face);
return new FileContentResult(Convert.FromBase64String(face.Face), "image/png");
}