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

9 lines
304 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 get_snapshot.dspy
# 查询单条世界快照id 必填)
try:
result = await get_snapshot(params_kw)
return result
except Exception as e:
debug(f'get_snapshot.dspy error: {format_exc()}')
return {'code': 'INTERNAL_ERROR', 'message': str(e), 'field': '', 'detail': ''}