Your Name 3 years ago
parent
commit
0b3cd95cf1
1 changed files with 3 additions and 1 deletions
  1. 3 1
      learn/active/src/Off.php

+ 3 - 1
learn/active/src/Off.php

@@ -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']);