1
This commit is contained in:
@@ -270,18 +270,18 @@ func (p *PurchaseHandler) CreateStoreSkus(ctx *jxcontext.Context, storeID int, v
|
||||
var (
|
||||
vendorSkuID int64
|
||||
isExd bool = false
|
||||
customSkuID int64
|
||||
customSkuID string
|
||||
)
|
||||
if strings.Contains(storeSku.StoreName, model.ExdStoreName) {
|
||||
isExd = true
|
||||
if storeSku.ExdSkuID == "" {
|
||||
customSkuID = 0
|
||||
customSkuID = ""
|
||||
} else {
|
||||
customSkuID = utils.Str2Int64(storeSku.ExdSkuID)
|
||||
customSkuID = storeSku.ExdSkuID
|
||||
}
|
||||
} else {
|
||||
isExd = false
|
||||
customSkuID = int64(storeSku.SkuID)
|
||||
customSkuID = utils.Int2Str(storeSku.SkuID)
|
||||
}
|
||||
|
||||
params := genSkuParamsFromStoreSkuInfo2(storeSku, true, true)
|
||||
|
||||
Reference in New Issue
Block a user