测试接口
This commit is contained in:
@@ -1667,7 +1667,7 @@ func checkPriceDefendOrderByPrice(db *dao.DaoDB, storeID, skuID, stock, jxPrice
|
||||
}
|
||||
for _, v := range priceDefends {
|
||||
//如果刚好守的价和降的价一样,再判断库存够不够
|
||||
if v.DefendPrice <= int64(jxPrice) {
|
||||
if v.DefendPrice > int64(jxPrice) {
|
||||
if v.Count <= stock {
|
||||
stock -= v.Count
|
||||
v.IsSuccess = model.YES
|
||||
|
||||
Reference in New Issue
Block a user