[feat] 添加 GetRoutes 方法
This commit is contained in:
		
							parent
							
								
									44fe134a72
								
							
						
					
					
						commit
						efb2586c5e
					
				@ -21,3 +21,6 @@ type Route struct {
 | 
				
			|||||||
	UpdatedAt              string                 `db:"updated_at"`
 | 
						UpdatedAt              string                 `db:"updated_at"`
 | 
				
			||||||
	CreatedAt              string                 `db:"created_at"`
 | 
						CreatedAt              string                 `db:"created_at"`
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					// 前端路由
 | 
				
			||||||
 | 
					type GetRoutes func(platform string, roles ...string) []Route
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user