Commit 8d3be4ea authored by zhouqian's avatar zhouqian

get protocol

parent 960da8df
...@@ -472,7 +472,7 @@ public class WeChatController implements IBaseController { ...@@ -472,7 +472,7 @@ public class WeChatController implements IBaseController {
private String createUserSession(User user, Merchant merchant, String redirect, String schema, Long registerFrom) { private String createUserSession(User user, Merchant merchant, String redirect, String schema, Long registerFrom) {
//TODO 临时紧急上线修改的.下次上线的时候修复一下,不能这样写. //TODO 临时紧急上线修改的.下次上线的时候修复一下,不能这样写.
String url = "http://passport.xyqb.com"; String url = "http://passport.xyqb.com";
if("https".equals(schema)) { if("https:".equals(schema)) {
url = "https://passport.xyqb.com"; url = "https://passport.xyqb.com";
} }
if(StringUtils.isEmpty(redirect) || "redirect".equals(redirect)) { if(StringUtils.isEmpty(redirect) || "redirect".equals(redirect)) {
......
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