Comments (9)
你是我的项目拉下来直接跑就有这样的问题,还是你改造后出现的?
from antmgr.
没有改造,在增加功能的时候创建了一个新用户以后测试出来的,原有的底层这块没改动过
from antmgr.
我刚刚对照着我写的wiki
https://github.com/yuzd/AntMgr/wiki/1.%E5%BC%80%E5%8F%91%E4%B8%80%E4%B8%AA%E5%85%B7%E4%BD%93%E6%9D%83%E9%99%90%E6%8E%A7%E5%88%B6%E7%9A%84helloworld%E9%A1%B5%E9%9D%A2
测试了一遍 没有问题。
from antmgr.
from antmgr.
我是在用户登录的时候出现的这个问题,不是在我新增的功能里出现的,加上了 [AuthorizeFilter]标签就会一直循环returnUrl这个参数,我目前的状况就是新增了一个用户配置好权限,然后用这个用户登录,点击登录以后就又跳到登录页面。在debug的时候发现新增的这个用户cookie是没有写入到浏览器里的,在拦截器里会拦截掉,然后又跳到登录页面
from antmgr.
这是我用上帝模式的用户和新增的一个用户调用登录接口返回到前端的时候的截图
from antmgr.
那肯定是你没有按照wiki给这个用户配置角色吧?
你根据wiki来的嘛?
from antmgr.
是按照wiki上的步骤添加的,前端按钮有添加约定的action-id,action-name,display:none后端的controller有添加标签AuthorizeFilter,还是没有cookie,ready:function(){ auth();}这个段也有
from antmgr.
有空你家我qq 1877682825
from antmgr.
Related Issues (10)
- 登录异常,这是什么原因啊 HOT 1
- 要同時使用多個數據庫連線該怎麼用? HOT 2
- 再次打擾 HOT 3
- 数据库可否给全一点 HOT 11
- MS SQL 脚本初始化问题 HOT 4
- 缺少SystemMenu和SystemUsers引用 HOT 6
- 什么时候升级到.netcore3.1 HOT 2
- DbModel新增model耦合性有点高 HOT 2
- 升级到3.1以后cookie为空 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antmgr.