Some checks failed
		
		
	
	Build / build (push) Has been cancelled
				
			CodeQL / Analyze (go) (push) Has been cancelled
				
			build / Build (push) Has been cancelled
				
			GitHub Actions Mirror / mirror_to_gitee (push) Has been cancelled
				
			GitHub Actions Mirror / mirror_to_gitlab (push) Has been cancelled
				
			Issue Close Require / issue-close-require (push) Has been cancelled
				
			Issue Check Inactive / issue-check-inactive (push) Has been cancelled
				
			
		
			
				
	
	
		
			16 lines
		
	
	
		
			511 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			511 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package models
 | 
						|
 | 
						|
type SysApi struct {
 | 
						|
	Id     int    `json:"id" gorm:"primaryKey;autoIncrement;comment:主键编码"`
 | 
						|
	Handle string `json:"handle" gorm:"size:128;comment:handle"`
 | 
						|
	Title  string `json:"title" gorm:"size:128;comment:标题"`
 | 
						|
	Path   string `json:"path" gorm:"size:128;comment:地址"`
 | 
						|
	Type   string `json:"type" gorm:"size:16;comment:接口类型"`
 | 
						|
	Action string `json:"action" gorm:"size:16;comment:请求类型"`
 | 
						|
	ModelTime
 | 
						|
	ControlBy
 | 
						|
}
 | 
						|
 | 
						|
func (SysApi) TableName() string {
 | 
						|
	return "sys_api"
 | 
						|
} |