修改发布参数
							parent
							
								
									b1c0933428
								
							
						
					
					
						commit
						fc579d9cf4
					
				| 
						 | 
					@ -41,7 +41,8 @@
 | 
				
			||||||
    "OpenLoginLimit": true,
 | 
					    "OpenLoginLimit": true,
 | 
				
			||||||
    "LoginMaxFailCount": 5,
 | 
					    "LoginMaxFailCount": 5,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    "LoginFailLockMinutes": 30
 | 
					    "LoginFailLockMinutes": 30,
 | 
				
			||||||
 | 
					    "AutoLoginOutMinutes": 60
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "SystemEmailSendConfig": {
 | 
					  "SystemEmailSendConfig": {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -42,7 +42,8 @@
 | 
				
			||||||
    "OpenLoginLimit": true,
 | 
					    "OpenLoginLimit": true,
 | 
				
			||||||
    "LoginMaxFailCount": 5,
 | 
					    "LoginMaxFailCount": 5,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    "LoginFailLockMinutes": 30
 | 
					    "LoginFailLockMinutes": 30,
 | 
				
			||||||
 | 
					    "AutoLoginOutMinutes": 60
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  "SystemEmailSendConfig": {
 | 
					  "SystemEmailSendConfig": {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -60,7 +60,8 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    "LoginMaxFailCount": 5,
 | 
					    "LoginMaxFailCount": 5,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    "LoginFailLockMinutes": 30
 | 
					    "LoginFailLockMinutes": 30,
 | 
				
			||||||
 | 
					    "AutoLoginOutMinutes": 60
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  "SystemEmailSendConfig": {
 | 
					  "SystemEmailSendConfig": {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -44,7 +44,8 @@
 | 
				
			||||||
    "OpenLoginLimit": true,
 | 
					    "OpenLoginLimit": true,
 | 
				
			||||||
    "LoginMaxFailCount": 5,
 | 
					    "LoginMaxFailCount": 5,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    "LoginFailLockMinutes": 30
 | 
					    "LoginFailLockMinutes": 30,
 | 
				
			||||||
 | 
					    "AutoLoginOutMinutes": 60
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "SystemEmailSendConfig": {
 | 
					  "SystemEmailSendConfig": {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -83,6 +83,8 @@ public class LimitUserRequestAuthorization : IAsyncAuthorizationFilter
 | 
				
			||||||
                    //过期了 需要自动退出
 | 
					                    //过期了 需要自动退出
 | 
				
			||||||
                    if(string.IsNullOrEmpty(cacheTime))
 | 
					                    if(string.IsNullOrEmpty(cacheTime))
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
 | 
					                        context.HttpContext.Response.ContentType = "application/json";
 | 
				
			||||||
 | 
					                        context.HttpContext.Response.StatusCode = StatusCodes.Status200OK;
 | 
				
			||||||
                        context.Result = new JsonResult(ResponseOutput.NotOk("登录无操作超时自动退出"), ApiResponseCodeEnum.AutoLoginOut);
 | 
					                        context.Result = new JsonResult(ResponseOutput.NotOk("登录无操作超时自动退出"), ApiResponseCodeEnum.AutoLoginOut);
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
                    else
 | 
					                    else
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue