C#
文章平均质量分 57
秃头的路上一去不复返
这个作者很懒,什么都没留下…
展开
-
ABP vNext 扩展 CurrentUser,自定义Claim声明
ABP内置Users表,我们可以对其字段进行扩展,辅助进行更详细的数据记录。原创 2023-12-08 16:04:21 · 634 阅读 · 0 评论 -
ABP .NET Core 菜单配置与授权
ABP .NET Core 菜单配置与授权1、HttpApi.Host层TestMenuContributor.cs 配置菜单 private async Task ConfigureMainMenuAsync(MenuConfigurationContext context){ context.Menu .AddItem (///一级菜单 new ApplicationMenuItem("0", "一原创 2022-04-12 09:12:38 · 506 阅读 · 0 评论 -
C#百度OCR本地图片识别文字
基于百度AI开放平台,用winform写的一个图片识别文字demo需要引入Baidu.AI动态库百度ORC效果文字识别 var apiKey = "F--------------------X"; //自己申请的key var secretKey = "H----------------------"; //自己申请的key { Timeout = 30000//延时时间 };//本地图片识别文字var image = File.ReadAllB原创 2021-10-09 15:13:53 · 1609 阅读 · 1 评论