切换语言时保存更长时间

This commit is contained in:
GoEdgeLab
2023-12-12 22:28:17 +08:00
parent a0edb5a8f8
commit 38f40a154b

View File

@@ -27,6 +27,7 @@ func (this *SwitchAction) RunPost(params struct{}) {
Name: "edgelang",
Value: langCode,
Path: "/",
MaxAge: 86400 * 365,
})
this.Success()