feat: product number
CI / changes (push) Successful in 36s
CI / docker-bff (push) Successful in 3m8s
CI / docker-product (push) Successful in 3m36s
CI / docker-admin (push) Successful in 3m35s
CI / docker-user (push) Successful in 9s
CI / docker-ad (push) Successful in 29s
CI / docker-chore (push) Failing after 4s

This commit is contained in:
zzw
2026-08-26 16:53:50 +08:00
parent 0ca3f6d84f
commit 72d55d396d
39 changed files with 1284 additions and 363 deletions
+75 -7
View File
@@ -126,6 +126,66 @@ func (x *PolicyReq) GetKey() string {
return ""
}
type TestReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Ids []int64 `protobuf:"varint,2,rep,packed,name=ids,proto3" json:"ids,omitempty"`
Number uint32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *TestReq) Reset() {
*x = TestReq{}
mi := &file_chore_chore_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *TestReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TestReq) ProtoMessage() {}
func (x *TestReq) ProtoReflect() protoreflect.Message {
mi := &file_chore_chore_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TestReq.ProtoReflect.Descriptor instead.
func (*TestReq) Descriptor() ([]byte, []int) {
return file_chore_chore_proto_rawDescGZIP(), []int{2}
}
func (x *TestReq) GetId() int32 {
if x != nil {
return x.Id
}
return 0
}
func (x *TestReq) GetIds() []int64 {
if x != nil {
return x.Ids
}
return nil
}
func (x *TestReq) GetNumber() uint32 {
if x != nil {
return x.Number
}
return 0
}
var File_chore_chore_proto protoreflect.FileDescriptor
const file_chore_chore_proto_rawDesc = "" +
@@ -136,9 +196,14 @@ const file_chore_chore_proto_rawDesc = "" +
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
"\x04data\x18\x03 \x01(\tR\x04data\"\x1d\n" +
"\tPolicyReq\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key2Y\n" +
"\x03key\x18\x01 \x01(\tR\x03key\"C\n" +
"\aTestReq\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x05R\x02id\x12\x10\n" +
"\x03ids\x18\x02 \x03(\x03R\x03ids\x12\x16\n" +
"\x06number\x18\x03 \x01(\rR\x06number2\xa1\x01\n" +
"\x05Chore\x12P\n" +
"\x06Policy\x12\x10.chore.PolicyReq\x1a\x0f.chore.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\x12\x18/api/v3/chore/oss/policyB\x19Z\x17lone-services/rpc/choreb\x06proto3"
"\x06Policy\x12\x10.chore.PolicyReq\x1a\x0f.chore.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\x12\x18/api/v3/chore/oss/policy\x12F\n" +
"\x04Test\x12\x0e.chore.TestReq\x1a\x0f.chore.Response\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v3/chore/testB\x19Z\x17lone-services/rpc/choreb\x06proto3"
var (
file_chore_chore_proto_rawDescOnce sync.Once
@@ -152,16 +217,19 @@ func file_chore_chore_proto_rawDescGZIP() []byte {
return file_chore_chore_proto_rawDescData
}
var file_chore_chore_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_chore_chore_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_chore_chore_proto_goTypes = []any{
(*Response)(nil), // 0: chore.Response
(*PolicyReq)(nil), // 1: chore.PolicyReq
(*TestReq)(nil), // 2: chore.TestReq
}
var file_chore_chore_proto_depIdxs = []int32{
1, // 0: chore.Chore.Policy:input_type -> chore.PolicyReq
0, // 1: chore.Chore.Policy:output_type -> chore.Response
1, // [1:2] is the sub-list for method output_type
0, // [0:1] is the sub-list for method input_type
2, // 1: chore.Chore.Test:input_type -> chore.TestReq
0, // 2: chore.Chore.Policy:output_type -> chore.Response
0, // 3: chore.Chore.Test:output_type -> chore.Response
2, // [2:4] is the sub-list for method output_type
0, // [0:2] 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
@@ -178,7 +246,7 @@ func file_chore_chore_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_chore_chore_proto_rawDesc), len(file_chore_chore_proto_rawDesc)),
NumEnums: 0,
NumMessages: 2,
NumMessages: 3,
NumExtensions: 0,
NumServices: 1,
},