mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-05-05 13:17:55 +08:00
修复 sa-token-servlet 模块代码警告
This commit is contained in:
parent
1819d92318
commit
14131bdaf2
@ -134,7 +134,7 @@ public class SaRequestForServlet implements SaRequest {
|
||||
*/
|
||||
public String getUrl() {
|
||||
String currDomain = SaManager.getConfig().getCurrDomain();
|
||||
if(SaFoxUtil.isEmpty(currDomain) == false) {
|
||||
if( ! SaFoxUtil.isEmpty(currDomain)) {
|
||||
return currDomain + this.getRequestPath();
|
||||
}
|
||||
return request.getRequestURL().toString();
|
||||
|
Loading…
Reference in New Issue
Block a user