演示站点,支持商品分类添加
This commit is contained in:
		
							parent
							
								
									2472cfd93b
								
							
						
					
					
						commit
						44d6edd53b
					
				| @ -168,6 +168,7 @@ public class CategoryServiceImpl extends ServiceImpl<CategoryMapper, Category> i | ||||
|             Category parentCategory = this.getById(category.getParentId()); | ||||
|             category.setDeleteFlag(parentCategory.getDeleteFlag()); | ||||
|         } | ||||
|         this.save(category); | ||||
|         removeCache(); | ||||
|         return true; | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 lifenlong
						lifenlong