refactor: centralize protobuf and remove go-zero

This commit is contained in:
2026-08-09 15:10:19 +08:00
parent 5cc5fd92ed
commit 4bbed3156c
357 changed files with 14208 additions and 19903 deletions

View File

@@ -1,7 +1,7 @@
syntax = "proto3";
package mall;
option go_package = ".;mall";
import "blocks.proto";
option go_package = "bsm/full/module/ec/mall/pb;mall";
import "protobuf/blocks.proto";
// Store(店铺)微服务-分类
service Category{
@@ -9,13 +9,13 @@ service Category{
rpc Fetch(CategoryFetchRequest) returns(CategoryReply) {};
// 添加分类
rpc Create(CategoryItem) returns(StatusReply) {};
rpc Create(CategoryItem) returns(blocks.IdentityStatusReply) {};
// 删除分类
rpc Delete(IdentRequest) returns(StatusReply) {};
rpc Delete(blocks.IdentRequest) returns(blocks.IdentityStatusReply) {};
// 修改分类
rpc Modify(CategoryItem) returns(StatusReply) {};
rpc Modify(CategoryItem) returns(blocks.IdentityStatusReply) {};
}