四级地址标准化BUG修改

This commit is contained in:
mjt
2024-02-19 10:30:55 +08:00
parent d187b05dfb
commit 9f53a72dd7
@@ -2006,8 +2006,8 @@ public class AddressController {
HttpRequest request = new HttpRequest();
JSONObject json = null;
Map<String, String> params = new HashMap<String, String>();
params.put("city", StringUtils.isNotBlank(model.getCity()) ? model.getCity() : CONFIG.getDefaultCity());
params.put("refCity", StringUtils.isNotBlank(model.getCity()) ? model.getRefCity() : CONFIG.getDefaultCity());
params.put("city", StringUtils.isNotBlank(model.getCity()) ? model.getCity() : null);
params.put("refCity", StringUtils.isNotBlank(model.getRefCity()) ? model.getRefCity() : null);
params.put("address", model.getAddress());
// 默认不输出省市区的代码
params.put("showCode", StringUtils.isNotBlank(model.getShowCode()) ? model.getShowCode() : "0");