增加跨域配置,以及增加配置说明

This commit is contained in:
2020-02-20 14:20:56 +08:00
parent 9070bd2fe7
commit 0f29b3304e
23 changed files with 255 additions and 144 deletions
+2 -2
View File
@@ -12,10 +12,10 @@ type SessionIns struct {
func (this *SessionIns) set() {
if this.ShortCache != nil {
this.ShortCache.Cache(HEAD_SESSION_ADD + this.SessionId, this.Map)
this.ShortCache.Cache(HEAD_SESSION_ADD+this.SessionId, this.Map)
}
if this.LongCache != nil {
this.LongCache.Cache(HEAD_SESSION_ADD + this.SessionId, this.Map)
this.LongCache.Cache(HEAD_SESSION_ADD+this.SessionId, this.Map)
}
}