2025年2月7日
摘要: 先上图,结果如图 先去官方网站充值api费用,默认 对应的C#代码封装 1 public class DeepSeekHelper 2 { 3 private static readonly HttpClient client = new HttpClient(); 4 private const 阅读全文
posted @ 2025-02-07 14:05 火星大能猫 阅读(1551) 评论(1) 推荐(10) 编辑
  2024年10月31日
摘要: 取消勾选 enable JavaScript source map 阅读全文
posted @ 2024-10-31 14:57 火星大能猫 阅读(76) 评论(0) 推荐(0) 编辑
  2024年8月2日
摘要: 1 安装ftp软件 yum install vsftpd* -y 2 配置服务启动 #启用 firewalld 服务 systemctl start vsftpd.service #开启vsftpd服务 这条命令设置 firewalld 服务在系统启动时自动启动。systemctl enable 命 阅读全文
posted @ 2024-08-02 11:35 火星大能猫 阅读(68) 评论(0) 推荐(0) 编辑
  2024年7月10日
摘要: .Net Core WebApi项目 Development模式下报错 System.InvalidOperationException:“Cannot resolve scoped service 'Microsoft.Extensions.Options.IOptionsSnapshot`1[I 阅读全文
posted @ 2024-07-10 11:33 火星大能猫 阅读(86) 评论(0) 推荐(0) 编辑
  2024年6月19日
摘要: 废话不多说(主要文笔比较差),直接上代码 一个简单的demo,如下 <img :src="orginalImgSrc" style="display: none;" crossOrigin="Anonymous" @load="imgLoaded"> vue代码 imgLoaded(e) { deb 阅读全文
posted @ 2024-06-19 16:56 火星大能猫 阅读(391) 评论(1) 推荐(0) 编辑
  2024年5月11日
摘要: 效果如图 实现了绘图,自适应缩放 核心代码如下 <Window.InputBindings> <KeyBinding Key="Z" Modifiers="Ctrl" Command="{Binding UndoCommand}" /> </Window.InputBindings> <i:Inte 阅读全文
posted @ 2024-05-11 13:47 火星大能猫 阅读(1527) 评论(0) 推荐(0) 编辑
  2024年4月12日
摘要: 自定义泛型用户控件: <UserControl x:Class="ClassLibrary1.UcEumCmb" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.mic 阅读全文
posted @ 2024-04-12 15:29 火星大能猫 阅读(106) 评论(0) 推荐(1) 编辑
  2023年11月29日
摘要: 首先是表结构,部分字段脱敏已删除 CREATE TABLE `log_device_heart` ( `id` int unsigned NOT NULL AUTO_INCREMENT, `device_number` varchar(255) CHARACTER SET utf8mb4 COLLA 阅读全文
posted @ 2023-11-29 15:50 火星大能猫 阅读(325) 评论(0) 推荐(0) 编辑
  2023年11月17日
摘要: public static String ToChineseYearAndMonth(this DateTime dt) { string[] chineseNumbers = { "零", "一", "二", "三", "四", "五", "六", "七", "八", "九" }; // 将年份和 阅读全文
posted @ 2023-11-17 11:22 火星大能猫 阅读(203) 评论(0) 推荐(0) 编辑
  2023年7月24日
摘要: .net core 7.0+centos 7.0 cetnos目前运行在hyper V虚拟机里 虚拟机部署的注意事项 1 需要配置网络环境, 确保在同一局域网下 如果sftp无法连接 ctrl+shift+f2切换到命令行,开启22端口 iptables -I INPUT -p tcp --dpor 阅读全文
posted @ 2023-07-24 13:35 火星大能猫 阅读(2364) 评论(9) 推荐(1) 编辑

点击右上角即可分享
微信分享提示