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

@@ -10,7 +10,7 @@ import (
)
// 删除购物车中的商品
func Delete(ctx context.Context, in *pb.CartDelRequest) (reply *pb.StatusReply, err error) {
func Delete(ctx context.Context, in *pb.CartDelRequest) (reply *pb.OrderStatusReply, err error) {
// parse authorization meta.
_, err = service.ParseMetaCtx(ctx, nil)
if err != nil {
@@ -22,7 +22,7 @@ func Delete(ctx context.Context, in *pb.CartDelRequest) (reply *pb.StatusReply,
return nil, err
}
return &pb.StatusReply{
return &pb.OrderStatusReply{
Code: 0,
Message: "OK",
Timeseq: time.Now().UnixNano(),