diff --git a/modules/island/api_upgrade.go b/modules/island/api_upgrade.go index 7ef2952a9..244c0b15d 100644 --- a/modules/island/api_upgrade.go +++ b/modules/island/api_upgrade.go @@ -16,8 +16,8 @@ func (this *apiComp) UpgradeCheck(session comm.IUserSession, req *pb.IsLandUpgra func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.IsLandUpgradeReq) (errdata *pb.ErrorData) { var ( info *pb.DBIsland - conf *cfg.GamePuggsySkillData - front *cfg.GamePuggsySkillData + conf *cfg.GameHoroscopeData + front *cfg.GameHoroscopeData err error ) if errdata = this.UpgradeCheck(session, req); errdata != nil { diff --git a/modules/island/configure.go b/modules/island/configure.go index 22f92ae9d..ecdce37dd 100644 --- a/modules/island/configure.go +++ b/modules/island/configure.go @@ -81,7 +81,7 @@ func (this *ConfigureComp) getGamePuggsyFightData(id int32) (configure *cfg.Game } //技能节点 -func (this *ConfigureComp) getGamePuggsySkillData(id int32) (configure *cfg.GamePuggsySkillData, err error) { +func (this *ConfigureComp) getGamePuggsySkillData(id int32) (configure *cfg.GameHoroscopeData, err error) { var ( v interface{} ok bool @@ -90,7 +90,7 @@ func (this *ConfigureComp) getGamePuggsySkillData(id int32) (configure *cfg.Game this.module.Errorf("err:%v", err) return } else { - if configure, ok = v.(*cfg.GamePuggsySkill).GetDataMap()[id]; !ok { + if configure, ok = v.(*cfg.GameHoroscope).GetDataMap()[id]; !ok { err = fmt.Errorf("no found Material:%d configure", id) this.module.Errorf("err:%v", err) return