摘要: pg_dump: [archiver (db)] query failed: ERROR: out of shared memory HINT: You might need to increase max_locks_per_transaction. IN ACCESS SHARE MODE 问题 阅读全文
posted @ 2022-06-16 10:46 阿牛哥不牛 阅读(2431) 评论(0) 推荐(0)
摘要: /// <summary> /// 对数字添加”,“号,可以处理负数以及带有小数的情况 /// </summary> /// <param name="money"></param> /// <returns></returns> public string FormatMoney(string m 阅读全文
posted @ 2022-03-08 10:59 阿牛哥不牛 阅读(354) 评论(0) 推荐(0)
摘要: /// <summary> /// 调用OCR API /// </summary> /// <param name="img">图片base64</param> /// <returns></returns> public static string Api(string img, string 阅读全文
posted @ 2021-09-16 12:00 阿牛哥不牛 阅读(346) 评论(0) 推荐(0)
摘要: 1.安装RabbitMQ .Net Client : 使用nuget: (www.rabbitmq.com) 2.发布 3.订阅 阅读全文
posted @ 2021-06-30 17:40 阿牛哥不牛 阅读(295) 评论(1) 推荐(0)
摘要: 配置文件: <system.web> <httpRuntime executionTimeout="300" maxRequestLength="40960" useFullyQualifiedRedirectUrl="false" /> </system.web> 后台: if (!IsPostB 阅读全文
posted @ 2021-06-30 15:40 阿牛哥不牛 阅读(101) 评论(0) 推荐(0)
摘要: if (File.Exists(FileName)) { FileInfo fileinfoo = new FileInfo(FileName); //以字符流的形式下载文件 FileStream fs = new FileStream(FileName, FileMode.Open); byte[ 阅读全文
posted @ 2021-06-30 15:19 阿牛哥不牛 阅读(217) 评论(0) 推荐(0)