打印附件调整

usertest
cjy 4 months ago
parent adac20a14f
commit 506eb8cc82

@ -22,7 +22,7 @@ public class JwtSafeMiddleware
{ {
// Console.WriteLine(context.Request.Path); // Console.WriteLine(context.Request.Path);
var path = context.Request.Path.ToString().ToLower(); var path = context.Request.Path.ToString().ToLower();
if (path.Contains("swagger") || path.Contains("login")|| path.Contains("tenantregister") || path.Contains("linkattach") || path.Contains("PrintTempFile") || path.Contains("favicon") || path.Contains("clientuserlogin") ) if (path.Contains("swagger") || path.Contains("login")|| path.Contains("tenantregister") || path.Contains("linkattach") || path.Contains("printtempfile") || path.Contains("favicon") || path.Contains("clientuserlogin") )
{ {
//跳过swagger及login //跳过swagger及login
} }

Loading…
Cancel
Save