+1
@@ -1837,6 +1837,7 @@ public class AddressController {
|
|||||||
Map<String, String> params = new HashMap<String, String>();
|
Map<String, String> params = new HashMap<String, String>();
|
||||||
params.put("city", StringUtils.isNotBlank(model.getCity()) ? model.getCity() : CONFIG.getDefaultCity());
|
params.put("city", StringUtils.isNotBlank(model.getCity()) ? model.getCity() : CONFIG.getDefaultCity());
|
||||||
params.put("address", model.getAddress());
|
params.put("address", model.getAddress());
|
||||||
|
params.put("showCode", model.getShowCode());
|
||||||
try{
|
try{
|
||||||
json = request.getJsonContent("http://192.168.0.100:32080/FangJiaAddressService/structure", params, "UTF-8");
|
json = request.getJsonContent("http://192.168.0.100:32080/FangJiaAddressService/structure", params, "UTF-8");
|
||||||
} catch(Exception e){
|
} catch(Exception e){
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ public class AddesssMatchModel extends FangjiaApiModel {
|
|||||||
private String address_1;
|
private String address_1;
|
||||||
private String address_2;
|
private String address_2;
|
||||||
|
|
||||||
|
private String showCode;
|
||||||
|
|
||||||
public String getAddress_1() {
|
public String getAddress_1() {
|
||||||
return address_1;
|
return address_1;
|
||||||
}
|
}
|
||||||
@@ -134,4 +136,12 @@ public class AddesssMatchModel extends FangjiaApiModel {
|
|||||||
public void setDebugName(String debugName) {
|
public void setDebugName(String debugName) {
|
||||||
this.debugName = debugName;
|
this.debugName = debugName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public String getShowCode() {
|
||||||
|
return showCode;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShowCode(String showCode) {
|
||||||
|
this.showCode = showCode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user