gm 辉月等级

This commit is contained in:
meixiongfeng 2024-02-18 15:21:37 +08:00
parent 2998555e67
commit 646d475c96

View File

@ -114,5 +114,7 @@ func (this *Moonlv) GMCreateMoonlv(session comm.IUserSession, lv int32) {
if lv <= 0 {
return
}
this.modelMoonlv.modifyMoonlvList(session.GetUserId(), map[string]interface{}{"lv": lv})
if _, err := this.modelMoonlv.module.configure.GetMoonLvConf(lv + 1); err == nil {
this.modelMoonlv.modifyMoonlvList(session.GetUserId(), map[string]interface{}{"cid": lv + 1})
}
}