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,23 @@
//go:build integration
package rpc
import (
"fmt"
"testing"
pb "bsm/full/module/ec/order/pb"
)
func TestByStatus(t *testing.T) {
coon, ctx := GetCoon()
clent := pb.NewCouponClient(coon)
defer coon.Close()
res, err := clent.ByStatus(ctx, &pb.Status{
Status: 1,
})
if err != nil {
fmt.Println(err)
}
fmt.Printf("返回的测试消息: %s", res)
}