diff --git a/my-boot/src/test/java/net/ximatai/muyun/test/plaform/TestDictController.java b/my-boot/src/test/java/net/ximatai/muyun/test/plaform/TestDictController.java index 6914cf7f..0101d1b6 100644 --- a/my-boot/src/test/java/net/ximatai/muyun/test/plaform/TestDictController.java +++ b/my-boot/src/test/java/net/ximatai/muyun/test/plaform/TestDictController.java @@ -46,7 +46,6 @@ void testDictCategoryAdd() { .statusCode(200) .body(is("root2")); - given() .contentType("application/json") .body(List.of( diff --git a/my-platform/src/main/java/net/ximatai/muyun/platform/controller/DictCategoryController.java b/my-platform/src/main/java/net/ximatai/muyun/platform/controller/DictCategoryController.java index 7743242c..92b5630a 100644 --- a/my-platform/src/main/java/net/ximatai/muyun/platform/controller/DictCategoryController.java +++ b/my-platform/src/main/java/net/ximatai/muyun/platform/controller/DictCategoryController.java @@ -5,7 +5,6 @@ import net.ximatai.muyun.ability.IChildrenAbility; import net.ximatai.muyun.ability.ITreeAbility; import net.ximatai.muyun.core.database.MyTableWrapper; -import net.ximatai.muyun.database.builder.Column; import net.ximatai.muyun.database.builder.TableWrapper; import net.ximatai.muyun.model.ChildTableInfo;