Commit 81f09f4f authored by Administrator's avatar Administrator

Merge branch 'staging' into 'master'

提供前端查询ip 浏览器显示换行

See merge request !176
parents 9f29cab4 9f8dca7f
...@@ -47,9 +47,9 @@ public class TempServiceImpl implements TempService { ...@@ -47,9 +47,9 @@ public class TempServiceImpl implements TempService {
IpResource ipResource = ipResourceRepository.findFirstByAddrOrderByPurchasedTimeDesc(ip); IpResource ipResource = ipResourceRepository.findFirstByAddrOrderByPurchasedTimeDesc(ip);
String password; String password;
if (ipResource.getProxyPassword() == null) { if (ipResource.getProxyPassword() == null) {
password = ipResource.getUsername() + "\n" + ipResource.getPassword(); password = ipResource.getUsername() + "<br/>" + ipResource.getPassword();
} else { } else {
password = ipResource.getProxyUsername() + "\n" + ipResource.getPassword(); password = ipResource.getProxyUsername() + "<br/>" + ipResource.getProxyPassword();
} }
return password; return password;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment