Commit 3bbaa0bf authored by lee_mingzhu's avatar lee_mingzhu

移除调试用的日志

parent 76701a7a
...@@ -174,7 +174,7 @@ public class WeChatController { ...@@ -174,7 +174,7 @@ public class WeChatController {
* @return * @return
*/ */
@RequestMapping("/receiveCode/{key}/{redirect}") @RequestMapping("/receiveCode/{key}/{redirect}")
public void receiveCode(String code, @PathVariable(value = "key") String systemKey, HttpServletRequest request, @PathVariable String redirect, HttpServletResponse response) { public void receiveCode(String code, @PathVariable(value = "key") String systemKey, @PathVariable String redirect, HttpServletRequest request, HttpServletResponse response) {
String schema = request.getScheme(); String schema = request.getScheme();
LOGGER.info("HTTP协议:" + schema); LOGGER.info("HTTP协议:" + schema);
// 从code获取token // 从code获取token
...@@ -276,6 +276,7 @@ public class WeChatController { ...@@ -276,6 +276,7 @@ public class WeChatController {
} }
private String createUserSession(User user, Merchant merchant, String redirect, String schema) { private String createUserSession(User user, Merchant merchant, String redirect, String schema) {
//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";
......
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