Explorar o código

♻️ refactor(admin): adjust area tree route path

- change area tree route from '/tree' to '/' for more intuitive API structure
yourname hai 4 meses
pai
achega
95f14d84fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/server/api/admin/areas/index.ts

+ 1 - 1
src/server/api/admin/areas/index.ts

@@ -22,5 +22,5 @@ export default createCrudRoutes({
 })
 
 // 合并树形结构路由
-.route('/tree', treeRoutes);
+.route('/', treeRoutes);