modidy nacos server address

This commit is contained in:
JiyangTang 2024-06-12 10:19:05 +08:00
parent 1aeb2ba020
commit 1fc53b22a7
3 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class StaticController {
@RequestMapping("/json")
@RequestMapping
public String viewJsonParseHtml() {
// 这里返回的字符串是HTML文件名不包括扩展名
return "json-parse";

View File

@ -4,10 +4,10 @@ spring:
cloud:
nacos:
discovery:
server-addr: 180.97.221.51:8848
server-addr: 117.72.78.133:8848
config:
server-addr: 180.97.221.51:8848
namespace: 1877a228-6bff-46b9-a442-829473c3adc7
server-addr: 117.72.78.133:8848
namespace: 622d03f1-aeac-430c-8361-e69a73a5c4db
file-extension: yml
refresh-enabled: true
group: DEFAULT_GROUP

View File

@ -4,10 +4,10 @@ spring:
cloud:
nacos:
discovery:
server-addr: 180.97.221.51:8848
server-addr: 127.0.0.1:8848
config:
server-addr: 180.97.221.51:8848
namespace: fe5388cc-76bc-44d6-ba20-034f97c567e5
server-addr: 127.0.0.1:8848
namespace: 636cb425-50d7-4489-a462-fd4a5be6b87d
file-extension: yml
refresh-enabled: true
group: DEFAULT_GROUP