09 2021 档案
sql 分组后按时间降序排列再取出每组的第一条记录
摘要:select * from (select ROW_NUMBER()over(partition by id order by rTime desc) rowId,* from Records where Uid=353) as Records where rowId=1
阅读全文
.net core 3.1 AllowAnonymous特性无效
摘要:在.net core 2.0时代,微软默认没有开启Endpoint,也就是当Controller或者Action设置了AllowAnonymous特性,将会为请求自动添加AllowAnonymousFilter,这就回到了上文提到的2.0项目中的验证方法的写法上了。 毫不犹豫,果断的去翻了项目的St
阅读全文