摘要: contentType: 告诉服务器,我要发什么类型的数据 dataType: 'json',:我要接受什么类型的数据 属性 data-id=“222”; var target = e.currentTarget; target.dataset.id 值为 222。 阅读全文
posted @ 2018-05-04 16:47 Leegz 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 1.对应的Entity 2.对应Entity的Mapper column是数据库中的字段,property是Entity的定义名 阅读全文
posted @ 2018-04-24 12:01 Leegz 阅读(430) 评论(0) 推荐(0) 编辑
摘要: @Data 注解可以不用写get,set方法 @JsonProperty(“ID”) 可以让Controller层返回给Json格式时可以用 例子: 阅读全文
posted @ 2018-03-16 22:21 Leegz 阅读(596) 评论(0) 推荐(0) 编辑
摘要: ---------------------------------------1.折半查询-------------------------------------------------- public class banzhe { /* * 寻找排好序的数组中的一个值(不是排好序的用不了) * * @param array要查找的数组 *... 阅读全文
posted @ 2018-02-04 13:00 Leegz 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 1.action-sheet.html 1 1 <!DOCTYPE html> 2 2 <html> 3 3 <head> 4 4 <title>jQuery WeUI</title> 5 5 <meta charset="utf-8"> 6 6 <meta http-equiv="X-UA-Com 阅读全文
posted @ 2018-01-19 19:24 Leegz 阅读(2514) 评论(0) 推荐(0) 编辑
摘要: 2017.12.20 Python 文件I/O 1.open参数及Character作用 open(file, mode='r', buffering=None, encoding=None, errors=None, newline=None, closefd=True) Character Me 阅读全文
posted @ 2017-12-20 09:18 Leegz 阅读(195) 评论(0) 推荐(1) 编辑