上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 35 下一页
摘要: 异常: cannot work with the same database of your projectconnect not a different database which this project is linked 大致意思是:zero power tools工具连接的数据库要与项目 阅读全文
posted @ 2022-06-06 14:30 流年sugar 阅读(42) 评论(0) 推荐(0)
摘要: @delon/acl 模块 访问控制列表 1.安装依赖包 yarn add @delon/acl 2.在根模块中导入DelonACLModule 2.在Session中设置控制条件内容,此处存放当前登录人的角色信息 使用: 在ShareModule中导入DelonACLModule,或在使用模块导入 阅读全文
posted @ 2022-06-02 09:45 流年sugar 阅读(406) 评论(0) 推荐(0)
摘要: 异常 原因: 控制器里面的对外的方法必须加访问方式 如下: 阅读全文
posted @ 2022-05-27 15:50 流年sugar 阅读(769) 评论(0) 推荐(1)
摘要: 使用SQLite 创建表报错如下: 警告提示:tried accessing the SQLite plugin but Cordova is not available 场景:在浏览器模拟测试 原因:SQLite 只能在真机上使用,不能再浏览器上使用 阅读全文
posted @ 2022-05-23 09:53 流年sugar 阅读(57) 评论(0) 推荐(0)
摘要: 场景: 程序运行正常,但发布ABP程序到本地iis部署,运行异常 异常: 查看日志,异常如下: 原因: 数据库连接字符串异常 解决: 未发布前的连接字符串 发布后需要改成如下(必须添加账号密码) 阅读全文
posted @ 2022-05-20 14:42 流年sugar 阅读(1599) 评论(0) 推荐(0)
摘要: 1.后端 生成验证码 1 /// <summary> 2 /// 自定义长度验证码(字母+数字) 3 /// </summary> 4 /// <param name="length">验证码长度</param> 5 /// <returns></returns> 6 private Verific 阅读全文
posted @ 2022-05-19 17:47 流年sugar 阅读(550) 评论(0) 推荐(0)
摘要: 在环境都升级的情况下 方式一:删除依赖包node_modules和带有lock标识的yarn和package的文件(如yarn.lock,package-lock.json) 重新安装依赖包 若方式一失败使用方式二 方式二: 删除路径node_modules\@delon\theme下的node_m 阅读全文
posted @ 2022-05-19 14:08 流年sugar 阅读(803) 评论(0) 推荐(0)
摘要: 转换 1 public static string XmlPublicKeyToPem(string xmlPublicKey) 2 { 3 RSAParameters rsaParam; 4 using (RSACryptoServiceProvider rsa = new RSACryptoSe 阅读全文
posted @ 2022-05-18 19:12 流年sugar 阅读(564) 评论(0) 推荐(0)
摘要: 获取密钥并存储至密钥容器 1 /// <summary> 2 /// 生成密钥 3 /// </summary> 4 public static RSAKey GenerateRSAKey() 5 { 6 RSAKey RSAKEY = new RSAKey(); 7 //密钥存储容器 8 CspP 阅读全文
posted @ 2022-05-18 12:01 流年sugar 阅读(6098) 评论(0) 推荐(0)
摘要: 1 using (var command = CreateCommand(sql, CommandType.Text, parameters)) 2 { 3 using (var reader = await command.ExecuteReaderAsync()) 4 { 5 var list 阅读全文
posted @ 2022-05-17 11:22 流年sugar 阅读(110) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 35 下一页