Commit 556b0af0 authored by lee_mingzhu's avatar lee_mingzhu

修改多条件查询

parent a6b3aaeb
......@@ -207,6 +207,12 @@ public class UserCenterController {
if(null != address) {
//用户住址信息,返回二级信息:
result.put("address", address.getProvince() + " " + address.getCity());
result.put("provinceCode", address.getProvinceCode());
result.put("province", address.getProvince());
result.put("cityCode", address.getCityCode());
result.put("city", address.getCity());
result.put("districtCode", address.getDistrictCode());
result.put("district", address.getDistrict());
}
return JsonResult.buildSuccessResult(null, result);
}
......@@ -217,7 +223,7 @@ public class UserCenterController {
* @param contactJson 要保存的联系人json串
* @return
*/
@RequestMapping("/save/contacts")
@RequestMapping("/contacts/save")
public JsonResult saveUserContact(String phoneNo, String contactJson) {
if(StringUtils.isEmpty(phoneNo)) {
LOGGER.error("保存联系人,参数错误. phoneNo:{}", phoneNo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment