Commit 48df4097 by 杨树贤

进一步判断

parent 4fb14eac
Showing with 3 additions and 2 deletions
......@@ -2,7 +2,6 @@ package service
import (
"encoding/json"
"github.com/gogf/gf/util/gconv"
"go_sku_server/model"
c "go_sku_server/pkg/common"
"go_sku_server/pkg/gredis"
......@@ -13,6 +12,8 @@ import (
"strconv"
"strings"
"github.com/gogf/gf/util/gconv"
"github.com/gomodule/redigo/redis"
_ "github.com/iancoleman/orderedmap"
"github.com/syyongx/php2go"
......@@ -250,7 +251,7 @@ func (ls *LyService) GetIsBuy(sku model.LySku) (isBuy int) {
return
}
if sku.AbilityLevel == 0 && sku.OrgId = 1 {
if sku.AbilityLevel == 0 && sku.OrgId == 1 && sku.Canal != "L0015730" {
return
}
if sku.Stock == 0 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment