测试接口

This commit is contained in:
苏尹岚
2020-08-27 17:13:32 +08:00
parent d78a0f7b3f
commit 0425cb05b4
2 changed files with 1 additions and 3 deletions

View File

@@ -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