|
|
@@ -7,7 +7,7 @@ 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,7 +70,7 @@ class CashBalance < ActiveRecord::Base
|
|
|
weight -920
|
|
|
|
|
|
list do
|
|
|
- puts request.url
|
|
|
+
|
|
|
items_per_page 10
|
|
|
filters [:id, :source, :wx_user, :relate_id, :created_at]
|
|
|
# include_all_fields
|