优化数据
This commit is contained in:
parent
74446b2e3f
commit
aea76b919d
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by protoc-gen-go-aeus. DO NOT EDIT.
|
// Code generated by protoc-gen-go-aeus. DO NOT EDIT.
|
||||||
// source: organize.proto
|
// source: organize.proto
|
||||||
// date: 2025-07-22 16:57:29
|
// date: 2025-07-22 16:59:46
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by protoc-gen-go-aeus. DO NOT EDIT.
|
// Code generated by protoc-gen-go-aeus. DO NOT EDIT.
|
||||||
// source: organize.proto
|
// source: organize.proto
|
||||||
// date: 2025-07-22 16:57:29
|
// date: 2025-07-22 16:59:46
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
|
||||||
|
|
|
@ -214,7 +214,8 @@ func (x *Activity) GetData() string {
|
||||||
type SettingItem struct {
|
type SettingItem struct {
|
||||||
state protoimpl.MessageState `protogen:"open.v1"`
|
state protoimpl.MessageState `protogen:"open.v1"`
|
||||||
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
|
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
}
|
}
|
||||||
|
@ -256,6 +257,13 @@ func (x *SettingItem) GetName() string {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (x *SettingItem) GetType() string {
|
||||||
|
if x != nil {
|
||||||
|
return x.Type
|
||||||
|
}
|
||||||
|
return ""
|
||||||
|
}
|
||||||
|
|
||||||
func (x *SettingItem) GetValue() string {
|
func (x *SettingItem) GetValue() string {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Value
|
return x.Value
|
||||||
|
@ -383,10 +391,11 @@ const file_system_proto_rawDesc = "" +
|
||||||
"\x04data\x18\a \x01(\tBL\xb2\xb9\x19H\n" +
|
"\x04data\x18\a \x01(\tBL\xb2\xb9\x19H\n" +
|
||||||
"\x1esize:10240;not null;default:''\x12\x06内容\x1a\x1elist;create;update;view;exportR\x04data:\x10\xba\xb9\x19\f\n" +
|
"\x1esize:10240;not null;default:''\x12\x06内容\x1a\x1elist;create;update;view;exportR\x04data:\x10\xba\xb9\x19\f\n" +
|
||||||
"\n" +
|
"\n" +
|
||||||
"activities\"7\n" +
|
"activities\"K\n" +
|
||||||
"\vSettingItem\x12\x12\n" +
|
"\vSettingItem\x12\x12\n" +
|
||||||
"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
|
"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
|
||||||
"\x05value\x18\x02 \x01(\tR\x05value\"\x13\n" +
|
"\x04type\x18\x02 \x01(\tR\x04type\x12\x14\n" +
|
||||||
|
"\x05value\x18\x03 \x01(\tR\x05value\"\x13\n" +
|
||||||
"\x11GetSettingRequest\"=\n" +
|
"\x11GetSettingRequest\"=\n" +
|
||||||
"\x12GetSettingResponse\x12'\n" +
|
"\x12GetSettingResponse\x12'\n" +
|
||||||
"\x04data\x18\x01 \x03(\v2\x13.system.SettingItemR\x04data2n\n" +
|
"\x04data\x18\x01 \x03(\v2\x13.system.SettingItemR\x04data2n\n" +
|
||||||
|
|
|
@ -329,6 +329,8 @@ func (m *SettingItem) validate(all bool) error {
|
||||||
|
|
||||||
// no validation rules for Name
|
// no validation rules for Name
|
||||||
|
|
||||||
|
// no validation rules for Type
|
||||||
|
|
||||||
// no validation rules for Value
|
// no validation rules for Value
|
||||||
|
|
||||||
if len(errors) > 0 {
|
if len(errors) > 0 {
|
||||||
|
|
|
@ -42,7 +42,8 @@ message Activity {
|
||||||
|
|
||||||
message SettingItem {
|
message SettingItem {
|
||||||
string name = 1;
|
string name = 1;
|
||||||
string value = 2;
|
string type = 2;
|
||||||
|
string value = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
message GetSettingRequest{}
|
message GetSettingRequest{}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by protoc-gen-go-aeus. DO NOT EDIT.
|
// Code generated by protoc-gen-go-aeus. DO NOT EDIT.
|
||||||
// source: system.proto
|
// source: system.proto
|
||||||
// date: 2025-07-22 16:57:29
|
// date: 2025-07-22 16:59:46
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// Code generated by protoc-gen-go-aeus. DO NOT EDIT.
|
// Code generated by protoc-gen-go-aeus. DO NOT EDIT.
|
||||||
// source: system.proto
|
// source: system.proto
|
||||||
// date: 2025-07-22 16:57:29
|
// date: 2025-07-22 16:59:46
|
||||||
|
|
||||||
package pb
|
package pb
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue