如何优雅的兼容旧项目 URL/路由 #3299
huangdijia
started this conversation in
Show and tell
Replies: 1 comment
-
代码要改成这样,不然你没办法 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
前提
需求
旧项目中请求链接为传统的方式:
新项目路由是:
思路
代码
Beta Was this translation helpful? Give feedback.
All reactions