| | |
| | | |
| | | String pcUrl = host + PropertiesUtil.getProperty("site.pc.reg.url") + agentUser.getAgentCode(); |
| | | agentInfoVO.setPcUrl(pcUrl); |
| | | String mUrl = host + PropertiesUtil.getProperty("site.m.reg.url") + agentUser.getAgentCode(); |
| | | String mobileHost = PropertiesUtil.getProperty("frontend.domain.url", host); |
| | | if (StringUtils.isNotBlank(mobileHost)) { |
| | | mobileHost = mobileHost.replaceAll("/$", ""); |
| | | } else { |
| | | mobileHost = host; |
| | | } |
| | | String mUrl = mobileHost + PropertiesUtil.getProperty("site.m.reg.url") + agentUser.getAgentCode(); |
| | | agentInfoVO.setMUrl(mUrl); |
| | | return agentInfoVO; |
| | | } |