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