wangshan 1 éve
szülő
commit
08062c4ac9
1 módosított fájl, 4 hozzáadás és 4 törlés
  1. 4 4
      jyBXBase/rpc/internal/config/config.go

+ 4 - 4
jyBXBase/rpc/internal/config/config.go

@@ -25,10 +25,10 @@ type Config struct {
 	}
 	}
 }
 }
 type CacheConfig struct {
 type CacheConfig struct {
-	Key                string // 缓存key
-	Timeout            int    // 缓存时间
-	CacheUpdateKey     string //
-	CacheUpdateTimeout int    //
+	Key                string `json:"Key,optional"`                // 缓存key
+	Timeout            int    `json:"Timeout,optional"`            // 缓存时间
+	CacheUpdateKey     string `json:"CacheUpdateKey,optional"`     //
+	CacheUpdateTimeout int    `json:"CacheUpdateTimeout,optional"` //
 
 
 }
 }
 type Db struct {
 type Db struct {