经皮湿水仪init and bind's all api

This commit is contained in:
2026-10-05 17:22:27 +08:00
parent 3d760eb6b9
commit d30b573833
52 changed files with 3092 additions and 250 deletions
+43 -7
View File
@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v3.19.4
// protoc v4.25.8
// source: equipment/equipment.proto
package equipment
@@ -666,6 +666,7 @@ type ApiBindAddRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
HostNickname string `protobuf:"bytes,1,opt,name=host_nickname,json=hostNickname,proto3" json:"host_nickname,omitempty"`
HostCode string `protobuf:"bytes,2,opt,name=host_code,json=hostCode,proto3" json:"host_code,omitempty"`
Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -714,9 +715,17 @@ func (x *ApiBindAddRequest) GetHostCode() string {
return ""
}
func (x *ApiBindAddRequest) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
type ApiUnBindRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
HostCode string `protobuf:"bytes,1,opt,name=host_code,json=hostCode,proto3" json:"host_code,omitempty"`
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -758,6 +767,13 @@ func (x *ApiUnBindRequest) GetHostCode() string {
return ""
}
func (x *ApiUnBindRequest) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
type EmptyRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
@@ -798,6 +814,7 @@ type ApiBindExpiryRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
HostCode string `protobuf:"bytes,1,opt,name=host_code,json=hostCode,proto3" json:"host_code,omitempty"`
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
EquipmentType int32 `protobuf:"varint,3,opt,name=equipment_type,json=equipmentType,proto3" json:"equipment_type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -846,9 +863,17 @@ func (x *ApiBindExpiryRequest) GetType() int32 {
return 0
}
func (x *ApiBindExpiryRequest) GetEquipmentType() int32 {
if x != nil {
return x.EquipmentType
}
return 0
}
type ApiBindExpiryGetRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
HostCode string `protobuf:"bytes,1,opt,name=host_code,json=hostCode,proto3" json:"host_code,omitempty"`
Type int32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -890,6 +915,13 @@ func (x *ApiBindExpiryGetRequest) GetHostCode() string {
return ""
}
func (x *ApiBindExpiryGetRequest) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
type ApiBeansItemsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
@@ -1473,18 +1505,22 @@ const file_equipment_equipment_proto_rawDesc = "" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" +
"\x04time\x18\x04 \x03(\tR\x04time\"U\n" +
"\x04time\x18\x04 \x03(\tR\x04time\"i\n" +
"\x11ApiBindAddRequest\x12#\n" +
"\rhost_nickname\x18\x01 \x01(\tR\fhostNickname\x12\x1b\n" +
"\thost_code\x18\x02 \x01(\tR\bhostCode\"/\n" +
"\thost_code\x18\x02 \x01(\tR\bhostCode\x12\x12\n" +
"\x04type\x18\x03 \x01(\x05R\x04type\"C\n" +
"\x10ApiUnBindRequest\x12\x1b\n" +
"\thost_code\x18\x01 \x01(\tR\bhostCode\"\x0e\n" +
"\fEmptyRequest\"G\n" +
"\thost_code\x18\x01 \x01(\tR\bhostCode\x12\x12\n" +
"\x04type\x18\x02 \x01(\x05R\x04type\"\x0e\n" +
"\fEmptyRequest\"n\n" +
"\x14ApiBindExpiryRequest\x12\x1b\n" +
"\thost_code\x18\x01 \x01(\tR\bhostCode\x12\x12\n" +
"\x04type\x18\x02 \x01(\x05R\x04type\"6\n" +
"\x04type\x18\x02 \x01(\x05R\x04type\x12%\n" +
"\x0eequipment_type\x18\x03 \x01(\x05R\requipmentType\"J\n" +
"\x17ApiBindExpiryGetRequest\x12\x1b\n" +
"\thost_code\x18\x01 \x01(\tR\bhostCode\">\n" +
"\thost_code\x18\x01 \x01(\tR\bhostCode\x12\x12\n" +
"\x04type\x18\x02 \x01(\x05R\x04type\">\n" +
"\x14ApiBeansItemsRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
"\x04size\x18\x02 \x01(\x05R\x04size\":\n" +