How to solve this problem, using thinkphp5
Simple rewrite rules
Whether the routing address is registered
Whether it has permission