|
|
@@ -26,7 +26,7 @@ module RailsAdmin
|
|
|
register_instance_option :controller do
|
|
|
Proc.new do
|
|
|
require 'rest-client'
|
|
|
- rd = RefundFood.where("id = ? and status = ? ",@object.id,false).first
|
|
|
+ rd = FoodUnsub.where("id = ? and status = ? ",@object.id,false).first
|
|
|
n = "退餐成功"
|
|
|
if !rd.blank?
|
|
|
n = "已退餐成功"
|