caipin 4 gadi atpakaļ
vecāks
revīzija
10bab75ad4
1 mainītis faili ar 7 papildinājumiem un 1 dzēšanām
  1. 7 1
      conf/redis.go

+ 7 - 1
conf/redis.go

@@ -1,3 +1,9 @@
+/*
+ * @description: 
+ * @Author: CP
+ * @Date: 2021-01-27 10:57:57
+ * @FilePath: \construction_management\conf\redis.go
+ */
 package conf
 
 type RdsConfig struct {
@@ -11,7 +17,7 @@ type RdsConfig struct {
 // 系统中用到的所有redis缓存资源
 var RdsCacheList = []RdsConfig{
 	{
-		Host:      "127.0.0.1",
+		Host:      "192.168.1.26",
 		Port:      6379,
 		User:      "",
 		Pwd:       "",