izhaorui / Zr.Admin.NET

🎉ZR.Admin.NET是一款前后端分离的、跨平台基于RBAC的通用权限管理后台。ORM采用SqlSugar。前端采用Vue、AntDesign,支持多租户、缓存、任务调度、支持统一异常处理、接口限流、支持一键生成前后端代码,支持动态国际化翻译(Vue3),等诸多黑科技,代码简洁易懂、易扩展让开发更简单、更通用。
http://www.izhaorui.cn
MIT License
738 stars 82 forks source link

允许用户拥有多个角色 #11

Closed samisgod closed 2 years ago

samisgod commented 2 years ago

在开发版的swagger页面,在线测试调用API时,因为做了proxy( dev-api -> 8888 ),swagger在显示页面时生成的api调用地址会变成类似localhost:8887/login这样

这个修复会判断用户的访问来源,如果来自/dev-api/地址,会处理地址为类似localhost:8887/dev-api/login的形式

在 2021-12-22 18:19:22,"izhaorui" @.***> 写道:

swagger调用路径临时修复 这个是修复什么?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>