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