24 Star 134 Fork 49

青石路/spring-boot-2.0.3

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
readme.txt 449 Bytes
一键复制 编辑 原始数据 按行查看 历史
青石路 提交于 2019-02-24 10:01 +08:00 . mycat 新增readme
http://localhost:8886/mycat/addUser?name=Jiraiye&age=50
添加一个用户
http://localhost:8886/mycat/getUserByName?name=Jiraiye
一般情况下的查询,此时请求会走mysql slave
http://localhost:8886/mycat/getUserByNameFromMasterDb?name=Jiraiye
指定查询mysql master,此时请求会走mysql master
http://localhost:8886/mycat/getUserByNameFromSlaveDb?name=Jiraiye
指定查询mysql slave,此时请求会走mysql slave
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/youzhibing/spring-boot-2.0.3.git
git@gitee.com:youzhibing/spring-boot-2.0.3.git
youzhibing
spring-boot-2.0.3
spring-boot-2.0.3
master

搜索帮助