-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
移动前端api 怎么实现 #155
Comments
应该也是一样写,在 auth 和 casbin 中间件里面SkippedPathPrefixes配置跳过你 api 的路由就好了, 如果有需要你再自己写个中间件来单独处理你移动端的 API 的参数校验之类的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
现有的生成的模块 都生成在mods下,前端生成后 , 走得中间件 和解析的userid. 不是 前端用户的数据 怎么能更好的处理?
The text was updated successfully, but these errors were encountered: