上传日常触发机制
This commit is contained in:
parent
30718e0758
commit
f162e9685f
@ -8,6 +8,7 @@ import (
|
||||
"go_dreamfactory/modules"
|
||||
"go_dreamfactory/pb"
|
||||
"go_dreamfactory/sys/configure"
|
||||
"go_dreamfactory/sys/db"
|
||||
"go_dreamfactory/utils"
|
||||
)
|
||||
|
||||
@ -63,6 +64,11 @@ func (this *Dailytask) EventUserLogin(session comm.IUserSession) {
|
||||
tasks map[int32][]int32
|
||||
err error
|
||||
)
|
||||
|
||||
if db.IsCross() { //跨服不支持
|
||||
return
|
||||
}
|
||||
|
||||
if dtask, err = this.modelDailytask.getUserDTasks(session.GetUserId()); err != nil {
|
||||
this.Errorln(err)
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user