|
@@ -88,6 +88,8 @@ public class SceneApiController {
|
|
|
String childName = request.getParameter("childName");
|
|
|
String lang = request.getParameter("lang");
|
|
|
String vlog = request.getParameter("vlog");
|
|
|
+ log.info("goEditScenePage---param--phoneNum:{},password:{},sceneNum:{},childName:{},lang:{},vlog:{}",
|
|
|
+ phoneNum,password,sceneNum,childName,lang,vlog);
|
|
|
|
|
|
ScenePro scene = sceneProService.getByNum(sceneNum);
|
|
|
ScenePlus scenePlus = null;
|
|
@@ -162,28 +164,29 @@ public class SceneApiController {
|
|
|
loginService.redisLogin(user.getUserName(),JSONObject.toJSONString(user));
|
|
|
//登录成功
|
|
|
try {
|
|
|
+ String redirect = null;
|
|
|
if(webSite.contains(sceneProUrl)){
|
|
|
- response.sendRedirect(mainUrl + sceneProUrl.replace("show", "edit").replace("PC", "Mobile") +
|
|
|
+ redirect = mainUrl + sceneProUrl.replace("show", "edit").replace("PC", "Mobile") +
|
|
|
sceneNum + "&t=" +System.currentTimeMillis() + "&token=" + token + "&app" +
|
|
|
- (lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog));
|
|
|
- return;
|
|
|
+ (lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog);
|
|
|
}
|
|
|
|
|
|
if(webSite.contains(sceneProV4Url)){
|
|
|
- response.sendRedirect(mainUrl + sceneProV4Url.replace("s", "e") +
|
|
|
+ redirect = mainUrl + sceneProV4Url.replace("s", "e") +
|
|
|
sceneNum + "&t=" +System.currentTimeMillis() + "&token=" + token + "&app" +
|
|
|
- (lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog));
|
|
|
- return;
|
|
|
+ (lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog);
|
|
|
}
|
|
|
|
|
|
if(webSite.contains(sceneProNewUrl)) {
|
|
|
- response.sendRedirect(mainUrl + sceneProNewUrl.replace("s", "e") +
|
|
|
+ redirect = mainUrl + sceneProNewUrl.replace("s", "e") +
|
|
|
sceneNum + "&t=" + System.currentTimeMillis() + "&token=" + token + "&app" +
|
|
|
- (lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog));
|
|
|
- return;
|
|
|
+ (lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog);
|
|
|
+
|
|
|
}
|
|
|
+ log.info("goEditScenePage---response--website:{},redirect:{}", webSite,redirect);
|
|
|
+ response.sendRedirect(redirect);
|
|
|
}catch (Exception e){
|
|
|
-
|
|
|
+ e.printStackTrace();
|
|
|
}
|
|
|
|
|
|
}
|