store and chore
CI / changes (push) Successful in 39s
CI / ad (push) Successful in 1s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 25s
CI / chore (push) Successful in 24s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 1s
CI / factory (push) Successful in 0s
CI / payment (push) Successful in 0s
CI / product (push) Successful in 1s
CI / record (push) Successful in 0s
CI / sale (push) Successful in 24s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 0s

This commit is contained in:
2026-09-17 16:16:11 +08:00
parent b6cc44140f
commit 2b19937065
36 changed files with 2037 additions and 138 deletions
+156 -22
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: chore/chore.proto
package chore
@@ -742,6 +742,126 @@ func (x *SendSmsReq) GetScene() int32 {
return 0
}
type SendPasswordReq struct {
state protoimpl.MessageState `protogen:"open.v1"`
Mobile string `protobuf:"bytes,1,opt,name=mobile,proto3" json:"mobile,omitempty"`
Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
BrowserInfo string `protobuf:"bytes,3,opt,name=browser_info,json=browserInfo,proto3" json:"browser_info,omitempty"`
Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
BrowserName string `protobuf:"bytes,5,opt,name=browser_name,json=browserName,proto3" json:"browser_name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SendPasswordReq) Reset() {
*x = SendPasswordReq{}
mi := &file_chore_chore_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SendPasswordReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendPasswordReq) ProtoMessage() {}
func (x *SendPasswordReq) ProtoReflect() protoreflect.Message {
mi := &file_chore_chore_proto_msgTypes[14]
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 SendPasswordReq.ProtoReflect.Descriptor instead.
func (*SendPasswordReq) Descriptor() ([]byte, []int) {
return file_chore_chore_proto_rawDescGZIP(), []int{14}
}
func (x *SendPasswordReq) GetMobile() string {
if x != nil {
return x.Mobile
}
return ""
}
func (x *SendPasswordReq) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
func (x *SendPasswordReq) GetBrowserInfo() string {
if x != nil {
return x.BrowserInfo
}
return ""
}
func (x *SendPasswordReq) GetIp() string {
if x != nil {
return x.Ip
}
return ""
}
func (x *SendPasswordReq) GetBrowserName() string {
if x != nil {
return x.BrowserName
}
return ""
}
type SendPasswordResp struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SendPasswordResp) Reset() {
*x = SendPasswordResp{}
mi := &file_chore_chore_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SendPasswordResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SendPasswordResp) ProtoMessage() {}
func (x *SendPasswordResp) ProtoReflect() protoreflect.Message {
mi := &file_chore_chore_proto_msgTypes[15]
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 SendPasswordResp.ProtoReflect.Descriptor instead.
func (*SendPasswordResp) Descriptor() ([]byte, []int) {
return file_chore_chore_proto_rawDescGZIP(), []int{15}
}
func (x *SendPasswordResp) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
var File_chore_chore_proto protoreflect.FileDescriptor
const file_chore_chore_proto_rawDesc = "" +
@@ -791,7 +911,16 @@ const file_chore_chore_proto_rawDesc = "" +
"\n" +
"SendSmsReq\x12\x16\n" +
"\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x14\n" +
"\x05scene\x18\x02 \x01(\x05R\x05scene2\xe9\t\n" +
"\x05scene\x18\x02 \x01(\x05R\x05scene\"\x9b\x01\n" +
"\x0fSendPasswordReq\x12\x16\n" +
"\x06mobile\x18\x01 \x01(\tR\x06mobile\x12\x1a\n" +
"\bpassword\x18\x02 \x01(\tR\bpassword\x12!\n" +
"\fbrowser_info\x18\x03 \x01(\tR\vbrowserInfo\x12\x0e\n" +
"\x02ip\x18\x04 \x01(\tR\x02ip\x12!\n" +
"\fbrowser_name\x18\x05 \x01(\tR\vbrowserName\"&\n" +
"\x10SendPasswordResp\x12\x12\n" +
"\x04code\x18\x01 \x01(\x05R\x04code2\xaa\n" +
"\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" +
@@ -811,7 +940,8 @@ const file_chore_chore_proto_rawDesc = "" +
"\n" +
"SystemInfo\x12\f.chore.IdReq\x1a\x0f.chore.Response\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/admin/v3/chore/system/info\x12U\n" +
"\vSystemItems\x12\x0f.chore.EmptyReq\x1a\x0f.chore.Response\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/admin/v3/chore/system/items\x12?\n" +
"\fRegionsByIds\x12\x16.chore.RegionsByIdsReq\x1a\x17.chore.RegionsByIdsDataB\x19Z\x17lone-services/rpc/choreb\x06proto3"
"\fRegionsByIds\x12\x16.chore.RegionsByIdsReq\x1a\x17.chore.RegionsByIdsData\x12?\n" +
"\fSendPassword\x12\x16.chore.SendPasswordReq\x1a\x17.chore.SendPasswordRespB\x19Z\x17lone-services/rpc/choreb\x06proto3"
var (
file_chore_chore_proto_rawDescOnce sync.Once
@@ -825,7 +955,7 @@ func file_chore_chore_proto_rawDescGZIP() []byte {
return file_chore_chore_proto_rawDescData
}
var file_chore_chore_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
var file_chore_chore_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_chore_chore_proto_goTypes = []any{
(*Response)(nil), // 0: chore.Response
(*EmptyReq)(nil), // 1: chore.EmptyReq
@@ -841,6 +971,8 @@ var file_chore_chore_proto_goTypes = []any{
(*RegionItem)(nil), // 11: chore.RegionItem
(*RegionsByIdsData)(nil), // 12: chore.RegionsByIdsData
(*SendSmsReq)(nil), // 13: chore.SendSmsReq
(*SendPasswordReq)(nil), // 14: chore.SendPasswordReq
(*SendPasswordResp)(nil), // 15: chore.SendPasswordResp
}
var file_chore_chore_proto_depIdxs = []int32{
11, // 0: chore.RegionsByIdsData.items:type_name -> chore.RegionItem
@@ -859,23 +991,25 @@ var file_chore_chore_proto_depIdxs = []int32{
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
14, // 16: chore.Chore.SendPassword:input_type -> chore.SendPasswordReq
0, // 17: chore.Chore.Policy:output_type -> chore.Response
0, // 18: chore.Chore.Test:output_type -> chore.Response
0, // 19: chore.Chore.DecryptMobile:output_type -> chore.Response
0, // 20: chore.Chore.Regions:output_type -> chore.Response
0, // 21: chore.Chore.SendSms:output_type -> chore.Response
0, // 22: chore.Chore.AnswerItems:output_type -> chore.Response
0, // 23: chore.Chore.AnswerStatus:output_type -> chore.Response
0, // 24: chore.Chore.AnswerInfo:output_type -> chore.Response
0, // 25: chore.Chore.AnswerCreate:output_type -> chore.Response
0, // 26: chore.Chore.AnswerEdit:output_type -> chore.Response
0, // 27: chore.Chore.SystemEdit:output_type -> chore.Response
0, // 28: chore.Chore.SystemStatus:output_type -> chore.Response
0, // 29: chore.Chore.SystemInfo:output_type -> chore.Response
0, // 30: chore.Chore.SystemItems:output_type -> chore.Response
12, // 31: chore.Chore.RegionsByIds:output_type -> chore.RegionsByIdsData
15, // 32: chore.Chore.SendPassword:output_type -> chore.SendPasswordResp
17, // [17:33] is the sub-list for method output_type
1, // [1:17] 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
@@ -892,7 +1026,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: 14,
NumMessages: 16,
NumExtensions: 0,
NumServices: 1,
},