|
@@ -131,11 +131,11 @@ public class WeChatController {
|
|
|
MceMbuser one = mceMbuserService.getOne(queryWrapper);
|
|
|
if(one != null){
|
|
|
//String sendUrl = http+constant.call_back_domain+constant.WE_CHAT_INDEX+"?openId="+one.getOpenid();
|
|
|
- String sendUrl = http+constant.call_back_domain+constant.WE_CHAT_INDEX;
|
|
|
+ String sendUrl = http+constant.call_back_domain+constant.WE_CHAT_INDEX+"?flag=true";
|
|
|
response.sendRedirect(URLDecoder.decode(sendUrl, "UTF-8"));
|
|
|
}else{
|
|
|
//String sendUrl = http+constant.call_back_domain+constant.WE_CHAT_LOGIN+"?openId="+openId;
|
|
|
- String sendUrl = http+constant.call_back_domain+constant.WE_CHAT_LOGIN;
|
|
|
+ String sendUrl = http+constant.call_back_domain+constant.WE_CHAT_LOGIN+"?flag=true";
|
|
|
response.sendRedirect(URLDecoder.decode(sendUrl, "UTF-8"));
|
|
|
}
|
|
|
}catch (IOException e){
|
|
@@ -144,7 +144,7 @@ public class WeChatController {
|
|
|
|
|
|
}else{
|
|
|
try{
|
|
|
- String sendUrl = http+constant.call_back_domain+constant.WE_CHAT_LOGIN;
|
|
|
+ String sendUrl = http+constant.call_back_domain+constant.WE_CHAT_LOGIN+"?flag=true";
|
|
|
response.sendRedirect(URLDecoder.decode(sendUrl, "UTF-8"));
|
|
|
}catch (IOException e){
|
|
|
throw new BusinessException(e.getMessage());
|