新增参数

This commit is contained in:
shenjian@fangjia.com
2023-05-22 11:24:16 +08:00
parent 6120df82cb
commit 591b5d6c97
2 changed files with 11 additions and 0 deletions
@@ -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;
}
}