abiao il y a 4 ans
Parent
commit
c87841e295
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/models/cash_balance.rb

+ 1 - 1
app/models/cash_balance.rb

@@ -7,7 +7,6 @@ class CashBalance < ActiveRecord::Base
   attr_accessor :remain_sum,:get_happen_total
 
   #after_find :get_happen_total
-  puts request.query_parameters
   SOURCE_ENUM = [["提货券充值佣金", "balance_benefit"],
                  ["商品佣金", "product_benefit"],
                  ["店长申请", "shop_benefit"],
@@ -70,6 +69,7 @@ class CashBalance < ActiveRecord::Base
     weight -920
 
     list do
+      puts params
 
       items_per_page 10
       filters [:id, :source, :wx_user, :relate_id, :created_at]