饿鲜达分类同步优化

This commit is contained in:
苏尹岚
2020-02-17 16:08:44 +08:00
parent 3bb8aa3415
commit 94bce18432
5 changed files with 33 additions and 22 deletions

View File

@@ -395,6 +395,11 @@ const (
MaxVendorPricePercentage = 400
)
const (
YES = 1 //通用
NO = 0
)
func IsPurchaseVendorExist(vendorID int) bool {
_, ok := VendorNames[vendorID]
return ok && vendorID >= VendorIDPurchaseBegin && vendorID <= VendorIDPurchaseEnd