scense_drag/wwwroot/api/template_list.dspy
2026-08-29 21:10:23 +08:00

10 lines
316 B
Plaintext

# -*- coding: utf-8 -*-
# template_list.dspy — 模板分页列表
# GET /drag/api/template_list.dspy?page=1&rows=20&category=
try:
ns = dict(params_kw)
result = await list_drag_templates(ns)
return result
except Exception as e:
return {'success': False, 'message': 'template_list.dspy: ' + str(e)}