mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-20 18:47:55 +08:00
全面修正分级授权,去掉Anonymous,采用Authenticate进行授权
This commit is contained in:
@@ -20,7 +20,6 @@ namespace OpenAuth.Mvc.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
[Anonymous]
|
||||
public string Assign(string type, int firstId, string secIds)
|
||||
{
|
||||
try
|
||||
@@ -36,7 +35,6 @@ namespace OpenAuth.Mvc.Controllers
|
||||
return JsonHelper.Instance.Serialize(BjuiResponse);
|
||||
}
|
||||
[HttpPost]
|
||||
[Anonymous]
|
||||
public string UnAssign(string type, int firstId, string secIds)
|
||||
{
|
||||
try
|
||||
|
Reference in New Issue
Block a user