parent
92158f0885
commit
4b8062a487
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProtobufLanguageSettings">
|
||||||
|
<option name="autoConfigEnabled" value="false" />
|
||||||
|
<option name="importPathEntries">
|
||||||
|
<list>
|
||||||
|
<ImportPathEntry>
|
||||||
|
<option name="location" value="file://$USER_HOME$/AppData/Local/JetBrains/GoLand2022.3/protoeditor" />
|
||||||
|
</ImportPathEntry>
|
||||||
|
<ImportPathEntry>
|
||||||
|
<option name="location" value="file://$PROJECT_DIR$/backend/customer/third_party" />
|
||||||
|
</ImportPathEntry>
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
<option name="descriptorPath" value="google/protobuf/descriptor.proto" />
|
||||||
|
</component>
|
||||||
|
</project>
|
@ -0,0 +1,287 @@
|
|||||||
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// protoc-gen-go v1.29.0
|
||||||
|
// protoc v3.14.0
|
||||||
|
// source: api/verifyCode/verifyCode.proto
|
||||||
|
|
||||||
|
package verifyCode
|
||||||
|
|
||||||
|
import (
|
||||||
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||||
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||||
|
reflect "reflect"
|
||||||
|
sync "sync"
|
||||||
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
// Verify that this generated code is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
||||||
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
||||||
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
|
)
|
||||||
|
|
||||||
|
type TYPE int32
|
||||||
|
|
||||||
|
const (
|
||||||
|
TYPE_DEFAULT TYPE = 0
|
||||||
|
TYPE_DIGIT TYPE = 1
|
||||||
|
TYPE_LETTER TYPE = 2
|
||||||
|
TYPE_MIXED TYPE = 3
|
||||||
|
)
|
||||||
|
|
||||||
|
// Enum value maps for TYPE.
|
||||||
|
var (
|
||||||
|
TYPE_name = map[int32]string{
|
||||||
|
0: "DEFAULT",
|
||||||
|
1: "DIGIT",
|
||||||
|
2: "LETTER",
|
||||||
|
3: "MIXED",
|
||||||
|
}
|
||||||
|
TYPE_value = map[string]int32{
|
||||||
|
"DEFAULT": 0,
|
||||||
|
"DIGIT": 1,
|
||||||
|
"LETTER": 2,
|
||||||
|
"MIXED": 3,
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
|
func (x TYPE) Enum() *TYPE {
|
||||||
|
p := new(TYPE)
|
||||||
|
*p = x
|
||||||
|
return p
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x TYPE) String() string {
|
||||||
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
||||||
|
}
|
||||||
|
|
||||||
|
func (TYPE) Descriptor() protoreflect.EnumDescriptor {
|
||||||
|
return file_api_verifyCode_verifyCode_proto_enumTypes[0].Descriptor()
|
||||||
|
}
|
||||||
|
|
||||||
|
func (TYPE) Type() protoreflect.EnumType {
|
||||||
|
return &file_api_verifyCode_verifyCode_proto_enumTypes[0]
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x TYPE) Number() protoreflect.EnumNumber {
|
||||||
|
return protoreflect.EnumNumber(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use TYPE.Descriptor instead.
|
||||||
|
func (TYPE) EnumDescriptor() ([]byte, []int) {
|
||||||
|
return file_api_verifyCode_verifyCode_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
type GetVerifyCodeRequest struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Length uint32 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
|
||||||
|
Type TYPE `protobuf:"varint,2,opt,name=type,proto3,enum=api.verifyCode.TYPE" json:"type,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetVerifyCodeRequest) Reset() {
|
||||||
|
*x = GetVerifyCodeRequest{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_api_verifyCode_verifyCode_proto_msgTypes[0]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetVerifyCodeRequest) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*GetVerifyCodeRequest) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *GetVerifyCodeRequest) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_api_verifyCode_verifyCode_proto_msgTypes[0]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use GetVerifyCodeRequest.ProtoReflect.Descriptor instead.
|
||||||
|
func (*GetVerifyCodeRequest) Descriptor() ([]byte, []int) {
|
||||||
|
return file_api_verifyCode_verifyCode_proto_rawDescGZIP(), []int{0}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetVerifyCodeRequest) GetLength() uint32 {
|
||||||
|
if x != nil {
|
||||||
|
return x.Length
|
||||||
|
}
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetVerifyCodeRequest) GetType() TYPE {
|
||||||
|
if x != nil {
|
||||||
|
return x.Type
|
||||||
|
}
|
||||||
|
return TYPE_DEFAULT
|
||||||
|
}
|
||||||
|
|
||||||
|
type GetVerifyCodeReply struct {
|
||||||
|
state protoimpl.MessageState
|
||||||
|
sizeCache protoimpl.SizeCache
|
||||||
|
unknownFields protoimpl.UnknownFields
|
||||||
|
|
||||||
|
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetVerifyCodeReply) Reset() {
|
||||||
|
*x = GetVerifyCodeReply{}
|
||||||
|
if protoimpl.UnsafeEnabled {
|
||||||
|
mi := &file_api_verifyCode_verifyCode_proto_msgTypes[1]
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetVerifyCodeReply) String() string {
|
||||||
|
return protoimpl.X.MessageStringOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
func (*GetVerifyCodeReply) ProtoMessage() {}
|
||||||
|
|
||||||
|
func (x *GetVerifyCodeReply) ProtoReflect() protoreflect.Message {
|
||||||
|
mi := &file_api_verifyCode_verifyCode_proto_msgTypes[1]
|
||||||
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
|
if ms.LoadMessageInfo() == nil {
|
||||||
|
ms.StoreMessageInfo(mi)
|
||||||
|
}
|
||||||
|
return ms
|
||||||
|
}
|
||||||
|
return mi.MessageOf(x)
|
||||||
|
}
|
||||||
|
|
||||||
|
// Deprecated: Use GetVerifyCodeReply.ProtoReflect.Descriptor instead.
|
||||||
|
func (*GetVerifyCodeReply) Descriptor() ([]byte, []int) {
|
||||||
|
return file_api_verifyCode_verifyCode_proto_rawDescGZIP(), []int{1}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (x *GetVerifyCodeReply) GetCode() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Code
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
|
var File_api_verifyCode_verifyCode_proto protoreflect.FileDescriptor
|
||||||
|
|
||||||
|
var file_api_verifyCode_verifyCode_proto_rawDesc = []byte{
|
||||||
|
0x0a, 0x1f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65,
|
||||||
|
0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||||
|
0x6f, 0x12, 0x0e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64,
|
||||||
|
0x65, 0x22, 0x58, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f,
|
||||||
|
0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x6e,
|
||||||
|
0x67, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74,
|
||||||
|
0x68, 0x12, 0x28, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
||||||
|
0x14, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65,
|
||||||
|
0x2e, 0x54, 0x59, 0x50, 0x45, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x28, 0x0a, 0x12, 0x47,
|
||||||
|
0x65, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c,
|
||||||
|
0x79, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
||||||
|
0x04, 0x63, 0x6f, 0x64, 0x65, 0x2a, 0x35, 0x0a, 0x04, 0x54, 0x59, 0x50, 0x45, 0x12, 0x0b, 0x0a,
|
||||||
|
0x07, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x49,
|
||||||
|
0x47, 0x49, 0x54, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x45, 0x54, 0x54, 0x45, 0x52, 0x10,
|
||||||
|
0x02, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x49, 0x58, 0x45, 0x44, 0x10, 0x03, 0x32, 0x67, 0x0a, 0x0a,
|
||||||
|
0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x59, 0x0a, 0x0d, 0x47, 0x65,
|
||||||
|
0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x2e, 0x61, 0x70,
|
||||||
|
0x69, 0x2e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x2e, 0x47, 0x65, 0x74,
|
||||||
|
0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
||||||
|
0x74, 0x1a, 0x22, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f,
|
||||||
|
0x64, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65,
|
||||||
|
0x52, 0x65, 0x70, 0x6c, 0x79, 0x42, 0x26, 0x5a, 0x24, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43,
|
||||||
|
0x6f, 0x64, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f,
|
||||||
|
0x64, 0x65, 0x3b, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x6f, 0x64, 0x65, 0x62, 0x06, 0x70,
|
||||||
|
0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||||
|
}
|
||||||
|
|
||||||
|
var (
|
||||||
|
file_api_verifyCode_verifyCode_proto_rawDescOnce sync.Once
|
||||||
|
file_api_verifyCode_verifyCode_proto_rawDescData = file_api_verifyCode_verifyCode_proto_rawDesc
|
||||||
|
)
|
||||||
|
|
||||||
|
func file_api_verifyCode_verifyCode_proto_rawDescGZIP() []byte {
|
||||||
|
file_api_verifyCode_verifyCode_proto_rawDescOnce.Do(func() {
|
||||||
|
file_api_verifyCode_verifyCode_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_verifyCode_verifyCode_proto_rawDescData)
|
||||||
|
})
|
||||||
|
return file_api_verifyCode_verifyCode_proto_rawDescData
|
||||||
|
}
|
||||||
|
|
||||||
|
var file_api_verifyCode_verifyCode_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
||||||
|
var file_api_verifyCode_verifyCode_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
||||||
|
var file_api_verifyCode_verifyCode_proto_goTypes = []interface{}{
|
||||||
|
(TYPE)(0), // 0: api.verifyCode.TYPE
|
||||||
|
(*GetVerifyCodeRequest)(nil), // 1: api.verifyCode.GetVerifyCodeRequest
|
||||||
|
(*GetVerifyCodeReply)(nil), // 2: api.verifyCode.GetVerifyCodeReply
|
||||||
|
}
|
||||||
|
var file_api_verifyCode_verifyCode_proto_depIdxs = []int32{
|
||||||
|
0, // 0: api.verifyCode.GetVerifyCodeRequest.type:type_name -> api.verifyCode.TYPE
|
||||||
|
1, // 1: api.verifyCode.VerifyCode.GetVerifyCode:input_type -> api.verifyCode.GetVerifyCodeRequest
|
||||||
|
2, // 2: api.verifyCode.VerifyCode.GetVerifyCode:output_type -> api.verifyCode.GetVerifyCodeReply
|
||||||
|
2, // [2:3] is the sub-list for method output_type
|
||||||
|
1, // [1:2] 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
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { file_api_verifyCode_verifyCode_proto_init() }
|
||||||
|
func file_api_verifyCode_verifyCode_proto_init() {
|
||||||
|
if File_api_verifyCode_verifyCode_proto != nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if !protoimpl.UnsafeEnabled {
|
||||||
|
file_api_verifyCode_verifyCode_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*GetVerifyCodeRequest); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
file_api_verifyCode_verifyCode_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||||
|
switch v := v.(*GetVerifyCodeReply); i {
|
||||||
|
case 0:
|
||||||
|
return &v.state
|
||||||
|
case 1:
|
||||||
|
return &v.sizeCache
|
||||||
|
case 2:
|
||||||
|
return &v.unknownFields
|
||||||
|
default:
|
||||||
|
return nil
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
type x struct{}
|
||||||
|
out := protoimpl.TypeBuilder{
|
||||||
|
File: protoimpl.DescBuilder{
|
||||||
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||||
|
RawDescriptor: file_api_verifyCode_verifyCode_proto_rawDesc,
|
||||||
|
NumEnums: 1,
|
||||||
|
NumMessages: 2,
|
||||||
|
NumExtensions: 0,
|
||||||
|
NumServices: 1,
|
||||||
|
},
|
||||||
|
GoTypes: file_api_verifyCode_verifyCode_proto_goTypes,
|
||||||
|
DependencyIndexes: file_api_verifyCode_verifyCode_proto_depIdxs,
|
||||||
|
EnumInfos: file_api_verifyCode_verifyCode_proto_enumTypes,
|
||||||
|
MessageInfos: file_api_verifyCode_verifyCode_proto_msgTypes,
|
||||||
|
}.Build()
|
||||||
|
File_api_verifyCode_verifyCode_proto = out.File
|
||||||
|
file_api_verifyCode_verifyCode_proto_rawDesc = nil
|
||||||
|
file_api_verifyCode_verifyCode_proto_goTypes = nil
|
||||||
|
file_api_verifyCode_verifyCode_proto_depIdxs = nil
|
||||||
|
}
|
@ -0,0 +1,109 @@
|
|||||||
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
||||||
|
// versions:
|
||||||
|
// - protoc-gen-go-grpc v1.3.0
|
||||||
|
// - protoc v3.14.0
|
||||||
|
// source: api/verifyCode/verifyCode.proto
|
||||||
|
|
||||||
|
package verifyCode
|
||||||
|
|
||||||
|
import (
|
||||||
|
context "context"
|
||||||
|
grpc "google.golang.org/grpc"
|
||||||
|
codes "google.golang.org/grpc/codes"
|
||||||
|
status "google.golang.org/grpc/status"
|
||||||
|
)
|
||||||
|
|
||||||
|
// This is a compile-time assertion to ensure that this generated file
|
||||||
|
// is compatible with the grpc package it is being compiled against.
|
||||||
|
// Requires gRPC-Go v1.32.0 or later.
|
||||||
|
const _ = grpc.SupportPackageIsVersion7
|
||||||
|
|
||||||
|
const (
|
||||||
|
VerifyCode_GetVerifyCode_FullMethodName = "/api.verifyCode.VerifyCode/GetVerifyCode"
|
||||||
|
)
|
||||||
|
|
||||||
|
// VerifyCodeClient is the client API for VerifyCode service.
|
||||||
|
//
|
||||||
|
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
||||||
|
type VerifyCodeClient interface {
|
||||||
|
GetVerifyCode(ctx context.Context, in *GetVerifyCodeRequest, opts ...grpc.CallOption) (*GetVerifyCodeReply, error)
|
||||||
|
}
|
||||||
|
|
||||||
|
type verifyCodeClient struct {
|
||||||
|
cc grpc.ClientConnInterface
|
||||||
|
}
|
||||||
|
|
||||||
|
func NewVerifyCodeClient(cc grpc.ClientConnInterface) VerifyCodeClient {
|
||||||
|
return &verifyCodeClient{cc}
|
||||||
|
}
|
||||||
|
|
||||||
|
func (c *verifyCodeClient) GetVerifyCode(ctx context.Context, in *GetVerifyCodeRequest, opts ...grpc.CallOption) (*GetVerifyCodeReply, error) {
|
||||||
|
out := new(GetVerifyCodeReply)
|
||||||
|
err := c.cc.Invoke(ctx, VerifyCode_GetVerifyCode_FullMethodName, in, out, opts...)
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
return out, nil
|
||||||
|
}
|
||||||
|
|
||||||
|
// VerifyCodeServer is the server API for VerifyCode service.
|
||||||
|
// All implementations must embed UnimplementedVerifyCodeServer
|
||||||
|
// for forward compatibility
|
||||||
|
type VerifyCodeServer interface {
|
||||||
|
GetVerifyCode(context.Context, *GetVerifyCodeRequest) (*GetVerifyCodeReply, error)
|
||||||
|
mustEmbedUnimplementedVerifyCodeServer()
|
||||||
|
}
|
||||||
|
|
||||||
|
// UnimplementedVerifyCodeServer must be embedded to have forward compatible implementations.
|
||||||
|
type UnimplementedVerifyCodeServer struct {
|
||||||
|
}
|
||||||
|
|
||||||
|
func (UnimplementedVerifyCodeServer) GetVerifyCode(context.Context, *GetVerifyCodeRequest) (*GetVerifyCodeReply, error) {
|
||||||
|
return nil, status.Errorf(codes.Unimplemented, "method GetVerifyCode not implemented")
|
||||||
|
}
|
||||||
|
func (UnimplementedVerifyCodeServer) mustEmbedUnimplementedVerifyCodeServer() {}
|
||||||
|
|
||||||
|
// UnsafeVerifyCodeServer may be embedded to opt out of forward compatibility for this service.
|
||||||
|
// Use of this interface is not recommended, as added methods to VerifyCodeServer will
|
||||||
|
// result in compilation errors.
|
||||||
|
type UnsafeVerifyCodeServer interface {
|
||||||
|
mustEmbedUnimplementedVerifyCodeServer()
|
||||||
|
}
|
||||||
|
|
||||||
|
func RegisterVerifyCodeServer(s grpc.ServiceRegistrar, srv VerifyCodeServer) {
|
||||||
|
s.RegisterService(&VerifyCode_ServiceDesc, srv)
|
||||||
|
}
|
||||||
|
|
||||||
|
func _VerifyCode_GetVerifyCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
|
in := new(GetVerifyCodeRequest)
|
||||||
|
if err := dec(in); err != nil {
|
||||||
|
return nil, err
|
||||||
|
}
|
||||||
|
if interceptor == nil {
|
||||||
|
return srv.(VerifyCodeServer).GetVerifyCode(ctx, in)
|
||||||
|
}
|
||||||
|
info := &grpc.UnaryServerInfo{
|
||||||
|
Server: srv,
|
||||||
|
FullMethod: VerifyCode_GetVerifyCode_FullMethodName,
|
||||||
|
}
|
||||||
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
|
return srv.(VerifyCodeServer).GetVerifyCode(ctx, req.(*GetVerifyCodeRequest))
|
||||||
|
}
|
||||||
|
return interceptor(ctx, in, info, handler)
|
||||||
|
}
|
||||||
|
|
||||||
|
// VerifyCode_ServiceDesc is the grpc.ServiceDesc for VerifyCode service.
|
||||||
|
// It's only intended for direct use with grpc.RegisterService,
|
||||||
|
// and not to be introspected or modified (even as a copy)
|
||||||
|
var VerifyCode_ServiceDesc = grpc.ServiceDesc{
|
||||||
|
ServiceName: "api.verifyCode.VerifyCode",
|
||||||
|
HandlerType: (*VerifyCodeServer)(nil),
|
||||||
|
Methods: []grpc.MethodDesc{
|
||||||
|
{
|
||||||
|
MethodName: "GetVerifyCode",
|
||||||
|
Handler: _VerifyCode_GetVerifyCode_Handler,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
Streams: []grpc.StreamDesc{},
|
||||||
|
Metadata: "api/verifyCode/verifyCode.proto",
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,26 @@
|
|||||||
|
services:
|
||||||
|
consul:
|
||||||
|
container_name: laomaDJConsul
|
||||||
|
image: consul
|
||||||
|
ports:
|
||||||
|
- "8500:8500"
|
||||||
|
command: agent -dev -client=0.0.0.0
|
||||||
|
redis:
|
||||||
|
container_name: laomaDJRedis
|
||||||
|
image: redis
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
volumes:
|
||||||
|
- ./data/redis:/data
|
||||||
|
mysql:
|
||||||
|
container_name: laomaDJMySQL
|
||||||
|
image: mysql
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
||||||
|
environment:
|
||||||
|
MYSQL_ROOT_PASSWORD: mashibing
|
||||||
|
MYSQL_DATABASE: laomadj_customer
|
||||||
|
# command: --init-file /docker-entrypoint-initdb.d/init.sql
|
||||||
|
volumes:
|
||||||
|
- ./volumes/mysql/data:/var/lib/mysql
|
||||||
|
# - ./volumes/mysql/init.sql:/docker-entrypoint-initdb.d/init.sql
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,7 @@
|
|||||||
./binlog.000001
|
./binlog.000001
|
||||||
./binlog.000002
|
./binlog.000002
|
||||||
|
./binlog.000003
|
||||||
|
./binlog.000004
|
||||||
|
./binlog.000005
|
||||||
|
./binlog.000006
|
||||||
|
./binlog.000007
|
||||||
|
@ -1,382 +1,247 @@
|
|||||||
4294967294,5
|
4294967278,289
|
||||||
4294967278,132
|
4294967293,131
|
||||||
4294967278,131
|
4294967293,130
|
||||||
4294967278,130
|
4294967293,129
|
||||||
4294967278,129
|
4294967293,128
|
||||||
4294967278,128
|
4294967293,127
|
||||||
4294967278,127
|
4294967293,126
|
||||||
4294967278,126
|
4294967293,125
|
||||||
4294967278,125
|
4294967293,124
|
||||||
4294967278,124
|
4294967293,123
|
||||||
4294967278,123
|
4294967293,122
|
||||||
4294967278,122
|
4294967293,121
|
||||||
4294967278,121
|
4294967293,120
|
||||||
4294967278,120
|
4294967293,119
|
||||||
4294967278,119
|
4294967293,118
|
||||||
4294967278,118
|
4294967293,117
|
||||||
4294967278,117
|
4294967293,116
|
||||||
4294967278,116
|
4294967293,115
|
||||||
4294967278,115
|
4294967293,114
|
||||||
4294967278,114
|
4294967293,113
|
||||||
4294967278,113
|
4294967293,112
|
||||||
4294967278,112
|
4294967293,111
|
||||||
4294967278,111
|
4294967293,110
|
||||||
4294967278,110
|
4294967293,109
|
||||||
4294967278,109
|
4294967293,108
|
||||||
4294967278,108
|
4294967293,107
|
||||||
4294967278,107
|
4294967293,106
|
||||||
4294967278,106
|
4294967293,105
|
||||||
4294967278,105
|
4294967293,104
|
||||||
4294967278,104
|
4294967293,103
|
||||||
4294967278,103
|
4294967293,102
|
||||||
4294967278,102
|
4294967293,101
|
||||||
4294967278,101
|
4294967293,100
|
||||||
4294967278,100
|
4294967293,99
|
||||||
4294967278,99
|
4294967293,98
|
||||||
4294967278,98
|
4294967293,97
|
||||||
4294967278,97
|
4294967293,96
|
||||||
4294967278,96
|
4294967293,95
|
||||||
4294967278,95
|
4294967293,94
|
||||||
4294967278,94
|
4294967293,93
|
||||||
4294967278,93
|
4294967293,92
|
||||||
4294967278,92
|
4294967293,91
|
||||||
4294967278,91
|
4294967293,90
|
||||||
4294967278,90
|
4294967293,89
|
||||||
4294967278,89
|
4294967293,88
|
||||||
4294967278,87
|
4294967293,87
|
||||||
4294967278,86
|
4294967293,86
|
||||||
4294967278,85
|
4294967293,85
|
||||||
4294967278,84
|
4294967293,84
|
||||||
4294967278,83
|
4294967293,83
|
||||||
4294967278,82
|
4294967293,82
|
||||||
4294967278,81
|
4294967293,81
|
||||||
4294967278,80
|
4294967293,80
|
||||||
4294967278,79
|
4294967293,79
|
||||||
4294967278,78
|
4294967293,78
|
||||||
4294967278,77
|
4294967293,77
|
||||||
4294967278,76
|
4294967293,76
|
||||||
4294967278,75
|
4294967293,75
|
||||||
4294967278,74
|
4294967293,74
|
||||||
4294967278,73
|
4294967293,73
|
||||||
4294967278,72
|
4294967293,72
|
||||||
4294967278,71
|
4294967293,71
|
||||||
4294967278,70
|
4294967293,70
|
||||||
4294967278,69
|
4294967293,69
|
||||||
4294967278,68
|
4294967293,68
|
||||||
4294967278,67
|
4294967293,67
|
||||||
4294967278,66
|
4294967293,66
|
||||||
4294967278,65
|
4294967293,65
|
||||||
4294967278,64
|
4294967293,64
|
||||||
4294967278,63
|
4294967293,63
|
||||||
4294967278,62
|
4294967293,62
|
||||||
4294967278,61
|
4294967293,61
|
||||||
4294967278,60
|
4294967293,60
|
||||||
4294967278,59
|
4294967293,59
|
||||||
4294967278,58
|
4294967293,58
|
||||||
4294967278,57
|
4294967293,57
|
||||||
4294967278,56
|
4294967293,56
|
||||||
4294967278,55
|
4294967293,55
|
||||||
4294967278,54
|
4294967293,54
|
||||||
4294967278,53
|
4294967293,53
|
||||||
4294967278,52
|
4294967293,52
|
||||||
4294967278,51
|
4294967293,51
|
||||||
4294967278,50
|
4294967293,50
|
||||||
4294967278,49
|
4294967293,49
|
||||||
4294967278,48
|
4294967293,48
|
||||||
4294967278,47
|
4294967293,47
|
||||||
4294967278,46
|
4294967293,46
|
||||||
4294967278,45
|
4294967293,45
|
||||||
4294967278,44
|
4294967293,44
|
||||||
4294967278,43
|
4294967293,43
|
||||||
4294967278,42
|
4294967293,42
|
||||||
4294967278,41
|
4294967293,41
|
||||||
4294967278,40
|
4294967293,40
|
||||||
4294967278,39
|
4294967293,39
|
||||||
4294967278,38
|
4294967293,38
|
||||||
4294967278,37
|
4294967293,37
|
||||||
4294967278,36
|
4294967293,36
|
||||||
4294967278,35
|
4294967293,35
|
||||||
4294967278,34
|
4294967293,34
|
||||||
4294967278,33
|
4294967293,33
|
||||||
4294967278,32
|
4294967293,32
|
||||||
4294967278,31
|
4294967293,31
|
||||||
4294967278,30
|
4294967293,30
|
||||||
4294967278,29
|
4294967293,29
|
||||||
4294967278,28
|
4294967293,28
|
||||||
4294967278,27
|
4294967293,27
|
||||||
4294967278,26
|
4294967293,26
|
||||||
4294967278,25
|
4294967293,25
|
||||||
4294967278,24
|
4294967293,24
|
||||||
4294967278,23
|
4294967293,23
|
||||||
4294967278,22
|
4294967293,22
|
||||||
4294967278,20
|
4294967293,21
|
||||||
4294967278,18
|
4294967293,20
|
||||||
4294967278,17
|
4294967293,19
|
||||||
4294967278,272
|
4294967293,18
|
||||||
4294967278,16
|
4294967293,17
|
||||||
4294967278,15
|
4294967293,16
|
||||||
4294967278,14
|
4294967293,15
|
||||||
4294967278,13
|
4294967293,14
|
||||||
4294967278,12
|
4294967293,13
|
||||||
4294967278,11
|
4294967293,12
|
||||||
4294967278,10
|
4294967293,11
|
||||||
4294967278,9
|
4294967293,10
|
||||||
4294967278,8
|
4294967293,9
|
||||||
4294967278,263
|
4294967293,8
|
||||||
4294967278,7
|
4294967293,7
|
||||||
4294967278,6
|
4294967293,6
|
||||||
4294967278,5
|
4294967293,5
|
||||||
4294967278,259
|
4294967293,4
|
||||||
4294967278,4
|
4294967293,3
|
||||||
4294967279,132
|
4294967293,2
|
||||||
4294967279,131
|
4243767290,0
|
||||||
4294967279,130
|
4243767289,0
|
||||||
4294967279,129
|
4243767288,0
|
||||||
4294967279,128
|
4243767287,0
|
||||||
4294967279,127
|
4243767286,0
|
||||||
4294967279,126
|
4243767285,0
|
||||||
4294967279,125
|
4243767284,0
|
||||||
4294967279,124
|
4243767283,0
|
||||||
4294967279,123
|
4243767282,0
|
||||||
4294967279,122
|
4243767281,0
|
||||||
4294967279,121
|
4294967293,0
|
||||||
4294967279,120
|
4294967279,138
|
||||||
4294967279,119
|
4294967279,25
|
||||||
4294967279,118
|
4294967279,139
|
||||||
4294967279,117
|
4294967279,26
|
||||||
4294967279,116
|
4294967279,140
|
||||||
4294967279,115
|
4294967279,141
|
||||||
4294967279,114
|
4294967279,27
|
||||||
4294967279,113
|
4294967279,142
|
||||||
4294967279,112
|
4294967279,28
|
||||||
4294967279,111
|
4294967279,29
|
||||||
4294967279,110
|
4294967279,143
|
||||||
4294967279,109
|
4294967279,30
|
||||||
4294967279,108
|
4294967279,144
|
||||||
4294967279,107
|
4294967279,145
|
||||||
4294967279,106
|
4294967279,31
|
||||||
4294967279,105
|
4294967279,146
|
||||||
4294967279,18
|
4294967279,32
|
||||||
4294967279,17
|
4294967279,33
|
||||||
4294967279,16
|
4294967279,147
|
||||||
4294967279,15
|
4294967279,34
|
||||||
4294967279,14
|
4294967279,148
|
||||||
4294967279,13
|
4294967279,149
|
||||||
4294967279,12
|
4294967279,35
|
||||||
4294967279,11
|
4294967279,150
|
||||||
4294967279,9
|
4294967279,36
|
||||||
4294967279,8
|
4294967279,37
|
||||||
4294967279,7
|
4294967279,151
|
||||||
4294967279,6
|
4294967279,152
|
||||||
4294967279,260
|
4294967279,38
|
||||||
4294967279,5
|
4294967279,153
|
||||||
4294967279,4
|
4294967279,39
|
||||||
4294967294,69
|
4294967279,40
|
||||||
4294967294,68
|
4294967279,154
|
||||||
4294967294,1412
|
4294967279,41
|
||||||
4294967294,1411
|
4294967279,158
|
||||||
4294967294,1410
|
4294967279,155
|
||||||
4294967278,133
|
4294967279,42
|
||||||
4294967278,21
|
4294967279,156
|
||||||
4294967279,272
|
4294967279,157
|
||||||
4294967294,445
|
4294967279,43
|
||||||
4294967294,103
|
4294967279,159
|
||||||
4294967294,66
|
4294967279,44
|
||||||
4294967294,388
|
4294967279,45
|
||||||
4294967294,166
|
4294967279,160
|
||||||
4294967294,168
|
4294967279,46
|
||||||
4294967294,161
|
4294967279,161
|
||||||
4294967294,113
|
4294967279,162
|
||||||
4294967294,42
|
4294967279,47
|
||||||
4294967294,99
|
4294967279,163
|
||||||
4294967294,76
|
4294967279,48
|
||||||
4294967294,36
|
4294967279,49
|
||||||
4294967294,39
|
4294967279,164
|
||||||
4294967294,115
|
4294967279,165
|
||||||
4294967294,43
|
4294967279,166
|
||||||
4294967294,387
|
4294967279,50
|
||||||
4294967294,51
|
4294967279,51
|
||||||
4294967294,52
|
4294967279,52
|
||||||
4294967294,112
|
4294967279,53
|
||||||
4294967294,167
|
4294967279,167
|
||||||
4294967294,162
|
4294967279,169
|
||||||
4294967294,92
|
4294967279,170
|
||||||
4294967294,35
|
4294967279,168
|
||||||
4294967294,441
|
4294967279,54
|
||||||
4294967294,519
|
4294967279,55
|
||||||
4294967294,442
|
4294967279,56
|
||||||
4294967294,426
|
4294967279,171
|
||||||
4294967294,427
|
4294967279,57
|
||||||
4294967294,429
|
4294967279,172
|
||||||
4294967294,535
|
4294967279,173
|
||||||
4294967294,422
|
4294967279,58
|
||||||
4294967279,270
|
4294967279,175
|
||||||
4294967294,425
|
4294967279,59
|
||||||
4294967294,431
|
4294967279,60
|
||||||
4294967278,19
|
4294967279,176
|
||||||
4294967294,1404
|
4294967279,61
|
||||||
4294967278,493
|
4294967279,177
|
||||||
4294967294,1403
|
4294967279,178
|
||||||
4294967278,492
|
4294967279,62
|
||||||
4294967294,1402
|
4294967279,179
|
||||||
4294967294,1401
|
4294967279,63
|
||||||
4294967278,491
|
4294967279,64
|
||||||
4294967294,1400
|
4294967279,65
|
||||||
4294967278,490
|
4294967279,181
|
||||||
4294967294,1399
|
4294967279,182
|
||||||
4294967294,1398
|
4294967279,180
|
||||||
4294967278,489
|
4294967279,66
|
||||||
4294967294,1397
|
4294967279,67
|
||||||
4294967278,488
|
4294967279,68
|
||||||
4294967294,1396
|
4294967279,184
|
||||||
4294967294,1409
|
4294967279,183
|
||||||
4294967278,487
|
4294967279,185
|
||||||
4294967294,1395
|
4294967279,69
|
||||||
4294967278,486
|
4294967279,70
|
||||||
4294967294,1394
|
4294967279,71
|
||||||
4294967294,1393
|
4294967279,186
|
||||||
4294967294,0
|
4294967279,187
|
||||||
4294967294,1408
|
4294967279,188
|
||||||
4294967294,1151
|
4294967279,72
|
||||||
4294967278,485
|
4294967279,189
|
||||||
4294967294,1392
|
4294967279,73
|
||||||
4294967278,484
|
4294967279,74
|
||||||
4294967294,1391
|
4294967279,190
|
||||||
4294967278,483
|
4294967279,75
|
||||||
4294967294,1390
|
4294967279,191
|
||||||
4294967294,1389
|
4294967279,192
|
||||||
4294967278,482
|
|
||||||
4294967294,1388
|
|
||||||
4294967278,481
|
|
||||||
4294967294,1387
|
|
||||||
4294967294,1150
|
|
||||||
4294967294,1386
|
|
||||||
4294967278,480
|
|
||||||
4294967294,1385
|
|
||||||
4294967278,479
|
|
||||||
4294967294,1384
|
|
||||||
4294967278,478
|
|
||||||
4294967294,1383
|
|
||||||
4294967294,1382
|
|
||||||
4294967278,477
|
|
||||||
4294967294,1381
|
|
||||||
4294967278,476
|
|
||||||
4294967294,1380
|
|
||||||
4294967294,1379
|
|
||||||
4294967278,475
|
|
||||||
4294967294,1378
|
|
||||||
4294967278,474
|
|
||||||
4294967294,1377
|
|
||||||
4294967294,1376
|
|
||||||
4294967278,473
|
|
||||||
4294967294,1375
|
|
||||||
4294967278,472
|
|
||||||
4294967294,1374
|
|
||||||
4294967294,1149
|
|
||||||
4294967278,471
|
|
||||||
4294967294,1373
|
|
||||||
4294967294,1372
|
|
||||||
4294967278,470
|
|
||||||
4294967294,1371
|
|
||||||
4294967278,469
|
|
||||||
4294967294,1370
|
|
||||||
4294967294,1148
|
|
||||||
4294967278,468
|
|
||||||
4294967294,1369
|
|
||||||
4294967294,1368
|
|
||||||
4294967278,467
|
|
||||||
4294967294,1367
|
|
||||||
4294967278,466
|
|
||||||
4294967294,1366
|
|
||||||
4294967294,1365
|
|
||||||
4294967278,465
|
|
||||||
4294967294,1364
|
|
||||||
4294967278,464
|
|
||||||
4294967294,1363
|
|
||||||
4294967294,1362
|
|
||||||
4294967278,463
|
|
||||||
4294967294,1361
|
|
||||||
4294967278,462
|
|
||||||
4294967294,1360
|
|
||||||
4294967294,1359
|
|
||||||
4294967278,461
|
|
||||||
4294967294,1358
|
|
||||||
4294967294,1147
|
|
||||||
4294967278,460
|
|
||||||
4294967294,1357
|
|
||||||
4294967294,1146
|
|
||||||
4294967278,459
|
|
||||||
4294967294,1356
|
|
||||||
4294967294,1355
|
|
||||||
4294967278,458
|
|
||||||
4294967294,1354
|
|
||||||
4294967278,457
|
|
||||||
4294967294,1353
|
|
||||||
4294967278,456
|
|
||||||
4294967294,1352
|
|
||||||
4294967278,455
|
|
||||||
4294967294,1351
|
|
||||||
4294967294,1145
|
|
||||||
4294967294,1350
|
|
||||||
4294967278,454
|
|
||||||
4294967294,1349
|
|
||||||
4294967278,453
|
|
||||||
4294967294,1348
|
|
||||||
4294967278,452
|
|
||||||
4294967294,1347
|
|
||||||
4294967294,1346
|
|
||||||
4294967278,451
|
|
||||||
4294967294,1345
|
|
||||||
4294967278,450
|
|
||||||
4294967294,1344
|
|
||||||
4294967294,1144
|
|
||||||
4294967278,449
|
|
||||||
4294967294,1343
|
|
||||||
4294967294,1342
|
|
||||||
4294967278,448
|
|
||||||
4294967294,1341
|
|
||||||
4294967278,447
|
|
||||||
4294967294,1340
|
|
||||||
4294967294,1339
|
|
||||||
4294967278,446
|
|
||||||
4294967294,1338
|
|
||||||
4294967278,445
|
|
||||||
4294967294,1337
|
|
||||||
4294967278,444
|
|
||||||
4294967294,1336
|
|
||||||
4294967294,1335
|
|
||||||
4294967278,443
|
|
||||||
4294967294,1334
|
|
||||||
4294967294,1143
|
|
||||||
4294967278,442
|
|
||||||
4294967294,1333
|
|
||||||
4294967294,1332
|
|
||||||
4294967278,441
|
|
||||||
4294967294,1331
|
|
||||||
4294967278,440
|
|
||||||
4294967294,1330
|
|
||||||
4294967294,1142
|
|
||||||
4294967278,439
|
|
||||||
4294967294,1329
|
|
||||||
4294967294,1328
|
|
||||||
4294967278,438
|
|
||||||
4294967294,1327
|
|
||||||
4294967294,1141
|
|
||||||
4294967278,437
|
|
||||||
4294967294,1326
|
|
||||||
4294967294,1325
|
|
||||||
4294967278,436
|
|
||||||
4294967294,1324
|
|
||||||
4294967278,435
|
|
||||||
4294967294,1323
|
|
||||||
4294967278,434
|
|
||||||
4294967294,1322
|
|
||||||
4294967294,1321
|
|
||||||
4294967278,433
|
|
||||||
4294967294,1320
|
|
||||||
4294967278,432
|
|
||||||
4294967294,1319
|
|
||||||
4294967294,1318
|
|
||||||
4294967278,431
|
|
||||||
4294967294,1317
|
|
||||||
4294967294,1140
|
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue