|
|
@@ -397,12 +397,8 @@ async def modify_institution_controller(
|
|
|
detail_raw = {}
|
|
|
|
|
|
if detail_resp:
|
|
|
- # detail_resp 可能是 str 或 dict
|
|
|
- if isinstance(detail_resp, str):
|
|
|
- resp_body = _json.loads(detail_resp)
|
|
|
- else:
|
|
|
- resp_body = detail_resp
|
|
|
- detail_raw = resp_body.get("alipay_ebpp_invoice_institution_detailinfo_query_response", {})
|
|
|
+ # execute() 返回已解析的内层响应 dict,直接使用
|
|
|
+ detail_raw = detail_resp if isinstance(detail_resp, dict) else (_json.loads(detail_resp) if isinstance(detail_resp, str) else {})
|
|
|
|
|
|
# 构建 modify_standard_detail_info
|
|
|
modify_standard_list = []
|