Commit 72b1dba2 authored by Java-刘 彧阳's avatar Java-刘 彧阳

重定向微信的时候,判断协议,字符串里少了个冒号/(ㄒoㄒ)/~~

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