1 Star 0 Fork 0

yuchao / yuchao_lagou_3_5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
3.5作业讲解.md 644 Bytes
一键复制 编辑 原始数据 按行查看 历史
yuchao 提交于 2021-01-13 23:49 . 新添加的文件内容描述

1.解题思路

本阶段作业比较简单,基本按老师的步骤配置环境即可,本次在nacos中只配置了数据库参数,使用的表为3.4阶段的表,并简单配置了一个限流规则。nacos的配置信息如下,复制到配置里面即可:

validate:

minute: 1

times: 10

spring:

datasource:

​ driver-class-name: com.mysql.jdbc.Driver

​ url: jdbc:mysql://localhost:3306/lagou?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&failOverReadOnly=false&serverTimezone=UTC

​ username: root

​ password: 123456

mybatis:

mapper-locations: classpath:mapper/*.xml

马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yucaho/yuchao_lagou_3_5.git
git@gitee.com:yucaho/yuchao_lagou_3_5.git
yucaho
yuchao_lagou_3_5
yuchao_lagou_3_5
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891