!34 异常企业微信通知新增IP显示

Merge pull request !34 from 字母搬运工/net7.0
This commit is contained in:
字母搬运工 2023-06-05 12:48:24 +00:00 committed by Gitee
commit fdef53f2a5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -119,7 +119,8 @@ namespace ZR.Admin.WebApi.Middleware
context.Response.ContentType = "text/json;charset=utf-8";
await context.Response.WriteAsync(responseResult, System.Text.Encoding.UTF8);
string errorMsg = $"> 操作人:{sysOperLog.OperName} {sysOperLog.OperLocation}" +
string errorMsg = $"> 操作人:{sysOperLog.OperName}" +
$"\n> 操作地区:{sysOperLog.OperIp}({sysOperLog.OperLocation})" +
$"\n> 操作模块:{sysOperLog.Title}" +
$"\n> 操作地址:{sysOperLog.OperUrl}" +
$"\n> 错误信息:{msg}\n\n> {error}";