refactor: reorganize modules and add Linux build tooling

This commit is contained in:
2026-08-09 12:41:08 +08:00
parent 86024fa81d
commit 5cc5fd92ed
1461 changed files with 4054 additions and 4724 deletions

View File

@@ -0,0 +1,37 @@
syntax = "proto3";
package delivery;
option go_package = "./delivery";
import "blocks.proto";
// Delivery(配送)微服务
service Team {
// 配送团队列表
rpc TeamList(FetchRequest) returns (TeamListReply) {};
// 添加配送团队
rpc TeamAdd(TeamItem) returns (StatusReply) {};
// 配送团队详情
rpc TeamGet(IdentRequest) returns (TeamItem) {};
// 修改配送团队信息
rpc TeamSet(TeamItem) returns (StatusReply) {};
// 删除配送团队
rpc TeamDel(IdentRequest) returns (StatusReply) {};
}
message TeamListReply{
int64 count = 1;
repeated TeamItem list = 2;
}
message TeamItem{
string identity = 1; // 唯一标识
string title = 2; // 团队名称
string owner = 3; // 归属者唯一标识
string contacts = 4; // 联系人姓名
string phone = 5; // 联系人电话
int64 status = 6; // 状态1正常;-1禁用
string logo = 7; // 团队图标地址
}