Commit a916094f authored by 张永's avatar 张永

22

parent 8e3964f1
...@@ -356,9 +356,14 @@ public class UserController { ...@@ -356,9 +356,14 @@ public class UserController {
} }
} }
customerMap.put("AgentID", customerMap.get("nAgentID")); customerMap.put("AgentID", customerMap.get("nAgentID"));
if(shopList.size() >0 ) {
customerMap.put("nShopID", shopList.get(0).get("nShopID")); customerMap.put("nShopID", shopList.get(0).get("nShopID"));
customerMap.put("sEmail", shopList.get(0).get("sEmail")); customerMap.put("sEmail", shopList.get(0).get("sEmail"));
customerMap.put("sShopName", shopList.get(0).get("sShopName")); customerMap.put("sShopName", shopList.get(0).get("sShopName"));
}else {
throw new XException("该账号暂未绑定门店.");
}
return Rjx.jsonOk().set("customer", customerMap).set("bankList", bankList).set("shopList", shopList).setMessage(I18NUtils.getMessage(langID, "Msg_Login_success")).toJson(); return Rjx.jsonOk().set("customer", customerMap).set("bankList", bankList).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