四级地址标准化BUG修改
This commit is contained in:
+2
-2
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user