abiao пре 5 година
родитељ
комит
5a94560605
2 измењених фајлова са 2 додато и 0 уклоњено
  1. 1 0
      app/models/user_perfomance.rb
  2. 1 0
      config/locales/models/user_perfomance.yml

+ 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: 修改时间