Merge pull request #2560 from li-xiao-shuang/feature_nacos_examples

[ISSUE #2550] Update nacos example image
pull/2596/head
Steve Rao 3 years ago committed by GitHub
commit 797508a966
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -113,7 +113,7 @@
#### 验证自动注入
在浏览器地址栏输入 `http://127.0.0.1:18084/nacos/bean`,并点击调转,可以看到成功从 Nacos Config Server 中获取了数据。
![get](https://tva1.sinaimg.cn/large/e6c9d24ely1h29htdsg18j20jc0aigma.jpg)
![get](https://tva1.sinaimg.cn/large/e6c9d24ely1h2gbowleyrj20o40bo753.jpg)
#### 验证动态刷新
1. 执行如下命令,修改 Nacos Server 端的配置数据
@ -122,7 +122,7 @@
2. 在浏览器地址栏输入 `http://127.0.0.1:18084/nacos/bean`,并点击调转,可以看到应用从 Nacos Server 中获取了最新的数据group 变成了 DEFAULT_GROUP。
![refresh](https://tva1.sinaimg.cn/large/e6c9d24ely1h29hzf0ic4j20ks0b4mxy.jpg)
![refresh](https://tva1.sinaimg.cn/large/e6c9d24ely1h2gbpram9rj20nq0ccmxz.jpg)
## 原理

@ -116,7 +116,7 @@ Before we start the demo, let's learn how to connect Nacos Config to a Spring Cl
#### Automatic Injection
Enter `http://127.0.0.1:18084/nacos/bean` in the browser address bar and click Go to, we can see the data successfully obtained from Nacos Config Server.
![get](https://tva1.sinaimg.cn/large/e6c9d24ely1h29htdsg18j20jc0aigma.jpg)
![get](https://tva1.sinaimg.cn/large/e6c9d24ely1h2gbowleyrj20o40bo753.jpg)
#### Dynamic Refresh
1. Run the following command to modify the configuration data on the Nacos Server side.
@ -125,7 +125,7 @@ Enter `http://127.0.0.1:18084/nacos/bean` in the browser address bar and click G
2. Enter `http://127.0.0.1:18084/nacos/bean` in the address bar of the browser, and click Flip, you can see that the application has obtained the latest data from Nacos Server, and the group has become DEFAULT_GROUP.
![refresh](https://tva1.sinaimg.cn/large/e6c9d24ely1h29hzf0ic4j20ks0b4mxy.jpg)
![refresh](https://tva1.sinaimg.cn/large/e6c9d24ely1h2gbpram9rj20nq0ccmxz.jpg)
## Principle

Loading…
Cancel
Save