Files
lone-services/rpc/record/pb/record.pb.go
T
gjs 04402a8bdf
CI / changes (push) Successful in 36s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 18s
CI / chore (push) Successful in 0s
CI / equipment (push) Successful in 0s
CI / express (push) Successful in 0s
CI / product (push) Successful in 0s
CI / record (push) Successful in 20s
CI / sale (push) Successful in 0s
CI / task (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 1s
lonelog to record
2026-09-03 20:40:08 +08:00

592 lines
17 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v4.25.8
// source: record/record.proto
package record
import (
_ "google.golang.org/genproto/googleapis/api/annotations"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
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 ItemsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Type int32 `protobuf:"varint,3,opt,name=type,proto3" json:"type,omitempty"`
Ip string `protobuf:"bytes,4,opt,name=ip,proto3" json:"ip,omitempty"`
AdminId int64 `protobuf:"varint,5,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
Time []string `protobuf:"bytes,7,rep,name=time,proto3" json:"time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ItemsRequest) Reset() {
*x = ItemsRequest{}
mi := &file_record_record_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ItemsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ItemsRequest) ProtoMessage() {}
func (x *ItemsRequest) ProtoReflect() protoreflect.Message {
mi := &file_record_record_proto_msgTypes[0]
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 ItemsRequest.ProtoReflect.Descriptor instead.
func (*ItemsRequest) Descriptor() ([]byte, []int) {
return file_record_record_proto_rawDescGZIP(), []int{0}
}
func (x *ItemsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ItemsRequest) GetSize() int32 {
if x != nil {
return x.Size
}
return 0
}
func (x *ItemsRequest) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
func (x *ItemsRequest) GetIp() string {
if x != nil {
return x.Ip
}
return ""
}
func (x *ItemsRequest) GetAdminId() int64 {
if x != nil {
return x.AdminId
}
return 0
}
func (x *ItemsRequest) GetTime() []string {
if x != nil {
return x.Time
}
return nil
}
type Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
Data string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Response) Reset() {
*x = Response{}
mi := &file_record_record_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Response) ProtoMessage() {}
func (x *Response) ProtoReflect() protoreflect.Message {
mi := &file_record_record_proto_msgTypes[1]
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 Response.ProtoReflect.Descriptor instead.
func (*Response) Descriptor() ([]byte, []int) {
return file_record_record_proto_rawDescGZIP(), []int{1}
}
func (x *Response) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *Response) GetMsg() string {
if x != nil {
return x.Msg
}
return ""
}
func (x *Response) GetData() string {
if x != nil {
return x.Data
}
return ""
}
type ActionLog struct {
state protoimpl.MessageState `protogen:"open.v1"`
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
AdminId int64 `protobuf:"varint,2,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
AdminName string `protobuf:"bytes,3,opt,name=admin_name,json=adminName,proto3" json:"admin_name,omitempty"`
Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
ModuleName string `protobuf:"bytes,5,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"`
Ip string `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`
BrowserInfo string `protobuf:"bytes,7,opt,name=browser_info,json=browserInfo,proto3" json:"browser_info,omitempty"`
BrowserName string `protobuf:"bytes,8,opt,name=browser_name,json=browserName,proto3" json:"browser_name,omitempty"`
BrowserVersion string `protobuf:"bytes,9,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"`
Reason string `protobuf:"bytes,10,opt,name=reason,proto3" json:"reason,omitempty"`
CreateTime string `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ActionLog) Reset() {
*x = ActionLog{}
mi := &file_record_record_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ActionLog) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ActionLog) ProtoMessage() {}
func (x *ActionLog) ProtoReflect() protoreflect.Message {
mi := &file_record_record_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 ActionLog.ProtoReflect.Descriptor instead.
func (*ActionLog) Descriptor() ([]byte, []int) {
return file_record_record_proto_rawDescGZIP(), []int{2}
}
func (x *ActionLog) GetContent() string {
if x != nil {
return x.Content
}
return ""
}
func (x *ActionLog) GetAdminId() int64 {
if x != nil {
return x.AdminId
}
return 0
}
func (x *ActionLog) GetAdminName() string {
if x != nil {
return x.AdminName
}
return ""
}
func (x *ActionLog) GetType() int32 {
if x != nil {
return x.Type
}
return 0
}
func (x *ActionLog) GetModuleName() string {
if x != nil {
return x.ModuleName
}
return ""
}
func (x *ActionLog) GetIp() string {
if x != nil {
return x.Ip
}
return ""
}
func (x *ActionLog) GetBrowserInfo() string {
if x != nil {
return x.BrowserInfo
}
return ""
}
func (x *ActionLog) GetBrowserName() string {
if x != nil {
return x.BrowserName
}
return ""
}
func (x *ActionLog) GetBrowserVersion() string {
if x != nil {
return x.BrowserVersion
}
return ""
}
func (x *ActionLog) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
func (x *ActionLog) GetCreateTime() string {
if x != nil {
return x.CreateTime
}
return ""
}
type LoginLog struct {
state protoimpl.MessageState `protogen:"open.v1"`
AdminId int64 `protobuf:"varint,1,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
Ip string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
BrowserInfo string `protobuf:"bytes,4,opt,name=browser_info,json=browserInfo,proto3" json:"browser_info,omitempty"`
BrowserName string `protobuf:"bytes,5,opt,name=browser_name,json=browserName,proto3" json:"browser_name,omitempty"`
BrowserVersion string `protobuf:"bytes,6,opt,name=browser_version,json=browserVersion,proto3" json:"browser_version,omitempty"`
Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
CreateTime string `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
Reason string `protobuf:"bytes,9,opt,name=reason,proto3" json:"reason,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *LoginLog) Reset() {
*x = LoginLog{}
mi := &file_record_record_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *LoginLog) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LoginLog) ProtoMessage() {}
func (x *LoginLog) ProtoReflect() protoreflect.Message {
mi := &file_record_record_proto_msgTypes[3]
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 LoginLog.ProtoReflect.Descriptor instead.
func (*LoginLog) Descriptor() ([]byte, []int) {
return file_record_record_proto_rawDescGZIP(), []int{3}
}
func (x *LoginLog) GetAdminId() int64 {
if x != nil {
return x.AdminId
}
return 0
}
func (x *LoginLog) GetIp() string {
if x != nil {
return x.Ip
}
return ""
}
func (x *LoginLog) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *LoginLog) GetBrowserInfo() string {
if x != nil {
return x.BrowserInfo
}
return ""
}
func (x *LoginLog) GetBrowserName() string {
if x != nil {
return x.BrowserName
}
return ""
}
func (x *LoginLog) GetBrowserVersion() string {
if x != nil {
return x.BrowserVersion
}
return ""
}
func (x *LoginLog) GetStatus() int32 {
if x != nil {
return x.Status
}
return 0
}
func (x *LoginLog) GetCreateTime() string {
if x != nil {
return x.CreateTime
}
return ""
}
func (x *LoginLog) GetReason() string {
if x != nil {
return x.Reason
}
return ""
}
type ItemsLoginRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Size int32 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
AdminId int64 `protobuf:"varint,4,opt,name=admin_id,json=adminId,proto3" json:"admin_id,omitempty"`
Time []string `protobuf:"bytes,5,rep,name=time,proto3" json:"time,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ItemsLoginRequest) Reset() {
*x = ItemsLoginRequest{}
mi := &file_record_record_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ItemsLoginRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ItemsLoginRequest) ProtoMessage() {}
func (x *ItemsLoginRequest) ProtoReflect() protoreflect.Message {
mi := &file_record_record_proto_msgTypes[4]
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 ItemsLoginRequest.ProtoReflect.Descriptor instead.
func (*ItemsLoginRequest) Descriptor() ([]byte, []int) {
return file_record_record_proto_rawDescGZIP(), []int{4}
}
func (x *ItemsLoginRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ItemsLoginRequest) GetSize() int32 {
if x != nil {
return x.Size
}
return 0
}
func (x *ItemsLoginRequest) GetIp() string {
if x != nil {
return x.Ip
}
return ""
}
func (x *ItemsLoginRequest) GetAdminId() int64 {
if x != nil {
return x.AdminId
}
return 0
}
func (x *ItemsLoginRequest) GetTime() []string {
if x != nil {
return x.Time
}
return nil
}
var File_record_record_proto protoreflect.FileDescriptor
const file_record_record_proto_rawDesc = "" +
"\n" +
"\x13record/record.proto\x12\x06record\x1a\x1cgoogle/api/annotations.proto\"\x89\x01\n" +
"\fItemsRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x12\n" +
"\x04type\x18\x03 \x01(\x05R\x04type\x12\x0e\n" +
"\x02ip\x18\x04 \x01(\tR\x02ip\x12\x19\n" +
"\badmin_id\x18\x05 \x01(\x03R\aadminId\x12\x12\n" +
"\x04time\x18\a \x03(\tR\x04time\"D\n" +
"\bResponse\x12\x12\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
"\x04data\x18\x03 \x01(\tR\x04data\"\xcc\x02\n" +
"\tActionLog\x12\x18\n" +
"\acontent\x18\x01 \x01(\tR\acontent\x12\x19\n" +
"\badmin_id\x18\x02 \x01(\x03R\aadminId\x12\x1d\n" +
"\n" +
"admin_name\x18\x03 \x01(\tR\tadminName\x12\x12\n" +
"\x04type\x18\x04 \x01(\x05R\x04type\x12\x1f\n" +
"\vmodule_name\x18\x05 \x01(\tR\n" +
"moduleName\x12\x0e\n" +
"\x02ip\x18\x06 \x01(\tR\x02ip\x12!\n" +
"\fbrowser_info\x18\a \x01(\tR\vbrowserInfo\x12!\n" +
"\fbrowser_name\x18\b \x01(\tR\vbrowserName\x12'\n" +
"\x0fbrowser_version\x18\t \x01(\tR\x0ebrowserVersion\x12\x16\n" +
"\x06reason\x18\n" +
" \x01(\tR\x06reason\x12\x1f\n" +
"\vcreate_time\x18\v \x01(\tR\n" +
"createTime\"\x89\x02\n" +
"\bLoginLog\x12\x19\n" +
"\badmin_id\x18\x01 \x01(\x03R\aadminId\x12\x0e\n" +
"\x02ip\x18\x02 \x01(\tR\x02ip\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12!\n" +
"\fbrowser_info\x18\x04 \x01(\tR\vbrowserInfo\x12!\n" +
"\fbrowser_name\x18\x05 \x01(\tR\vbrowserName\x12'\n" +
"\x0fbrowser_version\x18\x06 \x01(\tR\x0ebrowserVersion\x12\x16\n" +
"\x06status\x18\a \x01(\x05R\x06status\x12\x1f\n" +
"\vcreate_time\x18\b \x01(\tR\n" +
"createTime\x12\x16\n" +
"\x06reason\x18\t \x01(\tR\x06reason\"z\n" +
"\x11ItemsLoginRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x0e\n" +
"\x02ip\x18\x03 \x01(\tR\x02ip\x12\x19\n" +
"\badmin_id\x18\x04 \x01(\x03R\aadminId\x12\x12\n" +
"\x04time\x18\x05 \x03(\tR\x04time2\x92\x02\n" +
"\x06Record\x12P\n" +
"\x05Items\x12\x14.record.ItemsRequest\x1a\x10.record.Response\"\x1f\x82\xd3\xe4\x93\x02\x19:\x01*\x12\x14/admin/v3/log/action\x12T\n" +
"\n" +
"LoginItems\x12\x14.record.ItemsRequest\x1a\x10.record.Response\"\x1e\x82\xd3\xe4\x93\x02\x18:\x01*\x12\x13/admin/v3/log/login\x120\n" +
"\tActionAdd\x12\x11.record.ActionLog\x1a\x10.record.Response\x12.\n" +
"\bLoginAdd\x12\x10.record.LoginLog\x1a\x10.record.ResponseB\x1aZ\x18lone-services/rpc/recordb\x06proto3"
var (
file_record_record_proto_rawDescOnce sync.Once
file_record_record_proto_rawDescData []byte
)
func file_record_record_proto_rawDescGZIP() []byte {
file_record_record_proto_rawDescOnce.Do(func() {
file_record_record_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_record_record_proto_rawDesc), len(file_record_record_proto_rawDesc)))
})
return file_record_record_proto_rawDescData
}
var file_record_record_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_record_record_proto_goTypes = []any{
(*ItemsRequest)(nil), // 0: record.ItemsRequest
(*Response)(nil), // 1: record.Response
(*ActionLog)(nil), // 2: record.ActionLog
(*LoginLog)(nil), // 3: record.LoginLog
(*ItemsLoginRequest)(nil), // 4: record.ItemsLoginRequest
}
var file_record_record_proto_depIdxs = []int32{
0, // 0: record.Record.Items:input_type -> record.ItemsRequest
0, // 1: record.Record.LoginItems:input_type -> record.ItemsRequest
2, // 2: record.Record.ActionAdd:input_type -> record.ActionLog
3, // 3: record.Record.LoginAdd:input_type -> record.LoginLog
1, // 4: record.Record.Items:output_type -> record.Response
1, // 5: record.Record.LoginItems:output_type -> record.Response
1, // 6: record.Record.ActionAdd:output_type -> record.Response
1, // 7: record.Record.LoginAdd:output_type -> record.Response
4, // [4:8] is the sub-list for method output_type
0, // [0:4] 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
}
func init() { file_record_record_proto_init() }
func file_record_record_proto_init() {
if File_record_record_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_record_record_proto_rawDesc), len(file_record_record_proto_rawDesc)),
NumEnums: 0,
NumMessages: 5,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_record_record_proto_goTypes,
DependencyIndexes: file_record_record_proto_depIdxs,
MessageInfos: file_record_record_proto_msgTypes,
}.Build()
File_record_record_proto = out.File
file_record_record_proto_goTypes = nil
file_record_record_proto_depIdxs = nil
}