只有请求头的host为localhost的才能访问。
| 12 | |
| 13 | //只有请求头的host为localhost的才能访问。 |
| 14 | type LocalhostController struct { |
| 15 | BaseController |
| 16 | } |
| 17 | |
| 18 | func (c *LocalhostController) Prepare() { |
| 19 | c.NoNeedLoginRouter = true |
nothing calls this directly
no outgoing calls
no test coverage detected