Map all the (u)int64 type fields to JS_STRING

This commit is contained in:
Kevin Tan 2024-01-12 06:26:57 +00:00
parent c3c22543b9
commit 8c4ea11dfe
2 changed files with 7 additions and 7 deletions

View File

@ -52,7 +52,7 @@ message Request
XmlMsg xml = 9;
DecPath dec = 10;
Transfer tf = 11;
uint64 ui64 = 12; // 64
uint64 ui64 = 12 [jstype = JS_STRING]; // 64
bool flag = 13;
AttachMsg att = 14;
AudioMsg am = 15;
@ -86,7 +86,7 @@ message WxMsg
{
bool is_self = 1; //
bool is_group = 2; //
uint64 id = 3; // id
uint64 id = 3 [jstype = JS_STRING]; // id
uint32 type = 4; //
uint32 ts = 5; //
string roomid = 6; // id
@ -194,14 +194,14 @@ message Transfer
message AttachMsg
{
uint64 id = 1; // id
uint64 id = 1 [jstype = JS_STRING]; // id
string thumb = 2; // thumb
string extra = 3; // extra
}
message AudioMsg
{
uint64 id = 1; // id
uint64 id = 1 [jstype = JS_STRING]; // id
string dir = 2; //
}
@ -230,6 +230,6 @@ message OcrMsg
message ForwardMsg
{
uint64 id = 1; // ID
uint64 id = 1 [jstype = JS_STRING]; // ID
string receiver = 2; // roomId wxid
}

View File

@ -16,6 +16,6 @@ message RoomData {
int32 field_4 = 4;
int32 room_capacity = 5;
int32 field_6 = 6;
int64 field_7 = 7;
int64 field_8 = 8;
int64 field_7 = 7 [jstype = JS_STRING];
int64 field_8 = 8 [jstype = JS_STRING];
}