This commit is contained in:
邹宗楠
2022-06-08 18:16:18 +08:00
parent 397d26eab0
commit ec17750f78
2 changed files with 17 additions and 6 deletions

View File

@@ -432,6 +432,11 @@ const (
B2BNumberId = 10
)
const (
WeChatQrCode = "weChat"
TiktokQrCode = "tiktok"
)
func IsPurchaseVendorExist(vendorID int) bool {
_, ok := VendorNames[vendorID]
return ok && vendorID >= VendorIDPurchaseBegin && vendorID <= VendorIDPurchaseEnd