fix second修改
This commit is contained in:
@@ -230,7 +230,7 @@ public class GainfoFaceService : IGainfoFaceService
|
||||
var face = await _faceDbContext.Queryable<GainfoFaceEntity>().Where(x => x.UserCode == gainfo.Code).SingleAsync();
|
||||
if (face != null)
|
||||
{
|
||||
((DateTime.Now - face.ModifiedTime).Seconds > 300).ThrowIfFalse("请勿频繁更新照片,请稍后重试");
|
||||
((DateTime.Now - face.ModifiedTime).TotalSeconds > 300).ThrowIfFalse("请勿频繁更新照片,请稍后重试");
|
||||
}
|
||||
|
||||
var userId = _currentUser.GetIntSubjectId();
|
||||
|
||||
Reference in New Issue
Block a user