mirror of
				https://github.com/TeaOSLab/EdgeAPI.git
				synced 2025-11-04 07:50:25 +08:00 
			
		
		
		
	增加一些表设计
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
package models
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// HTTP缓存策略
 | 
			
		||||
type HTTPCachePolicy struct {
 | 
			
		||||
	Id                       uint32 `field:"id"`                       // ID
 | 
			
		||||
	AdminId                  uint32 `field:"adminId"`                  // 管理员ID
 | 
			
		||||
@@ -16,8 +16,8 @@ type HTTPCachePolicy struct {
 | 
			
		||||
	SkipCacheControlValues   string `field:"skipCacheControlValues"`   // 忽略的cache-control
 | 
			
		||||
	SkipSetCookie            uint8  `field:"skipSetCookie"`            // 是否忽略Set-Cookie Header
 | 
			
		||||
	EnableRequestCachePragma uint8  `field:"enableRequestCachePragma"` // 是否支持客户端的Pragma: no-cache
 | 
			
		||||
	Cond                     string `field:"cond"`                     // 请求条件
 | 
			
		||||
	CreatedAt                uint32 `field:"createdAt"`                // 创建时间
 | 
			
		||||
	Conds                    string `field:"conds"`                    // 请求条件
 | 
			
		||||
	CreatedAt                uint64 `field:"createdAt"`                // 创建时间
 | 
			
		||||
	State                    uint8  `field:"state"`                    // 状态
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -36,7 +36,7 @@ type HTTPCachePolicyOperator struct {
 | 
			
		||||
	SkipCacheControlValues   interface{} // 忽略的cache-control
 | 
			
		||||
	SkipSetCookie            interface{} // 是否忽略Set-Cookie Header
 | 
			
		||||
	EnableRequestCachePragma interface{} // 是否支持客户端的Pragma: no-cache
 | 
			
		||||
	Cond                     interface{} // 请求条件
 | 
			
		||||
	Conds                    interface{} // 请求条件
 | 
			
		||||
	CreatedAt                interface{} // 创建时间
 | 
			
		||||
	State                    interface{} // 状态
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user