摘要: ## dao整合mybatis 1. 添加依赖 2. 写公共接口 3. 继承接口 在子类中引入父类 ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115212529658-1528481599.jpg) 引入依赖m 阅读全文
posted @ 2019-11-15 21:26 程序员子枫 阅读(155) 评论(0) 推荐(0) 编辑
摘要: ``` /** * 求两个已知经纬度之间的距离,单位为米 * * @param lng1 $ ,lng2 经度 * @param lat1 $ ,lat2 纬度 * @return float 距离,单位米 * @author www.Alixixi.com */ function getdista 阅读全文
posted @ 2019-11-15 21:23 程序员子枫 阅读(146) 评论(0) 推荐(0) 编辑
摘要: ## 避免本地重复输入账号密码 ``` git config --global credential.helper store 执行命令: git config --global credential.helper store git pull 输入你的用户名和密码store模式会存储 查看系统存储 阅读全文
posted @ 2019-11-15 21:20 程序员子枫 阅读(182) 评论(0) 推荐(0) 编辑
摘要: ## 下载 https://www.workerman.net/download ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115211643965-1334042730.jpg) 或者使用composer ` 阅读全文
posted @ 2019-11-15 21:17 程序员子枫 阅读(159) 评论(0) 推荐(0) 编辑
摘要: ``` $slat = $banner_content['jd']; $slng = $banner_content['wd']; $sql = "select *, acos( sin(($slng*3.1415)/180) * sin((wd*3.1415)/180) + cos(($slng* 阅读全文
posted @ 2019-11-15 21:14 程序员子枫 阅读(277) 评论(0) 推荐(0) 编辑
摘要: ### 创建项目 1. 新建一个空白项目 2. 创建父工程 选中Maven 不要勾选任何框架->com.zf.edu common-parent ![](https://img2018.cnblogs.com/blog/1648143/201911/1648143-20191115210729375 阅读全文
posted @ 2019-11-15 21:08 程序员子枫 阅读(100) 评论(0) 推荐(0) 编辑
摘要: ![]()## 阿里云![]()## 阿里云 ``` # 替换brew.git cd "$(brew --repo)" git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git # 替换homebrew-core.g 阅读全文
posted @ 2019-11-15 20:50 程序员子枫 阅读(2188) 评论(0) 推荐(0) 编辑