Browse Source

迁移 README 文件中的图片到七牛云,减小仓库体积

dev
Yangkai.Shen 3 years ago
parent
commit
14bcdbc9b1
71 changed files with 53 additions and 57 deletions
  1. +1
    -1
      README.en.md
  2. +1
    -5
      README.md
  3. BIN
      assets/jdcloud.jpg
  4. BIN
      assets/jetbrains.png
  5. +4
    -4
      spring-boot-demo-dynamic-datasource/README.md
  6. BIN
      spring-boot-demo-dynamic-datasource/assets/image-20190905164824155.png
  7. BIN
      spring-boot-demo-dynamic-datasource/assets/image-20190905165240373.png
  8. BIN
      spring-boot-demo-dynamic-datasource/assets/image-20190905165323097.png
  9. BIN
      spring-boot-demo-dynamic-datasource/assets/image-20190905165350355.png
  10. +4
    -4
      spring-boot-demo-flyway/README.md
  11. BIN
      spring-boot-demo-flyway/assets/image-20200305105632047.png
  12. BIN
      spring-boot-demo-flyway/assets/image-20200305105958181.png
  13. BIN
      spring-boot-demo-flyway/assets/image-20200305110057768.png
  14. BIN
      spring-boot-demo-flyway/assets/image-20200305110147176.png
  15. +6
    -6
      spring-boot-demo-graylog/README.md
  16. BIN
      spring-boot-demo-graylog/assets/image-20190423164322865.png
  17. BIN
      spring-boot-demo-graylog/assets/image-20190423164633440.png
  18. BIN
      spring-boot-demo-graylog/assets/image-20190423164744615.png
  19. BIN
      spring-boot-demo-graylog/assets/image-20190423164748993.png
  20. BIN
      spring-boot-demo-graylog/assets/image-20190423164932488.png
  21. BIN
      spring-boot-demo-graylog/assets/image-20190423165120586.png
  22. BIN
      spring-boot-demo-graylog/assets/image-20190423165936711.png
  23. +6
    -6
      spring-boot-demo-mq-rabbitmq/README.md
  24. BIN
      spring-boot-demo-mq-rabbitmq/assets/image-20190107103229408-6828349.png
  25. BIN
      spring-boot-demo-mq-rabbitmq/assets/image-20190107103258291-6828378.png
  26. BIN
      spring-boot-demo-mq-rabbitmq/assets/image-20190107103358744-6828438.png
  27. BIN
      spring-boot-demo-mq-rabbitmq/assets/image-20190107103429430-6828469.png
  28. BIN
      spring-boot-demo-mq-rabbitmq/assets/image-20190107103451240-6828491.png
  29. BIN
      spring-boot-demo-mq-rabbitmq/assets/image-20190107103509943-6828509.png
  30. +2
    -2
      spring-boot-demo-multi-datasource-mybatis/README.md
  31. BIN
      spring-boot-demo-multi-datasource-mybatis/assets/image-20190121152825859.png
  32. BIN
      spring-boot-demo-multi-datasource-mybatis/assets/image-20190121153211509.png
  33. +1
    -1
      spring-boot-demo-neo4j/README.md
  34. BIN
      spring-boot-demo-neo4j/assets/image-20181225150513101-5721513.png
  35. +3
    -3
      spring-boot-demo-ratelimit-guava/README.md
  36. BIN
      spring-boot-demo-ratelimit-guava/assets/image-20190912155146012.png
  37. BIN
      spring-boot-demo-ratelimit-guava/assets/image-20190912155209716.png
  38. BIN
      spring-boot-demo-ratelimit-guava/assets/image-20190912155229745.png
  39. +2
    -2
      spring-boot-demo-ratelimit-redis/README.md
  40. BIN
      spring-boot-demo-ratelimit-redis/assets/image-20190930155735300.png
  41. BIN
      spring-boot-demo-ratelimit-redis/assets/image-20190930155856711.png
  42. +11
    -11
      spring-boot-demo-social/README.md
  43. BIN
      spring-boot-demo-social/assets/image-20190615165843639.png
  44. BIN
      spring-boot-demo-social/assets/image-20190617144655429.png
  45. BIN
      spring-boot-demo-social/assets/image-20190617145839851.png
  46. BIN
      spring-boot-demo-social/assets/image-20190617150903039.png
  47. BIN
      spring-boot-demo-social/assets/image-20190617151116363.png
  48. BIN
      spring-boot-demo-social/assets/image-20190617151119584.png
  49. BIN
      spring-boot-demo-social/assets/image-20190617151502414.png
  50. BIN
      spring-boot-demo-social/assets/image-20190617151623068.png
  51. BIN
      spring-boot-demo-social/assets/image-20190617151624603.png
  52. BIN
      spring-boot-demo-social/assets/image-20190617152529449.png
  53. BIN
      spring-boot-demo-social/assets/image-20190617152711938.png
  54. BIN
      spring-boot-demo-social/assets/image-20190617152805581.png
  55. BIN
      spring-boot-demo-social/assets/image-20190617153552218.png
  56. BIN
      spring-boot-demo-social/assets/image-20190617154343815.png
  57. +6
    -6
      spring-boot-demo-task-quartz/README.md
  58. BIN
      spring-boot-demo-task-quartz/assets/image-20181126171110378-3223470.png
  59. BIN
      spring-boot-demo-task-quartz/assets/image-20181126214007372-3239607.png
  60. BIN
      spring-boot-demo-task-quartz/assets/image-20181126214109926-3239669.png
  61. BIN
      spring-boot-demo-task-quartz/assets/image-20181126214138641-3239698.png
  62. BIN
      spring-boot-demo-task-quartz/assets/image-20181126214212905-3239732.png
  63. BIN
      spring-boot-demo-task-quartz/assets/image-20181126214250757-3239770.png
  64. +2
    -2
      spring-boot-demo-websocket-socketio/README.md
  65. BIN
      spring-boot-demo-websocket-socketio/assets/image-20181219152318079-5204198.png
  66. BIN
      spring-boot-demo-websocket-socketio/assets/image-20181219152330156-5204210.png
  67. +4
    -4
      spring-boot-demo-websocket/README.md
  68. BIN
      spring-boot-demo-websocket/assets/image-20181217110240322-5015760.png
  69. BIN
      spring-boot-demo-websocket/assets/image-20181217110304065-5015784.png
  70. BIN
      spring-boot-demo-websocket/assets/image-20181217110328810-5015808.png
  71. BIN
      spring-boot-demo-websocket/assets/image-20181217110336017-5015816.png

+ 1
- 1
README.en.md View File

@@ -28,7 +28,7 @@ This project has integrated actuator (`monitoring`), admin (`visual monitoring`)


## Thanks ## 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) - [Thanks MyBatisCodeHelper-Pro(The Best Code Generator Plugin) Offer Permanent Activation Code](https://gejun123456.github.io/MyBatisCodeHelper-Pro/#/?id=mybatiscodehelper-pro)


## Branch Introduction ## Branch Introduction


+ 1
- 5
README.md View File

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


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

### 广告

[![京东云主机](assets/jdcloud.jpg)](https://re.jdcloud.com/cps?returnUrl=aHR0cHM6Ly93d3cuamRjbG91ZC5jb20vY24vYWN0aXZpdHkveWVhci1lbmQ_bUlkPTE4JmNwc0tleT1iMjg2Y2Q0ZmExMWM0ODZhODU2NmUwNjc5MGQ0MzY4MA==)

BIN
assets/jdcloud.jpg View File

Before After
Width: 660  |  Height: 220  |  Size: 125 kB

BIN
assets/jetbrains.png View File

Before After
Width: 2000  |  Height: 2168  |  Size: 168 kB

+ 4
- 4
spring-boot-demo-dynamic-datasource/README.md View File

@@ -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 等工具测试 通过 PostMan 等工具测试


- 默认数据源查询 - 默认数据源查询


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


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


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


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


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


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




BIN
spring-boot-demo-dynamic-datasource/assets/image-20190905164824155.png View File

Before After
Width: 2742  |  Height: 652  |  Size: 289 kB

BIN
spring-boot-demo-dynamic-datasource/assets/image-20190905165240373.png View File

Before After
Width: 2332  |  Height: 914  |  Size: 145 kB

BIN
spring-boot-demo-dynamic-datasource/assets/image-20190905165323097.png View File

Before After
Width: 2332  |  Height: 972  |  Size: 150 kB

BIN
spring-boot-demo-dynamic-datasource/assets/image-20190905165350355.png View File

Before After
Width: 2336  |  Height: 920  |  Size: 149 kB

+ 4
- 4
spring-boot-demo-flyway/README.md View File

@@ -111,11 +111,11 @@ CREATE TABLE `t_user` (


检查数据库,发现创建了 2 张表,一张是 Flyway 依赖的历史表,另一张就是我们的 `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` 表 查看下 `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 脚本 ### 4.2. 测试 1.1 版本的 SQL 脚本


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


检查数据库,可以发现 `t_user` 表的注释已经更新 检查数据库,可以发现 `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` 表 查看下 `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%;" />


## 参考 ## 参考




BIN
spring-boot-demo-flyway/assets/image-20200305105632047.png View File

Before After
Width: 808  |  Height: 144  |  Size: 17 kB

BIN
spring-boot-demo-flyway/assets/image-20200305105958181.png View File

Before After
Width: 808  |  Height: 134  |  Size: 17 kB

BIN
spring-boot-demo-flyway/assets/image-20200305110057768.png View File

Before After
Width: 1618  |  Height: 132  |  Size: 33 kB

BIN
spring-boot-demo-flyway/assets/image-20200305110147176.png View File

Before After
Width: 1618  |  Height: 86  |  Size: 23 kB

+ 6
- 6
spring-boot-demo-graylog/README.md View File

@@ -256,23 +256,23 @@ spring:


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


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


2. 设置来源信息 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 项目 ## 6. 启动 Spring Boot 项目


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


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


## 参考 ## 参考




BIN
spring-boot-demo-graylog/assets/image-20190423164322865.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 2.1 MB

BIN
spring-boot-demo-graylog/assets/image-20190423164633440.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 411 kB

BIN
spring-boot-demo-graylog/assets/image-20190423164744615.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 304 kB

BIN
spring-boot-demo-graylog/assets/image-20190423164748993.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 304 kB

BIN
spring-boot-demo-graylog/assets/image-20190423164932488.png View File

Before After
Width: 2880  |  Height: 1800  |  Size: 424 kB

BIN
spring-boot-demo-graylog/assets/image-20190423165120586.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 442 kB

BIN
spring-boot-demo-graylog/assets/image-20190423165936711.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 536 kB

+ 6
- 6
spring-boot-demo-mq-rabbitmq/README.md View File

@@ -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.#` #### RoutingKey:`queue.#`


![image-20190107103358744](assets/image-20190107103358744-6828438.png)
![image-20190107103358744](http://static.xkcoding.com/spring-boot-demo/mq/rabbitmq/063316.jpg)


#### RoutingKey:`*.queue` #### 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` #### 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)


## 参考 ## 参考




BIN
spring-boot-demo-mq-rabbitmq/assets/image-20190107103229408-6828349.png View File

Before After
Width: 2160  |  Height: 82  |  Size: 36 kB

BIN
spring-boot-demo-mq-rabbitmq/assets/image-20190107103258291-6828378.png View File

Before After
Width: 2156  |  Height: 124  |  Size: 64 kB

BIN
spring-boot-demo-mq-rabbitmq/assets/image-20190107103358744-6828438.png View File

Before After
Width: 2156  |  Height: 114  |  Size: 64 kB

BIN
spring-boot-demo-mq-rabbitmq/assets/image-20190107103429430-6828469.png View File

Before After
Width: 2152  |  Height: 44  |  Size: 31 kB

BIN
spring-boot-demo-mq-rabbitmq/assets/image-20190107103451240-6828491.png View File

Before After
Width: 2160  |  Height: 84  |  Size: 58 kB

BIN
spring-boot-demo-mq-rabbitmq/assets/image-20190107103509943-6828509.png View File

Before After
Width: 2156  |  Height: 246  |  Size: 118 kB

+ 2
- 2
spring-boot-demo-multi-datasource-mybatis/README.md View File

@@ -368,11 +368,11 @@ public class UserServiceImplTest extends SpringBootDemoMultiDatasourceMybatisApp


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


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


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


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


> 生产环境需要搭建 **主从复制** > 生产环境需要搭建 **主从复制**




BIN
spring-boot-demo-multi-datasource-mybatis/assets/image-20190121152825859.png View File

Before After
Width: 2796  |  Height: 594  |  Size: 145 kB

BIN
spring-boot-demo-multi-datasource-mybatis/assets/image-20190121153211509.png View File

Before After
Width: 2800  |  Height: 624  |  Size: 196 kB

+ 1
- 1
spring-boot-demo-neo4j/README.md View File

@@ -329,7 +329,7 @@ public class Neo4jTest extends SpringBootDemoNeo4jApplicationTests {


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


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








BIN
spring-boot-demo-neo4j/assets/image-20181225150513101-5721513.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 543 kB

+ 3
- 3
spring-boot-demo-ratelimit-guava/README.md View File

@@ -200,15 +200,15 @@ public class TestController {


- test1 接口未被限流的时候 - 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 接口频繁刷新,触发限流的时候 - 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 接口不做限流,可以一直刷新 - 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. 参考 ## 3. 参考




BIN
spring-boot-demo-ratelimit-guava/assets/image-20190912155146012.png View File

Before After
Width: 952  |  Height: 302  |  Size: 44 kB

BIN
spring-boot-demo-ratelimit-guava/assets/image-20190912155209716.png View File

Before After
Width: 958  |  Height: 304  |  Size: 49 kB

BIN
spring-boot-demo-ratelimit-guava/assets/image-20190912155229745.png View File

Before After
Width: 962  |  Height: 268  |  Size: 36 kB

+ 2
- 2
spring-boot-demo-ratelimit-redis/README.md View File

@@ -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 的数据 - 触发限流的时候 Redis 的数据


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


## 3. 参考 ## 3. 参考




BIN
spring-boot-demo-ratelimit-redis/assets/image-20190930155735300.png View File

Before After
Width: 2200  |  Height: 1644  |  Size: 350 kB

BIN
spring-boot-demo-ratelimit-redis/assets/image-20190930155856711.png View File

Before After
Width: 2160  |  Height: 700  |  Size: 302 kB

+ 11
- 11
spring-boot-demo-social/README.md View File

@@ -110,7 +110,7 @@ https://github.com/xkcoding/act-justauth-demo


前往阿里云DNS解析,将域名解析到我们的公网服务器上,比如我的就是将 `oauth.xkcoding.com -> 120.92.169.103` 前往阿里云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代理 ### 1.4. nginx代理


@@ -171,14 +171,14 @@ $ nginx -s reload
2. 申请开发者 2. 申请开发者
3. 应用管理 -> 添加网站应用,等待审核通过即可 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.5.2. GitHub平台申请


1. 前往 https://github.com/settings/developers 1. 前往 https://github.com/settings/developers
2. 点击 `New OAuth App` 按钮创建应用 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 微信开放平台申请 #### 1.5.3 微信开放平台申请


@@ -193,31 +193,31 @@ $ 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.5.4. 谷歌开放平台申请


1. 前往 https://console.developers.google.com/projectcreate 创建项目 1. 前往 https://console.developers.google.com/projectcreate 创建项目
2. 前往 https://console.developers.google.com/apis/credentials ,在第一步创建的项目下,添加应用 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.5.5. 微软开放平台申请


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


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


3. client id 在这里 3. client id 在这里


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


4. client secret 需要自己在这里生成 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.5.6. 小米开放平台申请


@@ -225,11 +225,11 @@ $ nginx -s reload
2. 前往 https://dev.mi.com/passport/oauth2/applist 添加oauth应用,选择 `创建网页应用` 2. 前往 https://dev.mi.com/passport/oauth2/applist 添加oauth应用,选择 `创建网页应用`
3. 填写基本信息之后,进入应用信息页面填写 `回调地址` 3. 填写基本信息之后,进入应用信息页面填写 `回调地址`


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


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


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


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




BIN
spring-boot-demo-social/assets/image-20190615165843639.png View File

Before After
Width: 2424  |  Height: 468  |  Size: 118 kB

BIN
spring-boot-demo-social/assets/image-20190617144655429.png View File

Before After
Width: 1080  |  Height: 1404  |  Size: 185 kB

BIN
spring-boot-demo-social/assets/image-20190617145839851.png View File

Before After
Width: 1244  |  Height: 1538  |  Size: 320 kB

BIN
spring-boot-demo-social/assets/image-20190617150903039.png View File

Before After
Width: 1382  |  Height: 1438  |  Size: 262 kB

BIN
spring-boot-demo-social/assets/image-20190617151116363.png View File

Before After
Width: 1370  |  Height: 774  |  Size: 128 kB

BIN
spring-boot-demo-social/assets/image-20190617151119584.png View File

Before After
Width: 1370  |  Height: 774  |  Size: 128 kB

BIN
spring-boot-demo-social/assets/image-20190617151502414.png View File

Before After
Width: 2872  |  Height: 1540  |  Size: 333 kB

BIN
spring-boot-demo-social/assets/image-20190617151623068.png View File

Before After
Width: 2254  |  Height: 972  |  Size: 132 kB

BIN
spring-boot-demo-social/assets/image-20190617151624603.png View File

Before After
Width: 2254  |  Height: 972  |  Size: 132 kB

BIN
spring-boot-demo-social/assets/image-20190617152529449.png View File

Before After
Width: 2368  |  Height: 1442  |  Size: 365 kB

BIN
spring-boot-demo-social/assets/image-20190617152711938.png View File

Before After
Width: 2428  |  Height: 1464  |  Size: 274 kB

BIN
spring-boot-demo-social/assets/image-20190617152805581.png View File

Before After
Width: 2430  |  Height: 518  |  Size: 100 kB

BIN
spring-boot-demo-social/assets/image-20190617153552218.png View File

Before After
Width: 1466  |  Height: 768  |  Size: 211 kB

BIN
spring-boot-demo-social/assets/image-20190617154343815.png View File

Before After
Width: 1568  |  Height: 488  |  Size: 143 kB

+ 6
- 6
spring-boot-demo-task-quartz/README.md View File

@@ -145,15 +145,15 @@ spring:
3. 启动 `SpringBootDemoTaskQuartzApplication.java` 3. 启动 `SpringBootDemoTaskQuartzApplication.java`
4. 打开浏览器,查看 http://localhost:8080/demo/job.html 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)


## 参考 ## 参考


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


- 关于Quartz定时任务状态 (在 `QRTZ_TRIGGERS` 表中的 `TRIGGER_STATE` 字段) - 关于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/ - Vue.js 官方文档:https://cn.vuejs.org/v2/guide/




BIN
spring-boot-demo-task-quartz/assets/image-20181126171110378-3223470.png View File

Before After
Width: 715  |  Height: 606  |  Size: 104 kB

BIN
spring-boot-demo-task-quartz/assets/image-20181126214007372-3239607.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 203 kB

BIN
spring-boot-demo-task-quartz/assets/image-20181126214109926-3239669.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 220 kB

BIN
spring-boot-demo-task-quartz/assets/image-20181126214138641-3239698.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 273 kB

BIN
spring-boot-demo-task-quartz/assets/image-20181126214212905-3239732.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 246 kB

BIN
spring-boot-demo-task-quartz/assets/image-20181126214250757-3239770.png View File

Before After
Width: 2160  |  Height: 922  |  Size: 521 kB

+ 2
- 2
spring-boot-demo-websocket-socketio/README.md View File

@@ -315,9 +315,9 @@ public class ServerRunner implements CommandLineRunner {


## 3. 运行效果 ## 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. 参考 ## 4. 参考




BIN
spring-boot-demo-websocket-socketio/assets/image-20181219152318079-5204198.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 344 kB

BIN
spring-boot-demo-websocket-socketio/assets/image-20181219152330156-5204210.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 428 kB

+ 4
- 4
spring-boot-demo-websocket/README.md View File

@@ -365,13 +365,13 @@ public class ServerTask {


## 3. 运行效果 ## 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. 参考 ## 4. 参考




BIN
spring-boot-demo-websocket/assets/image-20181217110240322-5015760.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 224 kB

BIN
spring-boot-demo-websocket/assets/image-20181217110304065-5015784.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 299 kB

BIN
spring-boot-demo-websocket/assets/image-20181217110328810-5015808.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 310 kB

BIN
spring-boot-demo-websocket/assets/image-20181217110336017-5015816.png View File

Before After
Width: 2880  |  Height: 1754  |  Size: 266 kB

Loading…
Cancel
Save