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,30 @@
syntax = "proto3";
package order;
option go_package = "./order";
import "blocks.proto";
// Order(订单)微服务-优惠卷
service Coupon {
// 按状态获取优惠卷
rpc ByStatus(Status) returns (CouponListReply) {};
}
message Status {
int32 status = 1; //优惠卷状态
}
message CouponListReply {
repeated CouponItem data = 1; // 购物车中的商品数据列表
}
message CouponItem{
int64 id = 1; // ID
string identity = 2; // 唯一码
string title = 3; //标题
string intro = 4; //描述
string amount = 5; //金额
string started =6; // 开始时间
string expired =7; // 结束时间
string status =8; // 状态
}