会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Leegz
博客园
首页
新随笔
联系
订阅
管理
2018年5月4日
ajax请求中contentType与dataType含义【data-id,target.dataset.id,var target = e.currentTarget;】
摘要: contentType: 告诉服务器,我要发什么类型的数据 dataType: 'json',:我要接受什么类型的数据 属性 data-id=“222”; var target = e.currentTarget; target.dataset.id 值为 222。
阅读全文
posted @ 2018-05-04 16:47 Leegz
阅读(348)
评论(0)
推荐(0)
2018年4月24日
mybatis-<resultMap><association></association></resultMap>-多对一
摘要: 1.对应的Entity 2.对应Entity的Mapper column是数据库中的字段,property是Entity的定义名
阅读全文
posted @ 2018-04-24 12:01 Leegz
阅读(444)
评论(0)
推荐(0)
2018年3月16日
SpringBoot中返回Json(@Data,@JsonProperty(“ID”),org.springframework.beans.BeanUtils)
摘要: @Data 注解可以不用写get,set方法 @JsonProperty(“ID”) 可以让Controller层返回给Json格式时可以用 例子:
阅读全文
posted @ 2018-03-16 22:21 Leegz
阅读(692)
评论(0)
推荐(0)
2018年2月4日
折半查找
摘要: ---------------------------------------1.折半查询-------------------------------------------------- public class banzhe { /* * 寻找排好序的数组中的一个值(不是排好序的用不了) * * @param array要查找的数组 *...
阅读全文
posted @ 2018-02-04 13:00 Leegz
阅读(117)
评论(0)
推荐(0)
2018年1月19日
Jquery weui学习
摘要: 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
阅读(2533)
评论(0)
推荐(0)
2017年12月20日
2017.12.20 Python 文件I/O
摘要: 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
阅读(215)
评论(0)
推荐(1)
公告