Warning: Declaration of news::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 8

Warning: Declaration of hot::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 22

Warning: Declaration of random::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 36

Warning: Declaration of comments::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 50

Warning: Declaration of recommend::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 64

Warning: Declaration of categories_s::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 78

Warning: Declaration of rcategory::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 92

Warning: Declaration of ads::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 106

Warning: Declaration of tags::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 120

Warning: Declaration of swt_tab1::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 135

Warning: Declaration of ad1::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 149

Warning: Declaration of top_comments::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 163

Warning: Declaration of search_g::widget($instance) should be compatible with WP_Widget::widget($args, $instance) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/widget.php on line 177
码农备忘录 | 一个程序员大叔的自留地

Warning: Use of undefined constant news - assumed 'news' (this will throw an Error in a future version of PHP) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/slider.php on line 8
热 点 推 荐

Warning: Use of undefined constant news - assumed 'news' (this will throw an Error in a future version of PHP) in /www/wwwroot/code.zuifengyun.com/wp-content/themes/FengYun/includes/hot_n.php on line 6
博友大全-博友互访平台
FengYun主题
HuiSir制作主题一览
+0°
后端

JAVA如果用MyBatis-Plus的话,还要用JOIN-SQL方式联查吗

2026年04月12日 ⁄ 共 2984字
不需要。用 MyBatis-Plus 完全可以实现,而且更优雅。​ 一般不需要写原生 JOIN 的 SQL。因为一般的联查和串联查询性能差距不是很大。 不需要。用 MyBatis-Plus 完全可以实现,而且更优雅。​ 不需要写原生 JOIN 的 SQL。 推荐做法:MyBatis-Plus 关联查询 你可以用 Service 层封装关联查询,或者直接用 MyBatis-Plus 的...
+阅读全文

博友大全-博友互访平台

+0°
开发相关

wordpress阻止任何形式的纯英文机器人

2026年04月12日 ⁄ 共 1558字
最近醉风云博客主站遭受很多英文垃圾评论,每个几天就有上千条,很烦。 开启评论审核 ≠ 阻止数据库写入,这正是 WordPress 的“设计缺陷”。垃圾评论虽然显示“待审核”,但实际上已经写入数据库,占用空间、拖慢网站、暴露漏洞。 在“写入数据库”时,WordPress 并没有真正的过滤机制。 看了一下相关的垃圾评论插件,没有更好...
+阅读全文
+0°
前端

vue3 通过 ref 获取标签(DOM 元素或组件)的ts类型是什么

2025年07月10日 ⁄ 共 1210字
在 Vue3 中使用 TypeScript 时,通过 ref 获取标签(包括 DOM 元素或组件实例)的 TypeScript 类型定义需根据场景区分: 1. 获取 DOM 元素的类型 若 ref 绑定的是原生 DOM 元素(如 <div>、<input>),需使用 HTML 元素的内置类型: import { ref } from 'vue'; // 示例:获取 div 元素 const divRef =...
+阅读全文
杂志

如何保障前端代码质量和规范化

2022年09月20日 暂无评论
1. 制定公司的前端代码规范标准 可以借鉴腾讯前端和百度前端代码规范 html规范 js规范(书写、换行、缩进、标点) css规范 ...
共有128篇文章 更 多
共有128篇文章 更 多
共有128篇文章 更 多
共有128篇文章 更 多