()
| 36 | } |
| 37 | |
| 38 | func (p *PermitMiddleware) Sort() int { |
| 39 | return 99 |
| 40 | } |
| 41 | |
| 42 | func (p *PermitMiddleware) Check(method string, path string) (bool, []gin.HandlerFunc) { |
| 43 | // 当前路径是否有配置权限 |
nothing calls this directly
no outgoing calls
no test coverage detected