feat: user check update reate
This commit is contained in:
+102
-33
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v4.25.8
|
||||
// protoc v3.19.4
|
||||
// source: chore/chore.proto
|
||||
|
||||
package chore
|
||||
@@ -399,6 +399,7 @@ type TestReq struct {
|
||||
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"`
|
||||
Char string `protobuf:"bytes,4,opt,name=char,proto3" json:"char,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@@ -454,6 +455,13 @@ func (x *TestReq) GetNumber() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
func (x *TestReq) GetChar() string {
|
||||
if x != nil {
|
||||
return x.Char
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type DecryptMobileReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
OriginMobile string `protobuf:"bytes,1,opt,name=origin_mobile,json=originMobile,proto3" json:"origin_mobile,omitempty"`
|
||||
@@ -682,6 +690,58 @@ func (x *RegionsByIdsData) GetItems() []*RegionItem {
|
||||
return nil
|
||||
}
|
||||
|
||||
type SendSmsReq struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
|
||||
Scene int32 `protobuf:"varint,2,opt,name=scene,proto3" json:"scene,omitempty"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
|
||||
func (x *SendSmsReq) Reset() {
|
||||
*x = SendSmsReq{}
|
||||
mi := &file_chore_chore_proto_msgTypes[13]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
|
||||
func (x *SendSmsReq) String() string {
|
||||
return protoimpl.X.MessageStringOf(x)
|
||||
}
|
||||
|
||||
func (*SendSmsReq) ProtoMessage() {}
|
||||
|
||||
func (x *SendSmsReq) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_chore_chore_proto_msgTypes[13]
|
||||
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 SendSmsReq.ProtoReflect.Descriptor instead.
|
||||
func (*SendSmsReq) Descriptor() ([]byte, []int) {
|
||||
return file_chore_chore_proto_rawDescGZIP(), []int{13}
|
||||
}
|
||||
|
||||
func (x *SendSmsReq) GetMobile() string {
|
||||
if x != nil {
|
||||
return x.Mobile
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (x *SendSmsReq) GetScene() int32 {
|
||||
if x != nil {
|
||||
return x.Scene
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
var File_chore_chore_proto protoreflect.FileDescriptor
|
||||
|
||||
const file_chore_chore_proto_rawDesc = "" +
|
||||
@@ -709,11 +769,12 @@ const file_chore_chore_proto_rawDesc = "" +
|
||||
"\x04type\x18\x01 \x01(\x05R\x04type\x12\x18\n" +
|
||||
"\acontent\x18\x02 \x01(\tR\acontent\"\x1d\n" +
|
||||
"\tPolicyReq\x12\x10\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\"C\n" +
|
||||
"\x03key\x18\x01 \x01(\tR\x03key\"W\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\x06number\"7\n" +
|
||||
"\x06number\x18\x03 \x01(\rR\x06number\x12\x12\n" +
|
||||
"\x04char\x18\x04 \x01(\tR\x04char\"7\n" +
|
||||
"\x10DecryptMobileReq\x12#\n" +
|
||||
"\rorigin_mobile\x18\x01 \x01(\tR\foriginMobile\")\n" +
|
||||
"\n" +
|
||||
@@ -726,12 +787,17 @@ const file_chore_chore_proto_rawDesc = "" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
|
||||
"\x04name\x18\x02 \x01(\tR\x04name\";\n" +
|
||||
"\x10RegionsByIdsData\x12'\n" +
|
||||
"\x05items\x18\x01 \x03(\v2\x11.chore.RegionItemR\x05items2\x9d\t\n" +
|
||||
"\x05items\x18\x01 \x03(\v2\x11.chore.RegionItemR\x05items\":\n" +
|
||||
"\n" +
|
||||
"SendSmsReq\x12\x16\n" +
|
||||
"\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x14\n" +
|
||||
"\x05scene\x18\x02 \x01(\x05R\x05scene2\xe9\t\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/policy\x12F\n" +
|
||||
"\x04Test\x12\x0e.chore.TestReq\x1a\x0f.chore.Response\"\x1d\x82\xd3\xe4\x93\x02\x17:\x01*\"\x12/api/v3/chore/test\x12_\n" +
|
||||
"\rDecryptMobile\x12\x17.chore.DecryptMobileReq\x1a\x0f.chore.Response\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/v3/chore/decrypt/mobile\x12L\n" +
|
||||
"\aRegions\x12\x11.chore.RegionsReq\x1a\x0f.chore.Response\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v3/chore/regions\x12U\n" +
|
||||
"\aRegions\x12\x11.chore.RegionsReq\x1a\x0f.chore.Response\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/api/v3/chore/regions\x12J\n" +
|
||||
"\aSendSms\x12\x11.chore.SendSmsReq\x1a\x0f.chore.Response\"\x1b\x82\xd3\xe4\x93\x02\x15:\x01*\"\x10/api/v3/sms/send\x12U\n" +
|
||||
"\vAnswerItems\x12\x0f.chore.EmptyReq\x1a\x0f.chore.Response\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/admin/v3/chore/answer/items\x12X\n" +
|
||||
"\fAnswerStatus\x12\x10.chore.StatusReq\x1a\x0f.chore.Response\"%\x82\xd3\xe4\x93\x02\x1f\"\x1d/admin/v3/chore/answer/status\x12P\n" +
|
||||
"\n" +
|
||||
@@ -759,7 +825,7 @@ func file_chore_chore_proto_rawDescGZIP() []byte {
|
||||
return file_chore_chore_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_chore_chore_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
|
||||
var file_chore_chore_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
|
||||
var file_chore_chore_proto_goTypes = []any{
|
||||
(*Response)(nil), // 0: chore.Response
|
||||
(*EmptyReq)(nil), // 1: chore.EmptyReq
|
||||
@@ -774,6 +840,7 @@ var file_chore_chore_proto_goTypes = []any{
|
||||
(*RegionsByIdsReq)(nil), // 10: chore.RegionsByIdsReq
|
||||
(*RegionItem)(nil), // 11: chore.RegionItem
|
||||
(*RegionsByIdsData)(nil), // 12: chore.RegionsByIdsData
|
||||
(*SendSmsReq)(nil), // 13: chore.SendSmsReq
|
||||
}
|
||||
var file_chore_chore_proto_depIdxs = []int32{
|
||||
11, // 0: chore.RegionsByIdsData.items:type_name -> chore.RegionItem
|
||||
@@ -781,32 +848,34 @@ var file_chore_chore_proto_depIdxs = []int32{
|
||||
7, // 2: chore.Chore.Test:input_type -> chore.TestReq
|
||||
8, // 3: chore.Chore.DecryptMobile:input_type -> chore.DecryptMobileReq
|
||||
9, // 4: chore.Chore.Regions:input_type -> chore.RegionsReq
|
||||
1, // 5: chore.Chore.AnswerItems:input_type -> chore.EmptyReq
|
||||
3, // 6: chore.Chore.AnswerStatus:input_type -> chore.StatusReq
|
||||
2, // 7: chore.Chore.AnswerInfo:input_type -> chore.IdReq
|
||||
4, // 8: chore.Chore.AnswerCreate:input_type -> chore.EditReq
|
||||
4, // 9: chore.Chore.AnswerEdit:input_type -> chore.EditReq
|
||||
5, // 10: chore.Chore.SystemEdit:input_type -> chore.SystemEditReq
|
||||
3, // 11: chore.Chore.SystemStatus:input_type -> chore.StatusReq
|
||||
2, // 12: chore.Chore.SystemInfo:input_type -> chore.IdReq
|
||||
1, // 13: chore.Chore.SystemItems:input_type -> chore.EmptyReq
|
||||
10, // 14: chore.Chore.RegionsByIds:input_type -> chore.RegionsByIdsReq
|
||||
0, // 15: chore.Chore.Policy:output_type -> chore.Response
|
||||
0, // 16: chore.Chore.Test:output_type -> chore.Response
|
||||
0, // 17: chore.Chore.DecryptMobile:output_type -> chore.Response
|
||||
0, // 18: chore.Chore.Regions:output_type -> chore.Response
|
||||
0, // 19: chore.Chore.AnswerItems:output_type -> chore.Response
|
||||
0, // 20: chore.Chore.AnswerStatus:output_type -> chore.Response
|
||||
0, // 21: chore.Chore.AnswerInfo:output_type -> chore.Response
|
||||
0, // 22: chore.Chore.AnswerCreate:output_type -> chore.Response
|
||||
0, // 23: chore.Chore.AnswerEdit:output_type -> chore.Response
|
||||
0, // 24: chore.Chore.SystemEdit:output_type -> chore.Response
|
||||
0, // 25: chore.Chore.SystemStatus:output_type -> chore.Response
|
||||
0, // 26: chore.Chore.SystemInfo:output_type -> chore.Response
|
||||
0, // 27: chore.Chore.SystemItems:output_type -> chore.Response
|
||||
12, // 28: chore.Chore.RegionsByIds:output_type -> chore.RegionsByIdsData
|
||||
15, // [15:29] is the sub-list for method output_type
|
||||
1, // [1:15] is the sub-list for method input_type
|
||||
13, // 5: chore.Chore.SendSms:input_type -> chore.SendSmsReq
|
||||
1, // 6: chore.Chore.AnswerItems:input_type -> chore.EmptyReq
|
||||
3, // 7: chore.Chore.AnswerStatus:input_type -> chore.StatusReq
|
||||
2, // 8: chore.Chore.AnswerInfo:input_type -> chore.IdReq
|
||||
4, // 9: chore.Chore.AnswerCreate:input_type -> chore.EditReq
|
||||
4, // 10: chore.Chore.AnswerEdit:input_type -> chore.EditReq
|
||||
5, // 11: chore.Chore.SystemEdit:input_type -> chore.SystemEditReq
|
||||
3, // 12: chore.Chore.SystemStatus:input_type -> chore.StatusReq
|
||||
2, // 13: chore.Chore.SystemInfo:input_type -> chore.IdReq
|
||||
1, // 14: chore.Chore.SystemItems:input_type -> chore.EmptyReq
|
||||
10, // 15: chore.Chore.RegionsByIds:input_type -> chore.RegionsByIdsReq
|
||||
0, // 16: chore.Chore.Policy:output_type -> chore.Response
|
||||
0, // 17: chore.Chore.Test:output_type -> chore.Response
|
||||
0, // 18: chore.Chore.DecryptMobile:output_type -> chore.Response
|
||||
0, // 19: chore.Chore.Regions:output_type -> chore.Response
|
||||
0, // 20: chore.Chore.SendSms:output_type -> chore.Response
|
||||
0, // 21: chore.Chore.AnswerItems:output_type -> chore.Response
|
||||
0, // 22: chore.Chore.AnswerStatus:output_type -> chore.Response
|
||||
0, // 23: chore.Chore.AnswerInfo:output_type -> chore.Response
|
||||
0, // 24: chore.Chore.AnswerCreate:output_type -> chore.Response
|
||||
0, // 25: chore.Chore.AnswerEdit:output_type -> chore.Response
|
||||
0, // 26: chore.Chore.SystemEdit:output_type -> chore.Response
|
||||
0, // 27: chore.Chore.SystemStatus:output_type -> chore.Response
|
||||
0, // 28: chore.Chore.SystemInfo:output_type -> chore.Response
|
||||
0, // 29: chore.Chore.SystemItems:output_type -> chore.Response
|
||||
12, // 30: chore.Chore.RegionsByIds:output_type -> chore.RegionsByIdsData
|
||||
16, // [16:31] is the sub-list for method output_type
|
||||
1, // [1:16] is the sub-list for method input_type
|
||||
1, // [1:1] is the sub-list for extension type_name
|
||||
1, // [1:1] is the sub-list for extension extendee
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
@@ -823,7 +892,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: 13,
|
||||
NumMessages: 14,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user