Your Name %!s(int64=3) %!d(string=hai) anos
pai
achega
0b3cd95cf1
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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']);