소스 검색

add base config function

abiao 5 년 전
부모
커밋
18baa0f3ee
2개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/models/balance.rb
  2. 1 0
      app/models/cash_balance.rb

+ 1 - 0
app/models/balance.rb

@@ -15,6 +15,7 @@ class Balance < ActiveRecord::Base
                  ["全额退款", "all_refunded"],
                  ["部分退款", "part_refunded"],
                  ["部分退款", "part_refunded"],
+                 ["佣金转代金券","cash_to_balance"],
                  ["促销赠送","promotion"]]
 
   def remain_sum

+ 1 - 0
app/models/cash_balance.rb

@@ -28,6 +28,7 @@ class CashBalance < ActiveRecord::Base
                  ["货款","good_payment"],
                  ["活动退款","dollar_win_return"],
                  ["活动报名","dollar_win"],
+                 ["佣金转代金券","cash_to_balance"],
                ]
 
   def remain_sum