getskunames关于饿鲜达参数修改
This commit is contained in:
@@ -421,10 +421,10 @@ func GetSkuNames(ctx *jxcontext.Context, keyword string, isBySku bool, params ma
|
||||
}
|
||||
}
|
||||
if params["isExd"] != nil {
|
||||
var idExd = params["isExd"].(bool)
|
||||
if idExd {
|
||||
var idExd = params["isExd"].(int)
|
||||
if idExd == model.DISABLED {
|
||||
sql += " AND t2.exd_sku_id <> ''"
|
||||
} else {
|
||||
} else if idExd == model.NO {
|
||||
sql += " AND t2.exd_sku_id = ''"
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -396,8 +396,9 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
YES = 1 //通用
|
||||
NO = 0
|
||||
YES = 1 //通用
|
||||
NO = 0
|
||||
DISABLED = -1
|
||||
)
|
||||
|
||||
func IsPurchaseVendorExist(vendorID int) bool {
|
||||
|
||||
Reference in New Issue
Block a user