7 lines
337 B
Plaintext
7 lines
337 B
Plaintext
# get_search_status.dspy —— 实体状态字典下拉(appcodes entity_status)[{value, text}]
|
||
try:
|
||
opts = await get_entity_status_options()
|
||
return {'code': 'OK', 'message': 'success', 'data': opts}
|
||
except Exception as e:
|
||
return {'code': 'DB_ERROR', 'message': '查询状态下拉失败', 'field': '', 'detail': str(e)}
|