Commit ef36fb7e authored by 郝增润's avatar 郝增润

淘宝接口

parent f40e6237
...@@ -235,7 +235,8 @@ public class Open2DuibaController { ...@@ -235,7 +235,8 @@ public class Open2DuibaController {
*/ */
private String autologin(DuibaAppEnum duibaApp, String uid, String nickName, String avatar, String redirectUrl, String env, String credits) { private String autologin(DuibaAppEnum duibaApp, String uid, String nickName, String avatar, String redirectUrl, String env, String credits) {
if (env.equals("taobao")) { if (env != null && env.equals("taobao")) {
LOGGER.info("taobaourl,avatar={},nickname={},uid={},url={}", avatar, nickName, uid, redirectUrl + "&avatar=" + avatar + "&nickname=" + nickName + "&uid=" + uid);
return redirectUrl + "&avatar=" + avatar + "&nickname=" + nickName + "&uid=" + uid; return redirectUrl + "&avatar=" + avatar + "&nickname=" + nickName + "&uid=" + uid;
} }
......
spring.application.name=jd-activity spring.application.name=jd-activity
spring.profiles.active=prod spring.profiles.active=dev
# 先排除一些autoconfigure # 先排除一些autoconfigure
spring.autoconfigure.exclude= spring.autoconfigure.exclude=
# tomcat # tomcat
......
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