Revert "1:补充向阀门中添加特殊属性的业务 2:修改request获取ip的方式(前面接的有nginx直接用request.getRemoteAddr无法获取到)"
This reverts commit 736ec03da9.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
package com.nis.domain.restful;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.nis.domain.LogEntity;
|
||||
import com.wordnik.swagger.annotations.ApiModelProperty;
|
||||
|
||||
@@ -23,11 +22,6 @@ public class NtcCollectRadiusLog extends LogEntity<NtcCollectRadiusLog> {
|
||||
protected String framedIp;
|
||||
@ApiModelProperty(value="用户名", required=true)
|
||||
protected String account;
|
||||
|
||||
protected String searchNasIp;//ISN接入的IP
|
||||
protected String searchFramedIp;//服务器下发的用户地址
|
||||
protected String searchAccount;//用户名
|
||||
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
@@ -52,27 +46,6 @@ public class NtcCollectRadiusLog extends LogEntity<NtcCollectRadiusLog> {
|
||||
public void setAccount(String account) {
|
||||
this.account = account;
|
||||
}
|
||||
@JsonIgnore
|
||||
public String getSearchNasIp() {
|
||||
return searchNasIp;
|
||||
}
|
||||
public void setSearchNasIp(String searchNasIp) {
|
||||
this.searchNasIp = searchNasIp;
|
||||
}
|
||||
@JsonIgnore
|
||||
public String getSearchFramedIp() {
|
||||
return searchFramedIp;
|
||||
}
|
||||
public void setSearchFramedIp(String searchFramedIp) {
|
||||
this.searchFramedIp = searchFramedIp;
|
||||
}
|
||||
@JsonIgnore
|
||||
public String getSearchAccount() {
|
||||
return searchAccount;
|
||||
}
|
||||
public void setSearchAccount(String searchAccount) {
|
||||
this.searchAccount = searchAccount;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user