This commit is contained in:
邹宗楠
2022-06-20 14:02:45 +08:00
parent 1dc993a9ac
commit bd1c48ea71
3 changed files with 131 additions and 5 deletions

View File

@@ -437,6 +437,12 @@ const (
TiktokQrCode = "tiktok"
)
const (
DefaultName = "石锋"
DefaultPhone = "18048531223"
DefaultIdCard = "610126198012230014"
)
func IsPurchaseVendorExist(vendorID int) bool {
_, ok := VendorNames[vendorID]
return ok && vendorID >= VendorIDPurchaseBegin && vendorID <= VendorIDPurchaseEnd