From a4aa4b4029e29edc48020ca59fe3f7bc8452c775 Mon Sep 17 00:00:00 2001 From: p31729568 Date: Mon, 24 Jun 2019 20:25:07 +0800 Subject: [PATCH] modify training ec fee to 500 --- app/models/training.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/training.rb b/app/models/training.rb index 8bb9c6d3..8a1cc0c9 100644 --- a/app/models/training.rb +++ b/app/models/training.rb @@ -38,7 +38,7 @@ class Training < ActiveRecord::Base # 三人以上 8折 num >= 3 ? 3000.0 * 0.8 * num : 3000.0 * num when 4 then - 700.0 * num + 500.0 * num else raise ArgumentError end