1
This commit is contained in:
@@ -469,6 +469,8 @@ func genSkuParamsFromStoreSkuInfo2(storeSku *dao.StoreSkuSyncInfo, isCreate, isE
|
||||
|
||||
if storeSku.Stock == 0 && beego.BConfig.RunMode != model.ServerTypePet {
|
||||
params["left_num"] = model.MaxStoreSkuStockQty
|
||||
} else if storeSku.Stock > 99999 { // 最大值
|
||||
params["left_num"] = 99999
|
||||
} else {
|
||||
params["left_num"] = storeSku.Stock
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user