Skip to content

你好,关于重写路由后默认路由仍然有效的问题 #550

Description

@lushaoming

我现在想用\Yaf\Route\Regex重写路由问题,而不想使用默认的路由。
我配置了路由规则为user/([0-9]+),访问/user/1的时候是正确的,但是我访问/user/getList的时候仍然可以访问,我想让/user/getList无法访问,应该怎么做?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions