Accept Merge Request #189: (su -> mark)

Merge Request: 饿先达商品分类完善
Created By: @苏尹岚
Accepted By: @苏尹岚
URL: https://rosydev.coding.net/p/jx-callback/d/jx-callback/git/merge/189
This commit is contained in:
苏尹岚
2020-02-18 20:35:14 +08:00
15 changed files with 294 additions and 35 deletions

View File

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