소스 검색

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"