Explorar el Código

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

- change area tree route from '/tree' to '/' for more intuitive API structure
yourname hace 4 meses
padre
commit
95f14d84fa
Se han modificado 1 ficheros con 1 adiciones y 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);