This commit is contained in:
liwei 2023-07-06 13:59:49 +08:00
parent 73ba1522c3
commit 6a605bad7d
2 changed files with 15 additions and 15 deletions

View File

@ -25,10 +25,10 @@ type DBGuidance struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` //用户id
Complete []int32 `protobuf:"varint,3,rep,packed,name=complete,proto3" json:"complete"` //完成队列
Lastguidance int32 `protobuf:"varint,4,opt,name=lastguidance,proto3" json:"lastguidance"` //上一次的引导id
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" bson:"_id"` //ID
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid"` //用户id
Complete []int32 `protobuf:"varint,3,rep,packed,name=complete,proto3" json:"complete"` //完成队列
Lastguidance string `protobuf:"bytes,4,opt,name=lastguidance,proto3" json:"lastguidance"` //上一次的引导id
}
func (x *DBGuidance) Reset() {
@ -84,11 +84,11 @@ func (x *DBGuidance) GetComplete() []int32 {
return nil
}
func (x *DBGuidance) GetLastguidance() int32 {
func (x *DBGuidance) GetLastguidance() string {
if x != nil {
return x.Lastguidance
}
return 0
return ""
}
var File_guidance_guidance_db_proto protoreflect.FileDescriptor
@ -101,7 +101,7 @@ var file_guidance_guidance_db_proto_rawDesc = []byte{
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08,
0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08,
0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74,
0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c,
0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
0x6c, 0x61, 0x73, 0x74, 0x67, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x06, 0x5a, 0x04,
0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

View File

@ -209,7 +209,7 @@ type GuidanceBeginReq struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Gid int32 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid"` //引导id
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid"` //引导id
}
func (x *GuidanceBeginReq) Reset() {
@ -244,11 +244,11 @@ func (*GuidanceBeginReq) Descriptor() ([]byte, []int) {
return file_guidance_guidance_msg_proto_rawDescGZIP(), []int{4}
}
func (x *GuidanceBeginReq) GetGid() int32 {
func (x *GuidanceBeginReq) GetGid() string {
if x != nil {
return x.Gid
}
return 0
return ""
}
//设置开始引导 请求回应
@ -257,7 +257,7 @@ type GuidanceBeginResp struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Gid int32 `protobuf:"varint,1,opt,name=gid,proto3" json:"gid"` //成功回应
Gid string `protobuf:"bytes,1,opt,name=gid,proto3" json:"gid"` //成功回应
}
func (x *GuidanceBeginResp) Reset() {
@ -292,11 +292,11 @@ func (*GuidanceBeginResp) Descriptor() ([]byte, []int) {
return file_guidance_guidance_msg_proto_rawDescGZIP(), []int{5}
}
func (x *GuidanceBeginResp) GetGid() int32 {
func (x *GuidanceBeginResp) GetGid() string {
if x != nil {
return x.Gid
}
return 0
return ""
}
var File_guidance_guidance_msg_proto protoreflect.FileDescriptor
@ -317,9 +317,9 @@ var file_guidance_guidance_msg_proto_rawDesc = []byte{
0x73, 0x70, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
0x03, 0x67, 0x69, 0x64, 0x22, 0x24, 0x0a, 0x10, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, 0x63, 0x65,
0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18,
0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x67, 0x69, 0x64, 0x22, 0x25, 0x0a, 0x11, 0x47, 0x75,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x69, 0x64, 0x22, 0x25, 0x0a, 0x11, 0x47, 0x75,
0x69, 0x64, 0x61, 0x6e, 0x63, 0x65, 0x42, 0x65, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12,
0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x67, 0x69,
0x10, 0x0a, 0x03, 0x67, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x67, 0x69,
0x64, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x3b, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}