|
@@ -367,8 +367,8 @@ class EmployeeService:
|
|
|
result.parse_response_content(response)
|
|
result.parse_response_content(response)
|
|
|
|
|
|
|
|
if not result.is_success():
|
|
if not result.is_success():
|
|
|
- log.error(f"支付宝接口调用失败: {result.code} - {result.msg}")
|
|
|
|
|
- raise CustomException(msg=f"获取员工签约激活链接失败: {result.msg}")
|
|
|
|
|
|
|
+ log.error(f"支付宝接口调用失败: {result.code} - {result.sub_msg}")
|
|
|
|
|
+ raise CustomException(msg=f"获取员工签约激活链接失败: {result.sub_msg}")
|
|
|
|
|
|
|
|
return EmployeeInviteQueryOutSchema(
|
|
return EmployeeInviteQueryOutSchema(
|
|
|
enterprise_id=result.enterprise_id or data.enterprise_id,
|
|
enterprise_id=result.enterprise_id or data.enterprise_id,
|