当http://example.com/api/users/1/action/save 变成 http://example.com/api/users/:userId/action/save 的时候会出现报错
应该是ok的。
您当前是什么版本,方便的话添加 qq3257132998 帮您看下
只服务于
前后端、移动端、测试人员