Skip to content

Commit

Permalink
⚡ 迁移 README 文件中的图片到七牛云,减小仓库体积
Browse files Browse the repository at this point in the history
  • Loading branch information
xkcoding committed Oct 13, 2020
1 parent 6ac47e3 commit 14bcdbc
Show file tree
Hide file tree
Showing 71 changed files with 53 additions and 57 deletions.
2 changes: 1 addition & 1 deletion README.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This project has integrated actuator (`monitoring`), admin (`visual monitoring`)
## Thanks

- <a href="https://www.jetbrains.com/?from=spring-boot-demo"><img src="assets/jetbrains.png" width="100px" alt="jetbrains">**Thanks JetBrains Offer Open Source Free License**</a>
- <a href="https://www.jetbrains.com/?from=spring-boot-demo"><img src="http://static.xkcoding.com/spring-boot-demo/064312.jpg" width="100px" alt="jetbrains">**Thanks JetBrains Offer Open Source Free License**</a>
- [Thanks MyBatisCodeHelper-Pro(The Best Code Generator Plugin) Offer Permanent Activation Code](https://gejun123456.github.io/MyBatisCodeHelper-Pro/#/?id=mybatiscodehelper-pro)

## Branch Introduction
Expand Down
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
## 感谢

- <a href="https://www.jetbrains.com/?from=spring-boot-demo"><img src="assets/jetbrains.png" width="100px" alt="jetbrains">**感谢 JetBrains 提供的免费开源 License**</a>
- <a href="https://www.jetbrains.com/?from=spring-boot-demo"><img src="http://static.xkcoding.com/spring-boot-demo/064312.jpg" width="100px" alt="jetbrains">**感谢 JetBrains 提供的免费开源 License**</a>

- [感谢史上最牛的代码生成插件 MyBatisCodeHelper-Pro 提供的永久激活码](https://gejun123456.github.io/MyBatisCodeHelper-Pro/#/?id=mybatiscodehelper-pro)

Expand Down Expand Up @@ -375,7 +375,3 @@ Copyright (c) 2018 Yangkai.Shen
- `awesome-collector`https://github.com/P-P-X/awesome-collector
- `SpringBlade`:完整的线上解决方案(企业开发必备),https://github.com/chillzhuang/SpringBlade
- `Pig`:宇宙最强微服务认证授权脚手架(架构师必备),https://github.com/pigxcloud/pig

### 广告

[![京东云主机](assets/jdcloud.jpg)](https://re.jdcloud.com/cps?returnUrl=aHR0cHM6Ly93d3cuamRjbG91ZC5jb20vY24vYWN0aXZpdHkveWVhci1lbmQ_bUlkPTE4JmNwc0tleT1iMjg2Y2Q0ZmExMWM0ODZhODU2NmUwNjc5MGQ0MzY4MA==)
Binary file removed assets/jdcloud.jpg
Binary file not shown.
Binary file removed assets/jetbrains.png
Binary file not shown.
8 changes: 4 additions & 4 deletions spring-boot-demo-dynamic-datasource/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -549,21 +549,21 @@ public class SpringBootDemoDynamicDatasourceApplication implements CommandLineRu

启动项目,可以看到控制台读取到数据库已配置的数据源信息

![image-20190905164824155](assets/image-20190905164824155.png)
![image-20190905164824155](http://static.xkcoding.com/spring-boot-demo/dynamic-datasource/062351.png)

通过 PostMan 等工具测试

- 默认数据源查询

![image-20190905165240373](assets/image-20190905165240373.png)
![image-20190905165240373](http://static.xkcoding.com/spring-boot-demo/dynamic-datasource/062353.png)

- 根据数据源id为1的数据源查询

![image-20190905165323097](assets/image-20190905165323097.png)
![image-20190905165323097](http://static.xkcoding.com/spring-boot-demo/dynamic-datasource/062354.png)

- 根据数据源id为2的数据源查询

![image-20190905165350355](assets/image-20190905165350355.png)
![image-20190905165350355](http://static.xkcoding.com/spring-boot-demo/dynamic-datasource/062355.png)

- 可以通过测试数据源的`增加/删除`,再去查询对应数据源的数据

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions spring-boot-demo-flyway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ CREATE TABLE `t_user` (

检查数据库,发现创建了 2 张表,一张是 Flyway 依赖的历史表,另一张就是我们的 `t_user`

<img src="assets/image-20200305105632047.png" alt="image-20200305105632047" style="zoom:50%;" />
<img src="http://static.xkcoding.com/spring-boot-demo/flyway/062903.jpg" alt="image-20200305105632047" style="zoom:50%;" />

查看下 `flyway-schema-history`

<img src="assets/image-20200305110147176.png" alt="image-20200305110147176" style="zoom:50%;" />
<img src="http://static.xkcoding.com/spring-boot-demo/flyway/062901.jpg" alt="image-20200305110147176" style="zoom:50%;" />

### 4.2. 测试 1.1 版本的 SQL 脚本

Expand All @@ -140,11 +140,11 @@ ALTER TABLE t_user COMMENT = '用户 v1.1';

检查数据库,可以发现 `t_user` 表的注释已经更新

<img src="assets/image-20200305105958181.png" alt="image-20200305105958181" style="zoom:50%;" />
<img src="http://static.xkcoding.com/spring-boot-demo/flyway/062851.jpg" alt="image-20200305105958181" style="zoom:50%;" />

查看下 `flyway-schema-history`

<img src="assets/image-20200305110057768.png" alt="image-20200305110057768" style="zoom:50%;" />
<img src="http://static.xkcoding.com/spring-boot-demo/flyway/062908.jpg" alt="image-20200305110057768" style="zoom:50%;" />

## 参考

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 6 additions & 6 deletions spring-boot-demo-graylog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -256,23 +256,23 @@ spring:

输入 `docker-compose.yml` 里配置的 `用户名/密码` 信息

![登录graylog](assets/image-20190423164322865.png)
![登录graylog](http://static.xkcoding.com/spring-boot-demo/graylog/063124.jpg)

2. 设置来源信息

![设置Inputs](assets/image-20190423164633440.png)
![设置Inputs](http://static.xkcoding.com/spring-boot-demo/graylog/063125.jpg)

![image-20190423164748993](assets/image-20190423164748993.png)
![image-20190423164748993](http://static.xkcoding.com/spring-boot-demo/graylog/063121-1.jpg)

![image-20190423164932488](assets/image-20190423164932488.png)
![image-20190423164932488](http://static.xkcoding.com/spring-boot-demo/graylog/063121.jpg)

![image-20190423165120586](assets/image-20190423165120586.png)
![image-20190423165120586](http://static.xkcoding.com/spring-boot-demo/graylog/063122.jpg)

## 6. 启动 Spring Boot 项目

启动成功后,返回graylog页面查看日志信息

![image-20190423165936711](assets/image-20190423165936711.png)
![image-20190423165936711](http://static.xkcoding.com/spring-boot-demo/graylog/063123.jpg)

## 参考

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 6 additions & 6 deletions spring-boot-demo-mq-rabbitmq/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -518,29 +518,29 @@ public class SpringBootDemoMqRabbitmqApplicationTests {
### 直接模式
![image-20190107103229408](assets/image-20190107103229408-6828349.png)
![image-20190107103229408](http://static.xkcoding.com/spring-boot-demo/mq/rabbitmq/063315-1.jpg)
### 分列模式
![image-20190107103258291](assets/image-20190107103258291-6828378.png)
![image-20190107103258291](http://static.xkcoding.com/spring-boot-demo/mq/rabbitmq/063315.jpg)
### 主题模式
#### RoutingKey:`queue.#`
![image-20190107103358744](assets/image-20190107103358744-6828438.png)
![image-20190107103358744](http://static.xkcoding.com/spring-boot-demo/mq/rabbitmq/063316.jpg)
#### RoutingKey:`*.queue`
![image-20190107103429430](assets/image-20190107103429430-6828469.png)
![image-20190107103429430](http://static.xkcoding.com/spring-boot-demo/mq/rabbitmq/063312.jpg)
#### RoutingKey:`3.queue`
![image-20190107103451240](assets/image-20190107103451240-6828491.png)
![image-20190107103451240](http://static.xkcoding.com/spring-boot-demo/mq/rabbitmq/063313.jpg)
### 延迟队列
![image-20190107103509943](assets/image-20190107103509943-6828509.png)
![image-20190107103509943](http://static.xkcoding.com/spring-boot-demo/mq/rabbitmq/063314.jpg)
## 参考
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions spring-boot-demo-multi-datasource-mybatis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,11 @@ public class UserServiceImplTest extends SpringBootDemoMultiDatasourceMybatisApp

******建议** 只执行 **INSERT** **UPDATE** **DELETE** 操作

![image-20190121153211509](assets/image-20190121153211509.png)
![image-20190121153211509](http://static.xkcoding.com/spring-boot-demo/multi-datasource/mybatis/063506.jpg)

******建议** 只执行 **SELECT** 操作

![image-20190121152825859](assets/image-20190121152825859.png)
![image-20190121152825859](http://static.xkcoding.com/spring-boot-demo/multi-datasource/mybatis/063505.jpg)

> 生产环境需要搭建 **主从复制**
Expand Down
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion spring-boot-demo-neo4j/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public class Neo4jTest extends SpringBootDemoNeo4jApplicationTests {

运行测试类之后,可以通过访问 http://localhost:7474 ,查看neo里所有节点和关系

![image-20181225150513101](assets/image-20181225150513101-5721513.png)
![image-20181225150513101](http://static.xkcoding.com/spring-boot-demo/neo4j/063605.jpg)



Expand Down
Diff not rendered.
6 changes: 3 additions & 3 deletions spring-boot-demo-ratelimit-guava/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,15 +200,15 @@ public class TestController {

- test1 接口未被限流的时候

<img src="assets/image-20190912155209716.png" alt="image-20190912155209716" style="zoom:50%;" />
<img src="http://static.xkcoding.com/spring-boot-demo/ratelimit/guava/063719.jpg" alt="image-20190912155209716" style="zoom:50%;" />

- test1 接口频繁刷新,触发限流的时候

<img src="assets/image-20190912155229745.png" alt="image-20190912155229745" style="zoom:50%;" />
<img src="http://static.xkcoding.com/spring-boot-demo/ratelimit/guava/063718-1.jpg" alt="image-20190912155229745" style="zoom:50%;" />

- test2 接口不做限流,可以一直刷新

<img src="assets/image-20190912155146012.png" alt="image-20190912155146012" style="zoom:50%;" />
<img src="http://static.xkcoding.com/spring-boot-demo/ratelimit/guava/063718.jpg" alt="image-20190912155146012" style="zoom:50%;" />

## 3. 参考

Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
4 changes: 2 additions & 2 deletions spring-boot-demo-ratelimit-redis/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,11 +284,11 @@ public class TestController {

- 触发限流时控制台打印

![image-20190930155856711](assets/image-20190930155856711.png)
![image-20190930155856711](http://static.xkcoding.com/spring-boot-demo/ratelimit/redis/063812.jpg)

- 触发限流的时候 Redis 的数据

![image-20190930155735300](assets/image-20190930155735300.png)
![image-20190930155735300](http://static.xkcoding.com/spring-boot-demo/ratelimit/redis/063813.jpg)

## 3. 参考

Expand Down
Diff not rendered.
Diff not rendered.
22 changes: 11 additions & 11 deletions spring-boot-demo-social/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ https://github.com/xkcoding/act-justauth-demo

前往阿里云DNS解析,将域名解析到我们的公网服务器上,比如我的就是将 `oauth.xkcoding.com -> 120.92.169.103`

![image-20190615165843639](assets/image-20190615165843639.png)
![image-20190615165843639](http://static.xkcoding.com/spring-boot-demo/social/063923.jpg)

### 1.4. nginx代理

Expand Down Expand Up @@ -171,14 +171,14 @@ $ nginx -s reload
2. 申请开发者
3. 应用管理 -> 添加网站应用,等待审核通过即可

![image-20190617144655429](assets/image-20190617144655429.png)
![image-20190617144655429](http://static.xkcoding.com/spring-boot-demo/social/063921-1.jpg)

#### 1.5.2. GitHub平台申请

1. 前往 https://github.com/settings/developers
2. 点击 `New OAuth App` 按钮创建应用

![image-20190617145839851](assets/image-20190617145839851.png)
![image-20190617145839851](http://static.xkcoding.com/spring-boot-demo/social/063919.jpg)

#### 1.5.3 微信开放平台申请

Expand All @@ -193,43 +193,43 @@ $ nginx -s reload

因此这里我就贴出一张授权回调的地址作参考。

![image-20190617153552218](assets/image-20190617153552218.png)
![image-20190617153552218](http://static.xkcoding.com/spring-boot-demo/social/063927-1.jpg)

#### 1.5.4. 谷歌开放平台申请

1. 前往 https://console.developers.google.com/projectcreate 创建项目
2. 前往 https://console.developers.google.com/apis/credentials ,在第一步创建的项目下,添加应用

![image-20190617151119584](assets/image-20190617151119584.png)
![image-20190617151119584](http://static.xkcoding.com/spring-boot-demo/social/063920.jpg)

![image-20190617150903039](assets/image-20190617150903039.png)
![image-20190617150903039](http://static.xkcoding.com/spring-boot-demo/social/063922.jpg)

#### 1.5.5. 微软开放平台申请

1. 前往 https://portal.azure.com/#blade/Microsoft_AAD_RegisteredApps/ApplicationsListBlade 注册应用
2. 在注册应用的时候就需要填写回调地址,当然后期也可以重新修改

![image-20190617152529449](assets/image-20190617152529449.png)
![image-20190617152529449](http://static.xkcoding.com/spring-boot-demo/social/063921.jpg)

3. client id 在这里

![image-20190617152805581](assets/image-20190617152805581.png)
![image-20190617152805581](http://static.xkcoding.com/spring-boot-demo/social/063927.jpg)

4. client secret 需要自己在这里生成

![image-20190617152711938](assets/image-20190617152711938.png)
![image-20190617152711938](http://static.xkcoding.com/spring-boot-demo/social/063924.jpg)

#### 1.5.6. 小米开放平台申请

1. 申请小米开发者,审核通过
2. 前往 https://dev.mi.com/passport/oauth2/applist 添加oauth应用,选择 `创建网页应用`
3. 填写基本信息之后,进入应用信息页面填写 `回调地址`

![image-20190617151502414](assets/image-20190617151502414.png)
![image-20190617151502414](http://static.xkcoding.com/spring-boot-demo/social/063924-1.jpg)

4. 应用审核通过之后,可以在应用信息页面的 `应用详情` 查看到 AppKey 和 AppSecret,吐槽下,小米应用的审核速度特别慢,需要耐心等待。。。。

![image-20190617151624603](assets/image-20190617151624603.png)
![image-20190617151624603](http://static.xkcoding.com/spring-boot-demo/social/063926.jpg)

#### 1.5.7. 企业微信平台申请

Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
12 changes: 6 additions & 6 deletions spring-boot-demo-task-quartz/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ spring:
3. 启动 `SpringBootDemoTaskQuartzApplication.java`
4. 打开浏览器,查看 http://localhost:8080/demo/job.html

![image-20181126214007372](assets/image-20181126214007372-3239607.png)
![image-20181126214007372](http://static.xkcoding.com/spring-boot-demo/task/quartz/064006-1.jpg)

![image-20181126214109926](assets/image-20181126214109926-3239669.png)
![image-20181126214109926](http://static.xkcoding.com/spring-boot-demo/task/quartz/064008.jpg)

![image-20181126214212905](assets/image-20181126214212905-3239732.png)
![image-20181126214212905](http://static.xkcoding.com/spring-boot-demo/task/quartz/064009-1.jpg)

![image-20181126214138641](assets/image-20181126214138641-3239698.png)
![image-20181126214138641](http://static.xkcoding.com/spring-boot-demo/task/quartz/064009.jpg)

![image-20181126214250757](assets/image-20181126214250757-3239770.png)
![image-20181126214250757](http://static.xkcoding.com/spring-boot-demo/task/quartz/064007.jpg)

## 参考

Expand All @@ -165,7 +165,7 @@ spring:

- 关于Quartz定时任务状态 (在 `QRTZ_TRIGGERS` 表中的 `TRIGGER_STATE` 字段)

![image-20181126171110378](assets/image-20181126171110378-3223470.png)
![image-20181126171110378](http://static.xkcoding.com/spring-boot-demo/task/quartz/064006.jpg)

- Vue.js 官方文档:https://cn.vuejs.org/v2/guide/

Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
4 changes: 2 additions & 2 deletions spring-boot-demo-websocket-socketio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@ public class ServerRunner implements CommandLineRunner {

## 3. 运行效果

**浏览器1:**![image-20181219152318079](assets/image-20181219152318079-5204198.png)
**浏览器1:**![image-20181219152318079](http://static.xkcoding.com/spring-boot-demo/websocket/socketio/064155.jpg)

**浏览器2:**![image-20181219152330156](assets/image-20181219152330156-5204210.png)
**浏览器2:**![image-20181219152330156](http://static.xkcoding.com/spring-boot-demo/websocket/socketio/064154.jpg)

## 4. 参考

Expand Down
Diff not rendered.
Diff not rendered.
8 changes: 4 additions & 4 deletions spring-boot-demo-websocket/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -365,13 +365,13 @@ public class ServerTask {

## 3. 运行效果

![image-20181217110240322](assets/image-20181217110240322-5015760.png)
![image-20181217110240322](http://static.xkcoding.com/spring-boot-demo/websocket/064107.jpg)

![image-20181217110304065](assets/image-20181217110304065-5015784.png)
![image-20181217110304065](http://static.xkcoding.com/spring-boot-demo/websocket/064108.jpg)

![image-20181217110328810](assets/image-20181217110328810-5015808.png)
![image-20181217110328810](http://static.xkcoding.com/spring-boot-demo/websocket/064109.jpg)

![image-20181217110336017](assets/image-20181217110336017-5015816.png)
![image-20181217110336017](http://static.xkcoding.com/spring-boot-demo/websocket/064109-1.jpg)

## 4. 参考

Expand Down
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.

0 comments on commit 14bcdbc

Please sign in to comment.