mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
feat: SsoSecure pb field
This commit is contained in:
parent
22ff004663
commit
8cfc2c0450
@ -3,6 +3,25 @@
|
|||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
|
||||||
|
type SSOReserveField struct {
|
||||||
|
Flag int32 `protobuf:"varint,9,opt"`
|
||||||
|
Qimei string `protobuf:"bytes,12,opt"`
|
||||||
|
NewconnFlag int32 `protobuf:"varint,14,opt"`
|
||||||
|
Uid string `protobuf:"bytes,16,opt"`
|
||||||
|
Imsi int32 `protobuf:"varint,18,opt"`
|
||||||
|
NetworkType int32 `protobuf:"varint,19,opt"`
|
||||||
|
IpStackType int32 `protobuf:"varint,20,opt"`
|
||||||
|
MessageType int32 `protobuf:"varint,21,opt"`
|
||||||
|
SecInfo *SsoSecureInfo `protobuf:"bytes,24,opt"`
|
||||||
|
SsoIpOrigin int32 `protobuf:"varint,28,opt"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type SsoSecureInfo struct {
|
||||||
|
SecSig []byte `protobuf:"bytes,1,opt"`
|
||||||
|
SecDeviceToken []byte `protobuf:"bytes,2,opt"`
|
||||||
|
SecExtra []byte `protobuf:"bytes,3,opt"`
|
||||||
|
}
|
||||||
|
|
||||||
type DeviceInfo struct {
|
type DeviceInfo struct {
|
||||||
Bootloader string `protobuf:"bytes,1,opt"`
|
Bootloader string `protobuf:"bytes,1,opt"`
|
||||||
ProcVersion string `protobuf:"bytes,2,opt"`
|
ProcVersion string `protobuf:"bytes,2,opt"`
|
||||||
|
@ -2,6 +2,25 @@ syntax = "proto3";
|
|||||||
|
|
||||||
option go_package = "github.com/Mrs4s/MiraiGo/client/pb";
|
option go_package = "github.com/Mrs4s/MiraiGo/client/pb";
|
||||||
|
|
||||||
|
message SSOReserveField {
|
||||||
|
int32 flag = 9;
|
||||||
|
string qimei = 12;
|
||||||
|
int32 newconn_flag = 14;
|
||||||
|
string uid = 16;
|
||||||
|
int32 imsi = 18;
|
||||||
|
int32 network_type = 19;
|
||||||
|
int32 ip_stack_type = 20;
|
||||||
|
int32 message_type = 21;
|
||||||
|
SsoSecureInfo sec_info = 24;
|
||||||
|
int32 sso_ip_origin = 28;
|
||||||
|
}
|
||||||
|
|
||||||
|
message SsoSecureInfo {
|
||||||
|
bytes sec_sig = 1;
|
||||||
|
bytes sec_device_token = 2;
|
||||||
|
bytes sec_extra = 3;
|
||||||
|
}
|
||||||
|
|
||||||
message DeviceInfo {
|
message DeviceInfo {
|
||||||
string bootloader = 1;
|
string bootloader = 1;
|
||||||
string procVersion = 2;
|
string procVersion = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user