refactor: localize protobuf definitions

This commit is contained in:
2026-08-09 20:14:57 +08:00
parent 9f6f318bbb
commit 5ea45a76fe
429 changed files with 54058 additions and 61623 deletions

View File

@@ -7,7 +7,6 @@
package mall
import (
protobuf "bsm/full/protobuf"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
@@ -2130,7 +2129,7 @@ var File_module_ec_mall_proto_product_proto protoreflect.FileDescriptor
const file_module_ec_mall_proto_product_proto_rawDesc = "" +
"\n" +
"\"module/ec/mall/proto/product.proto\x12\x04mall\x1a\x15protobuf/blocks.proto\"b\n" +
"\"module/ec/mall/proto/product.proto\x12\x04mall\x1a module/ec/mall/proto/const.proto\"b\n" +
"\bAttrItem\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12\x1c\n" +
@@ -2406,31 +2405,31 @@ func file_module_ec_mall_proto_product_proto_rawDescGZIP() []byte {
var file_module_ec_mall_proto_product_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
var file_module_ec_mall_proto_product_proto_goTypes = []any{
(*AttrItem)(nil), // 0: mall.AttrItem
(*CommentItem)(nil), // 1: mall.CommentItem
(*CommentItemRep)(nil), // 2: mall.CommentItemRep
(*DetailBySpecRequest)(nil), // 3: mall.DetailBySpecRequest
(*OpRequest)(nil), // 4: mall.OpRequest
(*ModifyRequest)(nil), // 5: mall.ModifyRequest
(*ListItem)(nil), // 6: mall.ListItem
(*ListWithIdRequest)(nil), // 7: mall.ListWithIdRequest
(*ListWithIdReply)(nil), // 8: mall.ListWithIdReply
(*PhotoReply)(nil), // 9: mall.PhotoReply
(*SpecReply)(nil), // 10: mall.SpecReply
(*CommentListReply)(nil), // 11: mall.CommentListReply
(*StatisticReply)(nil), // 12: mall.StatisticReply
(*OrgBySpecIdReply)(nil), // 13: mall.OrgBySpecIdReply
(*Subjoin)(nil), // 14: mall.Subjoin
(*ListReply)(nil), // 15: mall.ListReply
(*ProductBase)(nil), // 16: mall.ProductBase
(*SpecItem)(nil), // 17: mall.SpecItem
(*PhotoItem)(nil), // 18: mall.PhotoItem
(*CategoriesItem)(nil), // 19: mall.CategoriesItem
(*ProductItem)(nil), // 20: mall.ProductItem
(*protobuf.MallFetchRequest)(nil), // 21: blocks.MallFetchRequest
(*protobuf.IdentRequest)(nil), // 22: blocks.IdentRequest
(*protobuf.StoreSerialRequest)(nil), // 23: blocks.StoreSerialRequest
(*protobuf.IdentityStatusReply)(nil), // 24: blocks.IdentityStatusReply
(*AttrItem)(nil), // 0: mall.AttrItem
(*CommentItem)(nil), // 1: mall.CommentItem
(*CommentItemRep)(nil), // 2: mall.CommentItemRep
(*DetailBySpecRequest)(nil), // 3: mall.DetailBySpecRequest
(*OpRequest)(nil), // 4: mall.OpRequest
(*ModifyRequest)(nil), // 5: mall.ModifyRequest
(*ListItem)(nil), // 6: mall.ListItem
(*ListWithIdRequest)(nil), // 7: mall.ListWithIdRequest
(*ListWithIdReply)(nil), // 8: mall.ListWithIdReply
(*PhotoReply)(nil), // 9: mall.PhotoReply
(*SpecReply)(nil), // 10: mall.SpecReply
(*CommentListReply)(nil), // 11: mall.CommentListReply
(*StatisticReply)(nil), // 12: mall.StatisticReply
(*OrgBySpecIdReply)(nil), // 13: mall.OrgBySpecIdReply
(*Subjoin)(nil), // 14: mall.Subjoin
(*ListReply)(nil), // 15: mall.ListReply
(*ProductBase)(nil), // 16: mall.ProductBase
(*SpecItem)(nil), // 17: mall.SpecItem
(*PhotoItem)(nil), // 18: mall.PhotoItem
(*CategoriesItem)(nil), // 19: mall.CategoriesItem
(*ProductItem)(nil), // 20: mall.ProductItem
(*MallFetchRequest)(nil), // 21: blocks.MallFetchRequest
(*IdentRequest)(nil), // 22: blocks.IdentRequest
(*StoreSerialRequest)(nil), // 23: blocks.StoreSerialRequest
(*IdentityStatusReply)(nil), // 24: blocks.IdentityStatusReply
}
var file_module_ec_mall_proto_product_proto_depIdxs = []int32{
1, // 0: mall.CommentItemRep.list:type_name -> mall.CommentItem
@@ -2497,6 +2496,7 @@ func file_module_ec_mall_proto_product_proto_init() {
if File_module_ec_mall_proto_product_proto != nil {
return
}
file_module_ec_mall_proto_const_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{