添加手续费

This commit is contained in:
桀尼龟 2025-07-08 14:17:38 +08:00
parent 234d86896a
commit 744328055c
4 changed files with 1372 additions and 1360 deletions

View File

@ -37,6 +37,7 @@ func CreateOrderRecord(req *bundle.OrderCreateRecord) (res *bundle.CommonRespons
Signature: req.Signature, Signature: req.Signature,
SignedTime: req.SignedTime, SignedTime: req.SignedTime,
Snapshot: req.Snapshot, Snapshot: req.Snapshot,
HandlingFee: i.HandlingFee,
}) })
} }
orderRecord := &model.BundleOrderRecords{ orderRecord := &model.BundleOrderRecords{

View File

@ -169,6 +169,7 @@ message OrderCreateAddRecord{
string unit = 6 [json_name = "unit"]; string unit = 6 [json_name = "unit"];
int32 source = 7 [json_name = "source"]; int32 source = 7 [json_name = "source"];
int32 paymentStatus = 8 [json_name = "paymentStatus"]; int32 paymentStatus = 8 [json_name = "paymentStatus"];
string handlingFee = 9 [json_name = "handlingFee"];
} }
message OrderRecordsRequestV2{ message OrderRecordsRequestV2{
string customerName = 1; string customerName = 1;

File diff suppressed because it is too large Load Diff

View File

@ -7,8 +7,8 @@ import (
fmt "fmt" fmt "fmt"
math "math" math "math"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
_ "github.com/mwitkow/go-proto-validators"
_ "google.golang.org/protobuf/types/descriptorpb" _ "google.golang.org/protobuf/types/descriptorpb"
_ "github.com/mwitkow/go-proto-validators"
github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators" github_com_mwitkow_go_proto_validators "github.com/mwitkow/go-proto-validators"
) )