异步调用 session push
This commit is contained in:
parent
8b26e067ea
commit
bc97b6dcca
@ -82,6 +82,7 @@ func (this *ModuleSys) CheckOpenCond(session comm.IUserSession, itype comm.Openc
|
||||
if list, err = this.modelSys.GetOpenCondList(session.GetUserId()); err != nil {
|
||||
return
|
||||
}
|
||||
defer session.Push()
|
||||
update = make(map[string]interface{})
|
||||
switch itype {
|
||||
case comm.OpencondTypePlatlv:
|
||||
@ -114,6 +115,7 @@ func (this *ModuleSys) CheckOpenCond(session comm.IUserSession, itype comm.Openc
|
||||
if err = this.modelSys.ChangeOpenCondData(session.GetUserId(), update); err != nil {
|
||||
this.Errorf("ChangeOpenCondData error: %v", err)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// 功能开启条件校验
|
||||
|
Loading…
Reference in New Issue
Block a user