获奖记录修改
This commit is contained in:
parent
195ce9ff69
commit
1136da298c
|
|
@ -30,7 +30,7 @@ func (this *AwardLogManager) ModuleName() string {
|
||||||
func (this *AwardLogManager) GetAwardLog(plt string, typeId int32) map[int32]int64 {
|
func (this *AwardLogManager) GetAwardLog(plt string, typeId int32) map[int32]int64 {
|
||||||
d := PlatformMgrSingleton.GetConfig(plt).AwardItem
|
d := PlatformMgrSingleton.GetConfig(plt).AwardItem
|
||||||
ret := make(map[int32]int64)
|
ret := make(map[int32]int64)
|
||||||
if d.AwardMap[typeId] != nil {
|
if d.AwardMap != nil && d.AwardMap[typeId] != nil {
|
||||||
ret = d.AwardMap[typeId]
|
ret = d.AwardMap[typeId]
|
||||||
}
|
}
|
||||||
return ret
|
return ret
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue