dw-sdk/bid.go

17 lines
328 B
Go
Raw Normal View History

package dw_sdk
2024-09-02 21:42:48 +08:00
import "strconv"
type BiddingType int8
const (
2024-09-02 14:34:11 +08:00
BiddingType_PreSale BiddingType = 1 //预售
BiddingType_Consign BiddingType = 5 //闪电直发
BiddingType_Fast_PreSale BiddingType = 8 //急速预售
)
2024-09-02 21:42:48 +08:00
func LoadBiddingType(s string) BiddingType {
i, _ := strconv.Atoi(s)
return BiddingType(i)
}