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"
@@ -498,7 +497,7 @@ var File_module_ec_mall_proto_freight_proto protoreflect.FileDescriptor
const file_module_ec_mall_proto_freight_proto_rawDesc = "" +
"\n" +
"\"module/ec/mall/proto/freight.proto\x12\x04mall\x1a\x15protobuf/blocks.proto\"\xa2\x01\n" +
"\"module/ec/mall/proto/freight.proto\x12\x04mall\x1a module/ec/mall/proto/const.proto\"\xa2\x01\n" +
"\x0eDenyRegionItem\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\x12$\n" +
@@ -568,15 +567,15 @@ func file_module_ec_mall_proto_freight_proto_rawDescGZIP() []byte {
var file_module_ec_mall_proto_freight_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_module_ec_mall_proto_freight_proto_goTypes = []any{
(*DenyRegionItem)(nil), // 0: mall.DenyRegionItem
(*FreightItem)(nil), // 1: mall.FreightItem
(*RegionItem)(nil), // 2: mall.RegionItem
(*FreightAttrItem)(nil), // 3: mall.FreightAttrItem
(*FreightReply)(nil), // 4: mall.FreightReply
(*DenyRegionReply)(nil), // 5: mall.DenyRegionReply
(*protobuf.MallFetchRequest)(nil), // 6: blocks.MallFetchRequest
(*protobuf.IdentRequest)(nil), // 7: blocks.IdentRequest
(*protobuf.IdentityStatusReply)(nil), // 8: blocks.IdentityStatusReply
(*DenyRegionItem)(nil), // 0: mall.DenyRegionItem
(*FreightItem)(nil), // 1: mall.FreightItem
(*RegionItem)(nil), // 2: mall.RegionItem
(*FreightAttrItem)(nil), // 3: mall.FreightAttrItem
(*FreightReply)(nil), // 4: mall.FreightReply
(*DenyRegionReply)(nil), // 5: mall.DenyRegionReply
(*MallFetchRequest)(nil), // 6: blocks.MallFetchRequest
(*IdentRequest)(nil), // 7: blocks.IdentRequest
(*IdentityStatusReply)(nil), // 8: blocks.IdentityStatusReply
}
var file_module_ec_mall_proto_freight_proto_depIdxs = []int32{
2, // 0: mall.DenyRegionItem.region:type_name -> mall.RegionItem
@@ -615,6 +614,7 @@ func file_module_ec_mall_proto_freight_proto_init() {
if File_module_ec_mall_proto_freight_proto != nil {
return
}
file_module_ec_mall_proto_const_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{