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