正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -285,8 +285,8 @@ class Update extends Api | @@ -285,8 +285,8 @@ class Update extends Api | ||
285 | if ($Parmas['total'] < 199) { | 285 | if ($Parmas['total'] < 199) { |
286 | $this->error('订单金额小于199元,无法抵扣'); | 286 | $this->error('订单金额小于199元,无法抵扣'); |
287 | } | 287 | } |
288 | - if ($WaterNum / 100 < 100) { | ||
289 | - $this->error('氧气泡泡不足100元,无法抵扣'); | 288 | + if ($WaterNum < 100) { |
289 | + $this->error('氧气泡泡不足100,无法抵扣'); | ||
290 | } | 290 | } |
291 | //计算总价20% | 291 | //计算总价20% |
292 | if (($WaterNum / 100 > $Parmas['total'] * 0.2) || ($WaterNum / 100 == $Parmas['total'] * 0.2)) { | 292 | if (($WaterNum / 100 > $Parmas['total'] * 0.2) || ($WaterNum / 100 == $Parmas['total'] * 0.2)) { |
-
请 注册 或 登录 后发表评论