v1.5.1 增强程序稳定性
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.36.0
|
||||
// protoc v6.33.2
|
||||
// protoc-gen-go v1.36.11
|
||||
// protoc v3.19.6
|
||||
// source: models/model_admin.proto
|
||||
|
||||
package pb
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
unsafe "unsafe"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -138,43 +139,30 @@ func (x *Admin) GetHasWeakPassword() bool {
|
||||
|
||||
var File_models_model_admin_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_models_model_admin_proto_rawDesc = []byte{
|
||||
0x0a, 0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61,
|
||||
0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x02, 0x70, 0x62, 0x1a, 0x1f,
|
||||
0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x61, 0x64, 0x6d,
|
||||
0x69, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
|
||||
0x18, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6c, 0x6f,
|
||||
0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb3, 0x02, 0x0a, 0x05, 0x41, 0x64,
|
||||
0x6d, 0x69, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52,
|
||||
0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
||||
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x75, 0x6c, 0x6c, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
||||
0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
||||
0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x69,
|
||||
0x73, 0x4f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x69, 0x73, 0x4f, 0x6e, 0x12,
|
||||
0x18, 0x0a, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
|
||||
0x52, 0x07, 0x69, 0x73, 0x53, 0x75, 0x70, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x72, 0x65,
|
||||
0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72,
|
||||
0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x29, 0x0a, 0x07, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
|
||||
0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x62, 0x2e, 0x41, 0x64,
|
||||
0x6d, 0x69, 0x6e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x07, 0x4d, 0x6f, 0x64, 0x75, 0x6c,
|
||||
0x65, 0x73, 0x12, 0x25, 0x0a, 0x08, 0x6f, 0x74, 0x70, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x08,
|
||||
0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52,
|
||||
0x08, 0x6f, 0x74, 0x70, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x6e,
|
||||
0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x63, 0x61, 0x6e,
|
||||
0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x28, 0x0a, 0x0f, 0x68, 0x61, 0x73, 0x57, 0x65, 0x61, 0x6b,
|
||||
0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f,
|
||||
0x68, 0x61, 0x73, 0x57, 0x65, 0x61, 0x6b, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x42,
|
||||
0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
||||
}
|
||||
const file_models_model_admin_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"\x18models/model_admin.proto\x12\x02pb\x1a\x1fmodels/model_admin_module.proto\x1a\x18models/model_login.proto\"\xb3\x02\n" +
|
||||
"\x05Admin\x12\x0e\n" +
|
||||
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
|
||||
"\bfullname\x18\x02 \x01(\tR\bfullname\x12\x1a\n" +
|
||||
"\busername\x18\x03 \x01(\tR\busername\x12\x12\n" +
|
||||
"\x04isOn\x18\x04 \x01(\bR\x04isOn\x12\x18\n" +
|
||||
"\aisSuper\x18\x05 \x01(\bR\aisSuper\x12\x1c\n" +
|
||||
"\tcreatedAt\x18\x06 \x01(\x03R\tcreatedAt\x12)\n" +
|
||||
"\aModules\x18\a \x03(\v2\x0f.pb.AdminModuleR\aModules\x12%\n" +
|
||||
"\botpLogin\x18\b \x01(\v2\t.pb.LoginR\botpLogin\x12\x1a\n" +
|
||||
"\bcanLogin\x18\t \x01(\bR\bcanLogin\x12(\n" +
|
||||
"\x0fhasWeakPassword\x18\n" +
|
||||
" \x01(\bR\x0fhasWeakPasswordB\x06Z\x04./pbb\x06proto3"
|
||||
|
||||
var (
|
||||
file_models_model_admin_proto_rawDescOnce sync.Once
|
||||
file_models_model_admin_proto_rawDescData = file_models_model_admin_proto_rawDesc
|
||||
file_models_model_admin_proto_rawDescData []byte
|
||||
)
|
||||
|
||||
func file_models_model_admin_proto_rawDescGZIP() []byte {
|
||||
file_models_model_admin_proto_rawDescOnce.Do(func() {
|
||||
file_models_model_admin_proto_rawDescData = protoimpl.X.CompressGZIP(file_models_model_admin_proto_rawDescData)
|
||||
file_models_model_admin_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_models_model_admin_proto_rawDesc), len(file_models_model_admin_proto_rawDesc)))
|
||||
})
|
||||
return file_models_model_admin_proto_rawDescData
|
||||
}
|
||||
@@ -206,7 +194,7 @@ func file_models_model_admin_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_models_model_admin_proto_rawDesc,
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_models_model_admin_proto_rawDesc), len(file_models_model_admin_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 1,
|
||||
NumExtensions: 0,
|
||||
@@ -217,7 +205,6 @@ func file_models_model_admin_proto_init() {
|
||||
MessageInfos: file_models_model_admin_proto_msgTypes,
|
||||
}.Build()
|
||||
File_models_model_admin_proto = out.File
|
||||
file_models_model_admin_proto_rawDesc = nil
|
||||
file_models_model_admin_proto_goTypes = nil
|
||||
file_models_model_admin_proto_depIdxs = nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user