浏览代码

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"