补充错误日志
This commit is contained in:
parent
b671dccd5b
commit
02563dfcb6
@ -15,7 +15,7 @@ import (
|
||||
"go.mongodb.org/mongo-driver/x/bsonx"
|
||||
)
|
||||
|
||||
///熊猫武馆数据表
|
||||
// /熊猫武馆数据表
|
||||
type modelPandata struct {
|
||||
modules.MCompModel
|
||||
module *Practice
|
||||
@ -32,7 +32,7 @@ func (this *modelPandata) Init(service core.IService, module core.IModule, comp
|
||||
return
|
||||
}
|
||||
|
||||
///询用户的练功房信息
|
||||
// /询用户的练功房信息
|
||||
func (this *modelPandata) queryUserMartialhall(uid string) (result *pb.DBPracticeRoom, err error) {
|
||||
result = &pb.DBPracticeRoom{}
|
||||
if err = this.Get(uid, result); err != nil && err != mgo.MongodbNil {
|
||||
@ -64,6 +64,7 @@ func (this *modelPandata) queryUserMartialhall(uid string) (result *pb.DBPractic
|
||||
return
|
||||
}
|
||||
if err = this.module.atlas.CheckActivatePandaAtlasCollect(uid, "100001"); err != nil {
|
||||
this.module.Errorln(err)
|
||||
return
|
||||
}
|
||||
}
|
||||
@ -113,7 +114,7 @@ func (this *modelPandata) queryrooms(uids []string) (results []*pb.DBPracticeRoo
|
||||
return
|
||||
}
|
||||
|
||||
//刷新npc
|
||||
// 刷新npc
|
||||
func (this *modelPandata) refreshnpc(room *pb.DBPracticeRoom) (err error) {
|
||||
var (
|
||||
npcs []*cfg.GameDispatch_BattleData
|
||||
|
Loading…
Reference in New Issue
Block a user