Forráskód Böngészése

user perfomance function

abiao 5 éve
szülő
commit
5a94560605

+ 1 - 0
app/models/user_perfomance.rb

@@ -90,6 +90,7 @@ class UserPerfomance < ActiveRecord::Base
           value!=0 ? (value/100.0):0
         end
       end
+      field :nums
       field :created_at
       field :updated_at
     end

+ 1 - 0
config/locales/models/user_perfomance.yml

@@ -16,5 +16,6 @@ zh-CN:
         shop_perfomance: 开店业绩
         balance_perfomance: 充值业绩
         total: 合计业绩
+        nums: 统计成功次数
         created_at: 创建时间
         updated_at: 修改时间