Browse Source

feat:更新

wangshan 1 năm trước cách đây
mục cha
commit
08062c4ac9
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  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 {
-	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 {