Commit cf835725 authored by Quxl's avatar Quxl

x

parent 1ca700a2
...@@ -217,7 +217,7 @@ public class UserController { ...@@ -217,7 +217,7 @@ public class UserController {
shopList.add(shopMap); shopList.add(shopMap);
} }
customerMap.put("sShopNO", shopList.get(0).get("sShopNO")); customerMap.put("sShopNO", shopList.get(0).get("sShopNO"));
return Rjx.jsonOk().set("customer", customerMap).set("shopList", shopList).setMessage(I18NUtils.getMessage(langID, "Msg_Login_success")).toJson(); return this.queryUserInfoByOpenId(openId, langID, request, response);
} }
@ApiOperation("修改认证信息") @ApiOperation("修改认证信息")
...@@ -294,6 +294,7 @@ public class UserController { ...@@ -294,6 +294,7 @@ public class UserController {
public String queryUserInfoByOpenId(String openId, String langID, HttpServletRequest request, HttpServletResponse response) { public String queryUserInfoByOpenId(String openId, String langID, HttpServletRequest request, HttpServletResponse response) {
Map<String, Object> customerMap = userService.queryCustomerByOpenId(openId); Map<String, Object> customerMap = userService.queryCustomerByOpenId(openId);
List<Map<String, Object>> shopList = userService.queryShopList((String)customerMap.get("sCustNO")); List<Map<String, Object>> shopList = userService.queryShopList((String)customerMap.get("sCustNO"));
customerMap.put("sShopNO", shopList.get(0).get("sShopNO"));
return Rjx.jsonOk().set("customer", customerMap).set("shopList", shopList).setMessage(I18NUtils.getMessage(langID, "Msg_Login_success")).toJson(); return Rjx.jsonOk().set("customer", customerMap).set("shopList", shopList).setMessage(I18NUtils.getMessage(langID, "Msg_Login_success")).toJson();
} }
} }
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