Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
parent
8c15368877
commit
5f79123811
@ -178,5 +178,25 @@
|
|||||||
"text": "商会管理员"
|
"text": "商会管理员"
|
||||||
},
|
},
|
||||||
"duration": 720
|
"duration": 720
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "Drivethemail",
|
||||||
|
"title": {
|
||||||
|
"key": "MailTitle_Drivethemail",
|
||||||
|
"text": "好友木桩驱赶邮件"
|
||||||
|
},
|
||||||
|
"recipient": {
|
||||||
|
"key": "MailRecipient_Drivethemail",
|
||||||
|
"text": "亲爱的玩家:"
|
||||||
|
},
|
||||||
|
"content": {
|
||||||
|
"key": "MailContent_Drivethemail",
|
||||||
|
"text": "好友已将您的英雄遣送返回,特此告知"
|
||||||
|
},
|
||||||
|
"sender": {
|
||||||
|
"key": "MailSender_Drivethemail",
|
||||||
|
"text": "系统"
|
||||||
|
},
|
||||||
|
"duration": 720
|
||||||
}
|
}
|
||||||
]
|
]
|
@ -84,7 +84,7 @@ func (this *configureComp) Init(service core.IService, module core.IModule, comp
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
err = fmt.Errorf("%T no is *cfg.Game_drawCard", v)
|
err = fmt.Errorf("%T no is *cfg.GameHeroAwaken", v)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -817,12 +817,14 @@ func (this *ModelHero) createHero(session comm.IUserSession, heroCfgId string, c
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
if this.moduleHero.IsCross() {
|
if this.moduleHero.IsCross() {
|
||||||
if dbModel, err := this.moduleHero.GetDBModuleByUid(uid, this.TableName, this.Expired); err != nil {
|
if dbModel, err1 := this.moduleHero.GetDBModuleByUid(uid, this.TableName, this.Expired); err1 == nil {
|
||||||
this.moduleHero.Errorln(err)
|
|
||||||
} else {
|
|
||||||
if err = dbModel.GetList(uid, &heros); err != nil {
|
if err = dbModel.GetList(uid, &heros); err != nil {
|
||||||
this.moduleHero.Errorf("err:%v", err)
|
this.moduleHero.Errorf("err:%v", err)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
this.moduleHero.Errorln(err) // 获取跨服对象失败
|
||||||
|
return
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if err = this.GetList(uid, &heros); err != nil {
|
if err = this.GetList(uid, &heros); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user