摘要: GitHub:https://github.com/xueqiu/rdr 场景:最近Redis爆满, 但是不清楚具体哪些键占用的空间较多, 是否有设置过期时间等情况 1.下载软件 windows:https://github.com/xueqiu/rdr/releases/download/v0.0 阅读全文
posted @ 2022-01-17 15:48 X-Wolf 阅读(402) 评论(0) 推荐(0) 编辑
摘要: 1.默认框架接收的是x-www-format-unencode格式的数据,如果想要接收text/json格式的数据,会为空,这个时候需要在配置文件中添加对应的配置项 config > main.php commonents: 'request' => [ 'enableCookieValidatio 阅读全文
posted @ 2022-01-17 15:35 X-Wolf 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 1.字段支持下拉搜索框 1)在admin中新增字段autocomplete_fields autocomplete_fields = ("field1","field2") 注意:field1,field2字段需要的是外键字段 2)field1,field2字段需要在model中添加类属性searc 阅读全文
posted @ 2022-01-17 11:41 X-Wolf 阅读(218) 评论(0) 推荐(0) 编辑