Explorar o código

add agent appy function

abiao %!s(int64=4) %!d(string=hai) anos
pai
achega
fa4024dba2
Modificáronse 2 ficheiros con 3 adicións e 2 borrados
  1. 2 2
      app/models/agent_apply.rb
  2. 1 0
      config/locales/models/agent_apply.yml

+ 2 - 2
app/models/agent_apply.rb

@@ -35,7 +35,7 @@ class AgentApply < ActiveRecord::Base
         visible false
         visible false
         filterable true
         filterable true
       end
       end
-      field :intro_user
+      field :wx_user
       field :wx_user_id do
       field :wx_user_id do
         visible true
         visible true
         filterable true
         filterable true
@@ -62,7 +62,7 @@ class AgentApply < ActiveRecord::Base
           (value == 0 || value == nil) ? Time.at(0) : Time.at(value)
           (value == 0 || value == nil) ? Time.at(0) : Time.at(value)
         end
         end
       end
       end
-      field :intro_user
+      field :wx_user
       field :wx_user_id
       field :wx_user_id
       field :nickname
       field :nickname
       field :mobile
       field :mobile

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

@@ -8,6 +8,7 @@ zh-CN:
         happen_time: 申请时间
         happen_time: 申请时间
         intro_user_id: 申请人ID
         intro_user_id: 申请人ID
         intro_user: 申请人ID
         intro_user: 申请人ID
+        wx_user: 申请人
         wx_user_id: 微信会员id
         wx_user_id: 微信会员id
         nickname: 微信昵称
         nickname: 微信昵称
         mobile: 手机号码
         mobile: 手机号码