add ws 链接确认
CI / changes (push) Successful in 1m43s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 37s
CI / chore (push) Successful in 1s
CI / equipment (push) Successful in 27s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 36s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 1s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 1s
CI / changes (push) Successful in 1m43s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 37s
CI / chore (push) Successful in 1s
CI / equipment (push) Successful in 27s
CI / express (push) Successful in 0s
CI / factory (push) Successful in 0s
CI / message (push) Successful in 0s
CI / order (push) Successful in 1s
CI / payment (push) Successful in 0s
CI / percutaneous (push) Successful in 36s
CI / product (push) Successful in 0s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 0s
CI / store (push) Successful in 0s
CI / support (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 1s
CI / water (push) Successful in 0s
CI / wecom (push) Successful in 1s
This commit is contained in:
@@ -569,6 +569,7 @@ func (x *SetPositionRequest) GetSessionId() string {
|
||||
type GetWsCodeRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Type int32 `protobuf:"varint,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
UserId int64 `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -610,6 +611,13 @@ func (x *GetWsCodeRequest) GetType() int32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *GetWsCodeRequest) GetUserId() int64 {
|
||||
if x != nil {
|
||||
return x.UserId
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type EmptyRequest struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
@@ -729,12 +737,13 @@ const file_percutaneous_percutaneous_proto_rawDesc = "" +
|
||||
"\x12setPositionRequest\x12\x1a\n" +
|
||||
"\bposition\x18\x02 \x01(\x05R\bposition\x12\x1d\n" +
|
||||
"\n" +
|
||||
"session_id\x18\x04 \x01(\tR\tsessionId\"&\n" +
|
||||
"session_id\x18\x04 \x01(\tR\tsessionId\"?\n" +
|
||||
"\x10getWsCodeRequest\x12\x12\n" +
|
||||
"\x04type\x18\x01 \x01(\x05R\x04type\"\x0e\n" +
|
||||
"\x04type\x18\x01 \x01(\x05R\x04type\x12\x17\n" +
|
||||
"\auser_id\x18\x02 \x01(\x03R\x06userId\"\x0e\n" +
|
||||
"\fEmptyRequest\",\n" +
|
||||
"\x0fWsStreamRequest\x12\x19\n" +
|
||||
"\braw_body\x18\x01 \x01(\fR\arawBody2\xca\a\n" +
|
||||
"\braw_body\x18\x01 \x01(\fR\arawBody2\xbf\b\n" +
|
||||
"\fPercutaneous\x12o\n" +
|
||||
"\tWifiCheck\x12\x1e.percutaneous.WifiCheckRequest\x1a\x16.percutaneous.Response\"*\x82\xd3\xe4\x93\x02$:\x01*\x12\x1f/api/v3/percutaneous/wifi/check\x12i\n" +
|
||||
"\aWifiSet\x12\x1c.percutaneous.WifiSetRequest\x1a\x16.percutaneous.Response\"(\x82\xd3\xe4\x93\x02\":\x01*\"\x1d/api/v3/percutaneous/wifi/set\x12\\\n" +
|
||||
@@ -742,8 +751,9 @@ const file_percutaneous_percutaneous_proto_rawDesc = "" +
|
||||
"\aUsedLog\x12\x1c.percutaneous.UsedLogRequest\x1a\x16.percutaneous.Response\"(\x82\xd3\xe4\x93\x02\":\x01*\x12\x1d/api/v3/percutaneous/used/log\x12i\n" +
|
||||
"\aAddUser\x12\x1c.percutaneous.AddUserRequest\x1a\x16.percutaneous.Response\"(\x82\xd3\xe4\x93\x02\":\x01*\x12\x1d/api/v3/percutaneous/add/user\x12o\n" +
|
||||
"\tUserItems\x12\x1e.percutaneous.UserItemsRequest\x1a\x16.percutaneous.Response\"*\x82\xd3\xe4\x93\x02$:\x01*\x12\x1f/api/v3/percutaneous/user/items\x12u\n" +
|
||||
"\vsetPosition\x12 .percutaneous.setPositionRequest\x1a\x16.percutaneous.Response\",\x82\xd3\xe4\x93\x02&:\x01*\x12!/api/v3/percutaneous/use/position\x12m\n" +
|
||||
"\tgetWsCode\x12\x1e.percutaneous.getWsCodeRequest\x1a\x16.percutaneous.Response\"(\x82\xd3\xe4\x93\x02\":\x01*\x12\x1d/api/v3/percutaneous/get/code\x12S\n" +
|
||||
"\vsetPosition\x12 .percutaneous.setPositionRequest\x1a\x16.percutaneous.Response\",\x82\xd3\xe4\x93\x02&:\x01*\"!/api/v3/percutaneous/use/position\x12m\n" +
|
||||
"\tgetWsCode\x12\x1e.percutaneous.getWsCodeRequest\x1a\x16.percutaneous.Response\"(\x82\xd3\xe4\x93\x02\":\x01*\x12\x1d/api/v3/percutaneous/get/code\x12s\n" +
|
||||
"\x0eWsClientStatus\x12\x1e.percutaneous.getWsCodeRequest\x1a\x16.percutaneous.Response\")\x82\xd3\xe4\x93\x02#:\x01*\x12\x1e/api/v3/percutaneous/ws/status\x12S\n" +
|
||||
"\x0fWsAddUserStream\x12\x1d.percutaneous.WsStreamRequest\x1a\x1d.percutaneous.WsStreamRequest(\x010\x01B\x10Z\x0e./percutaneousb\x06proto3"
|
||||
|
||||
var (
|
||||
@@ -783,18 +793,20 @@ var file_percutaneous_percutaneous_proto_depIdxs = []int32{
|
||||
6, // 5: percutaneous.Percutaneous.UserItems:input_type -> percutaneous.UserItemsRequest
|
||||
9, // 6: percutaneous.Percutaneous.setPosition:input_type -> percutaneous.setPositionRequest
|
||||
10, // 7: percutaneous.Percutaneous.getWsCode:input_type -> percutaneous.getWsCodeRequest
|
||||
12, // 8: percutaneous.Percutaneous.WsAddUserStream:input_type -> percutaneous.WsStreamRequest
|
||||
4, // 9: percutaneous.Percutaneous.WifiCheck:output_type -> percutaneous.Response
|
||||
4, // 10: percutaneous.Percutaneous.WifiSet:output_type -> percutaneous.Response
|
||||
4, // 11: percutaneous.Percutaneous.Use:output_type -> percutaneous.Response
|
||||
4, // 12: percutaneous.Percutaneous.UsedLog:output_type -> percutaneous.Response
|
||||
4, // 13: percutaneous.Percutaneous.AddUser:output_type -> percutaneous.Response
|
||||
4, // 14: percutaneous.Percutaneous.UserItems:output_type -> percutaneous.Response
|
||||
4, // 15: percutaneous.Percutaneous.setPosition:output_type -> percutaneous.Response
|
||||
4, // 16: percutaneous.Percutaneous.getWsCode:output_type -> percutaneous.Response
|
||||
12, // 17: percutaneous.Percutaneous.WsAddUserStream:output_type -> percutaneous.WsStreamRequest
|
||||
9, // [9:18] is the sub-list for method output_type
|
||||
0, // [0:9] is the sub-list for method input_type
|
||||
10, // 8: percutaneous.Percutaneous.WsClientStatus:input_type -> percutaneous.getWsCodeRequest
|
||||
12, // 9: percutaneous.Percutaneous.WsAddUserStream:input_type -> percutaneous.WsStreamRequest
|
||||
4, // 10: percutaneous.Percutaneous.WifiCheck:output_type -> percutaneous.Response
|
||||
4, // 11: percutaneous.Percutaneous.WifiSet:output_type -> percutaneous.Response
|
||||
4, // 12: percutaneous.Percutaneous.Use:output_type -> percutaneous.Response
|
||||
4, // 13: percutaneous.Percutaneous.UsedLog:output_type -> percutaneous.Response
|
||||
4, // 14: percutaneous.Percutaneous.AddUser:output_type -> percutaneous.Response
|
||||
4, // 15: percutaneous.Percutaneous.UserItems:output_type -> percutaneous.Response
|
||||
4, // 16: percutaneous.Percutaneous.setPosition:output_type -> percutaneous.Response
|
||||
4, // 17: percutaneous.Percutaneous.getWsCode:output_type -> percutaneous.Response
|
||||
4, // 18: percutaneous.Percutaneous.WsClientStatus:output_type -> percutaneous.Response
|
||||
12, // 19: percutaneous.Percutaneous.WsAddUserStream:output_type -> percutaneous.WsStreamRequest
|
||||
10, // [10:20] is the sub-list for method output_type
|
||||
0, // [0:10] is the sub-list for method input_type
|
||||
0, // [0:0] is the sub-list for extension type_name
|
||||
0, // [0:0] is the sub-list for extension extendee
|
||||
0, // [0:0] is the sub-list for field type_name
|
||||
|
||||
Reference in New Issue
Block a user