|
|
|
@@ -187,12 +187,12 @@ public class WechatLoginController extends BaseController { |
|
|
|
log.error(e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
// Map map = new HashMap(); |
|
|
|
// if (mall.getGroupSupport().equals(EnumGroupSupport.SUPPORT.getCode())) { |
|
|
|
// List<WxMall> mallList = mallService.getSubByParentTenantId(mall.getTenantId()); |
|
|
|
// map.put("subMalls", JSON.toJSONString(mallList)); |
|
|
|
// map.put("group", EnumGroupSupport.SUPPORT.getCode()); |
|
|
|
// } |
|
|
|
Map map = new HashMap(); |
|
|
|
if (mall.getGroupSupport().equals(EnumGroupSupport.SUPPORT.getCode())) { |
|
|
|
List<WxMall> mallList = mallService.getSubByParentTenantId(mall.getTenantId()); |
|
|
|
map.put("subMalls", JSON.toJSONString(mallList)); |
|
|
|
map.put("group", EnumGroupSupport.SUPPORT.getCode()); |
|
|
|
} |
|
|
|
try { |
|
|
|
String cookieName = URLEncoder.encode(info.getUsername(), "utf-8"); |
|
|
|
Cookie unameCookie = new Cookie("uname", cookieName); |
|
|
|
@@ -358,12 +358,12 @@ public class WechatLoginController extends BaseController { |
|
|
|
log.error(e.getMessage()); |
|
|
|
} |
|
|
|
} |
|
|
|
Map map = new HashMap(); |
|
|
|
if (mall.getGroupSupport().equals(EnumGroupSupport.SUPPORT.getCode())) { |
|
|
|
List<WxMall> mallList = mallService.getSubByParentTenantId(mall.getTenantId()); |
|
|
|
map.put("subMalls", JSON.toJSONString(mallList)); |
|
|
|
map.put("group", EnumGroupSupport.SUPPORT.getCode()); |
|
|
|
} |
|
|
|
// Map map = new HashMap(); |
|
|
|
// if (mall.getGroupSupport().equals(EnumGroupSupport.SUPPORT.getCode())) { |
|
|
|
// List<WxMall> mallList = mallService.getSubByParentTenantId(mall.getTenantId()); |
|
|
|
// map.put("subMalls", JSON.toJSONString(mallList)); |
|
|
|
// map.put("group", EnumGroupSupport.SUPPORT.getCode()); |
|
|
|
// } |
|
|
|
// 登录cookie |
|
|
|
String cookieName = URLEncoder.encode(info.getUsername(), "utf-8"); |
|
|
|
Cookie unameCookie = new Cookie("uname", cookieName); |
|
|
|
|