摘要: {{# layui.each(d.roles, function(index, item){ }} <span class="layui-badge layui-bg-blue">{{ item.roleName}}</span> {{# }); }} 阅读全文
posted @ 2020-08-06 11:21 执笔coding 阅读(8326) 评论(0) 推荐(1) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>距离计算</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link re 阅读全文
posted @ 2020-08-06 11:19 执笔coding 阅读(1457) 评论(0) 推荐(0) 编辑
摘要: <foreach collection="packages" item="p" separator=";"> update package set package_name = #{p.packageName}, package_content = #{p.packageContent} where 阅读全文
posted @ 2020-08-03 13:51 执笔coding 阅读(238) 评论(0) 推荐(0) 编辑
摘要: /** * aop增强,用于处理每个操作前操作角色身份的确认 */ @Slf4j @Component @Aspect public class RoleCheckAspect { /** * 定义切入点,切入点为com.example.demo.aop.AopController中的所有函数 *通 阅读全文
posted @ 2020-07-23 18:12 执笔coding 阅读(408) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ type: "POST", url:"url", data:$('#form').serialize(),// 序列化表单值 async: false, error: function(request) { //失败的话 }, success: function(data) { } 阅读全文
posted @ 2020-07-22 10:32 执笔coding 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 请求工具类 import org.apache.http.conn.ssl.SSLConnectionSocketFactory; import org.apache.http.impl.client.HttpClients; import org.apache.http.ssl.SSLContex 阅读全文
posted @ 2020-05-19 09:41 执笔coding 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-15 12:24 执笔coding 阅读(507) 评论(0) 推荐(0) 编辑
摘要: ./consul agent -dev -client 0.0.0.0 -ui & 阅读全文
posted @ 2020-03-21 11:12 执笔coding 阅读(7420) 评论(0) 推荐(0) 编辑
摘要: 使用zset集合,命令如下 ZRANGE salary 0 -1 WITHSCORES # 递增排列 ZREVRANGE salary 0 -1 WITHSCORES # 递减排列 自定义一个数值区间排序 zrevrangebyscroe [set] [max] [min] 阅读全文
posted @ 2020-03-18 17:08 执笔coding 阅读(611) 评论(0) 推荐(0) 编辑
摘要: Executors提供了三个经典的线程池创建方式 ExecutorService threadPool = Executors.newFixedThreadPool(int) ExecutorService threadPool = Executors.newSingleThreadPool()Ex 阅读全文
posted @ 2020-03-16 11:43 执笔coding 阅读(874) 评论(1) 推荐(0) 编辑