ソースを参照

fohow 订单统计功能

abiao 5 年 前
コミット
ce55870780
共有1 個のファイルを変更した2 個の追加0 個の削除を含む
  1. 2 0
      app/models/order_static.rb

+ 2 - 0
app/models/order_static.rb

@@ -1,4 +1,6 @@
 # encoding: utf-8
+require 'date' # 包含DateTime
+require 'time'
 class OrderStatic < ActiveRecord::Base
   has_paper_trail
   self.table_name = "order_statics"