上传海岛星座图
This commit is contained in:
parent
09a60face8
commit
7c65438b9b
@ -75,7 +75,7 @@ func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.IsLandUpgradeReq
|
||||
this.module.model.Change(session.GetUserId(), map[string]interface{}{
|
||||
"nodes": info.Nodes,
|
||||
})
|
||||
session.SendMsg(string(this.module.GetType()), "upgrade", &pb.IsLandUpgradeReq{Nid: conf.NodeId})
|
||||
session.SendMsg(string(this.module.GetType()), "upgrade", &pb.IsLandUpgradeResp{Nid: conf.NodeId, Lv: info.Nodes[conf.NodeId]})
|
||||
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
|
||||
this.module.WriteUserLog(session.GetUserId(), comm.GMResDelType, "IsLandUpgradeReq", conf.CostItem)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user