world_snapshot/wwwroot/api/list_snapshots.dspy
2026-08-29 12:44:24 +08:00

9 lines
349 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# world_snapshot list_snapshots.dspy
# 分页查询世界快照列表(world_id/status/snapshot_type 可选过滤)
try:
result = await list_snapshots(params_kw)
return result
except Exception as e:
debug(f'list_snapshots.dspy error: {format_exc()}')
return {'code': 'INTERNAL_ERROR', 'message': str(e), 'field': '', 'detail': ''}