build: package production configs and use system protoc

This commit is contained in:
2026-08-09 18:40:36 +08:00
parent 4fe24d9770
commit 9f6f318bbb
113 changed files with 221 additions and 141 deletions

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.0
// protoc v7.35.1
// source: module/base/cms/proto/category.proto
package cms

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.2
// - protoc v7.35.0
// - protoc v7.35.1
// source: module/base/cms/proto/category.proto
package cms

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.0
// protoc v7.35.1
// source: module/base/cms/proto/pages.proto
package cms

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.2
// - protoc v7.35.0
// - protoc v7.35.1
// source: module/base/cms/proto/pages.proto
package cms

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.0
// protoc v7.35.1
// source: module/base/cms/proto/post.proto
package cms
@@ -147,6 +147,7 @@ type PostItem struct {
CommentHits int64 `protobuf:"varint,22,opt,name=comment_hits,proto3" json:"comment_hits,omitempty"` //评论量
PostType int32 `protobuf:"varint,23,opt,name=post_type,proto3" json:"post_type,omitempty"` // 用户自定义文章类型
Rights string `protobuf:"bytes,24,opt,name=rights,proto3" json:"rights,omitempty"` //权限
Key string `protobuf:"bytes,25,opt,name=key,proto3" json:"key,omitempty"` // content key
CategoryData []*protobuf.CmsCategoryItem `protobuf:"bytes,26,rep,name=category_data,proto3" json:"category_data,omitempty"` // 分类数据
TagsData []*protobuf.CmsTagsItem `protobuf:"bytes,27,rep,name=tags_data,proto3" json:"tags_data,omitempty"` // 标签数据
AccessoryData []*protobuf.CmsAccessoryItem `protobuf:"bytes,28,rep,name=accessory_data,proto3" json:"accessory_data,omitempty"` //附件数据
@@ -361,6 +362,13 @@ func (x *PostItem) GetRights() string {
return ""
}
func (x *PostItem) GetKey() string {
if x != nil {
return x.Key
}
return ""
}
func (x *PostItem) GetCategoryData() []*protobuf.CmsCategoryItem {
if x != nil {
return x.CategoryData
@@ -1007,7 +1015,7 @@ const file_module_base_cms_proto_post_proto_rawDesc = "" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12$\n" +
"\rpost_identity\x18\x02 \x01(\tR\rpost_identity\"'\n" +
"\x13GetPostByKeyRequest\x12\x10\n" +
"\x03key\x18\x03 \x01(\tR\x03key\"\xe4\t\n" +
"\x03key\x18\x03 \x01(\tR\x03key\"\xf6\t\n" +
"\bPostItem\x12$\n" +
"\rsite_identity\x18\x01 \x01(\tR\rsite_identity\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x1a\n" +
@@ -1043,7 +1051,8 @@ const file_module_base_cms_proto_post_proto_rawDesc = "" +
"\vunlike_hits\x18\x15 \x01(\x03R\vunlike_hits\x12\"\n" +
"\fcomment_hits\x18\x16 \x01(\x03R\fcomment_hits\x12\x1c\n" +
"\tpost_type\x18\x17 \x01(\x05R\tpost_type\x12\x16\n" +
"\x06rights\x18\x18 \x01(\tR\x06rights\x12=\n" +
"\x06rights\x18\x18 \x01(\tR\x06rights\x12\x10\n" +
"\x03key\x18\x19 \x01(\tR\x03key\x12=\n" +
"\rcategory_data\x18\x1a \x03(\v2\x17.blocks.CmsCategoryItemR\rcategory_data\x121\n" +
"\ttags_data\x18\x1b \x03(\v2\x13.blocks.CmsTagsItemR\ttags_data\x12@\n" +
"\x0eaccessory_data\x18\x1c \x03(\v2\x18.blocks.CmsAccessoryItemR\x0eaccessory_data\x12\x12\n" +

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.2
// - protoc v7.35.0
// - protoc v7.35.1
// source: module/base/cms/proto/post.proto
package cms

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.0
// protoc v7.35.1
// source: module/base/cms/proto/site.proto
package cms

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.2
// - protoc v7.35.0
// - protoc v7.35.1
// source: module/base/cms/proto/site.proto
package cms

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.0
// protoc v7.35.1
// source: module/base/cms/proto/tags.proto
package cms

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.6.2
// - protoc v7.35.0
// - protoc v7.35.1
// source: module/base/cms/proto/tags.proto
package cms