@@ -53,9 +53,17 @@ function templateDeleteApi(data: any): AxiosPromise {
// })
// }
+export function fetchAllTemplates(): AxiosPromise {
+ return request({
+ method: 'post',
+ url: `/gen/template/list-all` // Adjust URL if needed
+ })
+}
+
export default {
templatePageApi,
templateAddOrEditSaveApi,
- templateDeleteApi
+ templateDeleteApi,
+ fetchAllTemplates
// templateGetApi
}