消息分发

This commit is contained in:
meixiongfeng 2024-01-18 19:34:29 +08:00
parent 31e58d8b3d
commit f96fc69938
2 changed files with 1 additions and 7 deletions

View File

@ -178,11 +178,5 @@
"open": true,
"routrules": "~/worker",
"describe": "积分boss"
},
{
"msgid": "plunder",
"open": true,
"routrules": "~/worker",
"describe": "掠夺"
}
]

View File

@ -97,7 +97,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.PlunderCha
for _, v := range land.Uinfo {
users = append(users, v.Uid)
}
_id := primitive.NilObjectID.Hex()
_id := primitive.NewObjectID().Hex()
// 创建一条船的信息
shipData = &pb.ShipData{
Uid: session.GetUserId(),