摘要: 1. redis-cli 命令操作帮助说明 C:\Program Files\Redis>redis-cli.exe --help redis-cli 3.2.100 Usage: redis-cli [OPTIONS] [cmd [arg [arg ...]]] -h <hostname> Ser 阅读全文
posted @ 2020-09-03 21:13 林宇风 阅读(1937) 评论(0) 推荐(0) 编辑
摘要: 原文地址: https://www.cnblogs.com/gmq-sh/p/5942065.html /** * 根据属性名获取属性值 * */ private Object getFieldValueByName(String fieldName, Object o) { try { Strin 阅读全文
posted @ 2020-09-03 21:03 林宇风 阅读(5239) 评论(0) 推荐(0) 编辑
摘要: SQL Server: SELECT TOP 10 * FROM T_USER ORDER BY NEWID() MySQL: SELECT * FROM T_USER ORDER BY RAND() LIMIT 10 参考: https://blog.csdn.net/heqiang000/art 阅读全文
posted @ 2020-09-03 20:43 林宇风 阅读(510) 评论(0) 推荐(0) 编辑
摘要: 报错: Content type 'text/plain;charset=UTF-8' not supported @RequestMapping("test") public Result test(@RequestBody ProtalQuery query) { ... return Resu 阅读全文
posted @ 2020-09-03 20:40 林宇风 阅读(5150) 评论(0) 推荐(0) 编辑