😎修复bug
This commit is contained in:
parent
fff4cca1bd
commit
ea78c0c3aa
@ -61,7 +61,7 @@ public class SuperApiAop : DefaultSuperApiAop
|
|||||||
var paths = api?.Url?.Split('/');
|
var paths = api?.Url?.Split('/');
|
||||||
var actionName = paths?[^1];
|
var actionName = paths?[^1];
|
||||||
|
|
||||||
var userManager = LazyHelper.GetService<UserManager>().Value;
|
var userManager = LazyHelper.GetService<UserManager>();
|
||||||
var apiInfo = new
|
var apiInfo = new
|
||||||
{
|
{
|
||||||
requestUrl = api?.Url,
|
requestUrl = api?.Url,
|
||||||
@ -79,13 +79,13 @@ public class SuperApiAop : DefaultSuperApiAop
|
|||||||
{
|
{
|
||||||
new
|
new
|
||||||
{
|
{
|
||||||
type = userManager?.Account,
|
type = userManager?.Value.Account,
|
||||||
value = userManager?.RealName
|
value = userManager?.Value.RealName
|
||||||
},
|
},
|
||||||
new
|
new
|
||||||
{
|
{
|
||||||
type = userManager?.RealName,
|
type = userManager?.Value.RealName,
|
||||||
value = userManager?.RealName
|
value = userManager?.Value.RealName
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
exception = aopContext.Exception == null ? null : JSON.Serialize(aopContext.Exception)
|
exception = aopContext.Exception == null ? null : JSON.Serialize(aopContext.Exception)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user