|  | @@ -123,6 +123,9 @@ class Index extends Backend
 | 
	
		
			
				|  |  |                      if ($result !== false) {
 | 
	
		
			
				|  |  |                          //清空部门缓存
 | 
	
		
			
				|  |  |                          DepartmentModel::clearCache();
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +                        \think\Hook::listen("wipecache_after");
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |                          $this->success();
 | 
	
		
			
				|  |  |                      } else {
 | 
	
		
			
				|  |  |                          $this->error($this->model->getError());
 | 
	
	
		
			
				|  | @@ -184,6 +187,7 @@ class Index extends Backend
 | 
	
		
			
				|  |  |                  if ($result !== false) {
 | 
	
		
			
				|  |  |                      //清空部门缓存
 | 
	
		
			
				|  |  |                      DepartmentModel::clearCache();
 | 
	
		
			
				|  |  | +                    \think\Hook::listen("wipecache_after");
 | 
	
		
			
				|  |  |                      $this->success();
 | 
	
		
			
				|  |  |                  } else {
 | 
	
		
			
				|  |  |                      $this->error(__('No rows were updated'));
 |