Your Name 3 年之前
父節點
當前提交
0b3cd95cf1
共有 1 個文件被更改,包括 3 次插入1 次删除
  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']);