@@ -46,7 +46,9 @@ Class Off extends Coreoff
}
-
+ }
+ if ($data && ($data['active_id'] != $where['active_id'])) {
+ Dever::alert('该核销码不属于此活动');
$active = Dever::db('active/info')->find($where['active_id']);