| | |
| | | try { |
| | | JsonNode vzanResponse = vzanHttpUtil.createAgent( |
| | | request.getContactInfo(), request.getAgentName(), 2, null, request.getAgentName()); |
| | | log.info("微赞创建代理成功,出参={}", JSONUtil.toJsonStr(vzanResponse)); |
| | | log.info("微赞创建代理成功,出参={}", vzanResponse); |
| | | } catch (RuntimeException ex) { |
| | | log.error("微赞创建代理失败,本地事务将回滚,入参 agentMobile={}, agentName={}, levelCode={}, parentMobile={}, storeName={}", |
| | | request.getContactInfo(), request.getAgentName(), 1, null, request.getAgentName(), ex); |
| | | throw ex; |
| | | // throw ex; |
| | | throw new IllegalStateException("微赞创建代理失败", ex); |
| | | } |
| | | return detail(agent.getId()); |
| | | } |