|
@@ -7,6 +7,7 @@ class ForbidDate < ActiveRecord::Base
|
|
|
|
|
|
|
|
after_update :sync_forbid_date
|
|
after_update :sync_forbid_date
|
|
|
after_create :sync_forbid_date
|
|
after_create :sync_forbid_date
|
|
|
|
|
+ after_destroy :sync_forbid_date
|
|
|
|
|
|
|
|
def sync_forbid_date
|
|
def sync_forbid_date
|
|
|
#发放未发放赠品
|
|
#发放未发放赠品
|