上传皮肤资源
This commit is contained in:
parent
4f92e94968
commit
d0606fdb75
@ -75,7 +75,7 @@ func (this *GM) CreateCmd(session comm.IUserSession, cmd string) (errdata *pb.Er
|
|||||||
if keys[0] == "bingo" {
|
if keys[0] == "bingo" {
|
||||||
this.Debugf("create CMD :%s", cmd) // 打印个日志方便查询
|
this.Debugf("create CMD :%s", cmd) // 打印个日志方便查询
|
||||||
datas := strings.Split(keys[1], ",")
|
datas := strings.Split(keys[1], ",")
|
||||||
if len(datas) == 3 && (comm.TitleType == datas[0] || datas[0] == comm.AttrType || datas[0] == comm.ItemType ||
|
if len(datas) == 3 && (comm.TitleType == datas[0] || comm.PerType == datas[0] || datas[0] == comm.AttrType || datas[0] == comm.ItemType ||
|
||||||
datas[0] == comm.HeroType || datas[0] == comm.EquipmentType || datas[0] == comm.VipType ||
|
datas[0] == comm.HeroType || datas[0] == comm.EquipmentType || datas[0] == comm.VipType ||
|
||||||
datas[0] == comm.AtlasType || datas[0] == comm.PandaType || datas[0] == comm.MountsType || datas[0] == comm.XxlType) {
|
datas[0] == comm.AtlasType || datas[0] == comm.PandaType || datas[0] == comm.MountsType || datas[0] == comm.XxlType) {
|
||||||
num, err := strconv.Atoi(datas[2])
|
num, err := strconv.Atoi(datas[2])
|
||||||
|
@ -185,11 +185,15 @@ func (this *configureComp) GetPlayerOverview(id string, sex int32) (configure *c
|
|||||||
ok bool
|
ok bool
|
||||||
)
|
)
|
||||||
key = fmt.Sprintf("%s%d", id, sex)
|
key = fmt.Sprintf("%s%d", id, sex)
|
||||||
|
if configure, ok = this._pInforoverview[key]; !ok {
|
||||||
|
key = fmt.Sprintf("%s%d", id, 0)
|
||||||
if configure, ok = this._pInforoverview[key]; !ok {
|
if configure, ok = this._pInforoverview[key]; !ok {
|
||||||
err = comm.NewNotFoundConfErr("用户模块", game_playerinfor_overview, key)
|
err = comm.NewNotFoundConfErr("用户模块", game_playerinfor_overview, key)
|
||||||
this.module.Errorf("err:%v", err)
|
this.module.Errorf("err:%v", err)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user