# get_search_import_status.dspy —— 导入状态字典下拉(appcodes import_status)[{value, text}] try: opts = await get_import_status_options() return {'code': 'OK', 'message': 'success', 'data': opts} except Exception as e: return {'code': 'DB_ERROR', 'message': '查询导入状态下拉失败', 'field': '', 'detail': str(e)}