Merge branch 'open_gj' into 'master'

新增参数

See merge request !638
This commit is contained in:
2023-05-22 13:07:43 +08:00
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;
}
}