mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	切换语言时保存更长时间
This commit is contained in:
		@@ -27,6 +27,7 @@ func (this *SwitchAction) RunPost(params struct{}) {
 | 
				
			|||||||
		Name:   "edgelang",
 | 
							Name:   "edgelang",
 | 
				
			||||||
		Value:  langCode,
 | 
							Value:  langCode,
 | 
				
			||||||
		Path:   "/",
 | 
							Path:   "/",
 | 
				
			||||||
 | 
							MaxAge: 86400 * 365,
 | 
				
			||||||
	})
 | 
						})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	this.Success()
 | 
						this.Success()
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user