Compare commits

..

No commits in common. "fb043a2dd9a122bdb6c4a588ac8b686e363d5600" and "b1831b09ae3ccb6e592271112674655bbfa90a3e" have entirely different histories.

4 changed files with 1272 additions and 290 deletions

View File

@ -76,7 +76,7 @@ type PriceOptions []*PriceOption
type PriceOption struct { type PriceOption struct {
Id int32 `json:"id"` Id int32 `json:"id"`
Num int32 `json:"num"` Num int32 `json:"num"`
Symbol string `json:"symbol"` // 符号> < = >= <= Symbol string `json:"symbol"` // 符号> < = <= =>
Price float32 `json:"price"` // 价格(根据priceMode决定是单价还是总价) Price float32 `json:"price"` // 价格(根据priceMode决定是单价还是总价)
} }

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"
) )

View File

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go-triple. DO NOT EDIT. // Code generated by protoc-gen-go-triple. DO NOT EDIT.
// versions: // versions:
// - protoc-gen-go-triple v1.0.8 // - protoc-gen-go-triple v1.0.8
// - protoc v5.29.2 // - protoc v3.20.3
// source: pb/bundle.proto // source: pb/bundle.proto
package bundle package bundle