abiao лет назад: 4
Родитель
Сommit
ca0f3e8ae4
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      app/models/order_base_detail.rb
  2. 1 1
      config/locales/models/order_base_detail.yml

+ 2 - 2
app/models/order_base_detail.rb

@@ -23,7 +23,7 @@ class OrderBaseDetail < ActiveRecord::Base
   end
 
 
-  def paid_time
+  def paid_shijian
     paidTime = 0
     order = Order.where("order_id = ?", self.order_no).first
     if !order.blank?
@@ -51,7 +51,7 @@ class OrderBaseDetail < ActiveRecord::Base
       field :title
       field :nums
       field :order_dt_id
-      field :paid_time
+      field :paid_shijian
       field :send
     end
     show do

+ 1 - 1
config/locales/models/order_base_detail.yml

@@ -13,7 +13,7 @@ zh-CN:
         order_dt_id: 订单明细ID
         wx_user_id: 微信用户Id
         order_state: 订单状态
-        paid_time: 支付时间
+        paid_shijian: 支付时间
         pay_way: 支付方式
         created_at: 创建时间
         updated_at: 修改时间