This commit is contained in:
aozhiwei 2024-04-27 08:34:23 +08:00
parent f3581e0a25
commit cc26a2dd31
2 changed files with 8 additions and 3 deletions

View File

@ -35,7 +35,7 @@ func (this *mailMgr) UnInit() {
func (this *mailMgr) loadMails() { func (this *mailMgr) loadMails() {
f5.GetSysLog().Info("mailMgr.loadMails begin") f5.GetSysLog().Info("mailMgr.loadMails begin")
nowTime := f5.GetApp().GetNowSeconds() nowTime := f5.GetApp().GetNowSeconds()
lastIdx := f5.GetJsStyleDb().SyncBatchLoadFullTable( lastIdx := f5.GetGoStyleDb().SyncBatchLoadFullTable(
constant.MAIL_DB, constant.MAIL_DB,
"SELECT * FROM t_mail WHERE idx > %d AND deleted = 0 AND expiretime > " + q5.ToString(nowTime), "SELECT * FROM t_mail WHERE idx > %d AND deleted = 0 AND expiretime > " + q5.ToString(nowTime),
func (ds *f5.DataSet) { func (ds *f5.DataSet) {
@ -53,7 +53,7 @@ func (this *mailMgr) loadMails() {
func (this *mailMgr) loadGroups() { func (this *mailMgr) loadGroups() {
f5.GetSysLog().Info("mailMgr.loadGroups begin") f5.GetSysLog().Info("mailMgr.loadGroups begin")
lastIdx := f5.GetJsStyleDb().SyncBatchLoadFullTable( lastIdx := f5.GetGoStyleDb().SyncBatchLoadFullTable(
constant.MAIL_DB, constant.MAIL_DB,
"SELECT * FROM t_group WHERE idx > %d AND deleted = 0", "SELECT * FROM t_group WHERE idx > %d AND deleted = 0",
func (ds *f5.DataSet) { func (ds *f5.DataSet) {
@ -75,7 +75,7 @@ func (this *mailMgr) loadGroups() {
func (this *mailMgr) loadGroupMembers() { func (this *mailMgr) loadGroupMembers() {
f5.GetSysLog().Info("mailMgr.loadGroupMembers begin") f5.GetSysLog().Info("mailMgr.loadGroupMembers begin")
lastIdx := f5.GetJsStyleDb().SyncBatchLoadFullTable( lastIdx := f5.GetGoStyleDb().SyncBatchLoadFullTable(
constant.MAIL_DB, constant.MAIL_DB,
"SELECT * FROM t_member WHERE idx > %d AND deleted = 0", "SELECT * FROM t_member WHERE idx > %d AND deleted = 0",
func (ds *f5.DataSet) { func (ds *f5.DataSet) {

View File

@ -2,6 +2,7 @@ package player
import ( import (
"sync" "sync"
"main/common"
) )
type playerMgr struct { type playerMgr struct {
@ -13,3 +14,7 @@ func (this *playerMgr) Init() {
func (this *playerMgr) UnInit() { func (this *playerMgr) UnInit() {
} }
func (this *playerMgr) GetPlayerByAccountId() common.Player {
return nil
}