修复node_idx问题
This commit is contained in:
parent
dbcc74431c
commit
4a50844f63
@ -4,6 +4,7 @@
|
|||||||
#include <a8/timer.h>
|
#include <a8/timer.h>
|
||||||
|
|
||||||
#include "gsmgr.h"
|
#include "gsmgr.h"
|
||||||
|
#include "app.h"
|
||||||
#include "GGListener.h"
|
#include "GGListener.h"
|
||||||
|
|
||||||
void GSMgr::Init()
|
void GSMgr::Init()
|
||||||
@ -70,6 +71,7 @@ void GSMgr::___GSReport(f8::JsonHttpRequest* request)
|
|||||||
GSNode gs;
|
GSNode gs;
|
||||||
gs.key = key;
|
gs.key = key;
|
||||||
gs.node_id = node_id;
|
gs.node_id = node_id;
|
||||||
|
gs.node_idx = App::Instance()->NewUuid();
|
||||||
gs.instance_id = instance_id;
|
gs.instance_id = instance_id;
|
||||||
gs.online_num = online_num;
|
gs.online_num = online_num;
|
||||||
gs.room_num = room_num;
|
gs.room_num = room_num;
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
struct GSNode
|
struct GSNode
|
||||||
{
|
{
|
||||||
std::string key;
|
std::string key;
|
||||||
unsigned short node_idx = 0;
|
long long node_idx = 0;
|
||||||
int node_id = 0;
|
int node_id = 0;
|
||||||
int instance_id = 0;
|
int instance_id = 0;
|
||||||
int room_num = 0;
|
int room_num = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user