|
@@ -223,6 +223,15 @@ public class SceneController extends BaseController {
|
|
|
return ResultData.ok(responseSceneDataDownload);
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * <p>
|
|
|
+ 跳转到编辑页面
|
|
|
+ * </p>
|
|
|
+ * @author dengsixing
|
|
|
+ * @date 2022/9/6
|
|
|
+ * @param request
|
|
|
+ * @param response
|
|
|
+ **/
|
|
|
@RequestMapping("goEditScenePage")
|
|
|
public void goEditScenePage(HttpServletRequest request, HttpServletResponse response) throws Exception{
|
|
|
String phoneNum = request.getParameter("phoneNum");
|
|
@@ -260,14 +269,14 @@ public class SceneController extends BaseController {
|
|
|
|
|
|
//登录成功
|
|
|
if(scene.getWebSite().contains(sceneProUrl)){
|
|
|
- response.sendRedirect(mainUrl + sceneProUrl.replace("show", "edit").replace("PC", "Mobile") +
|
|
|
+ response.sendRedirect(mainUrl + "/" + sceneProUrl.replace("show", "edit").replace("PC", "Mobile") +
|
|
|
sceneNum + "&t=" +System.currentTimeMillis() + "&token=" + token + "&app" +
|
|
|
(lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog));
|
|
|
}
|
|
|
|
|
|
if(scene.getIsUpgrade() != null && scene.getIsUpgrade() == 1){
|
|
|
if(scene.getWebSite().contains(sceneProV4Url)){
|
|
|
- response.sendRedirect(mainUrl + sceneProV4Url.replace("s", "e") +
|
|
|
+ response.sendRedirect(mainUrl + "/" + sceneProV4Url.replace("s", "e") +
|
|
|
sceneNum + "&t=" +System.currentTimeMillis() + "&token=" + token + "&app" +
|
|
|
(lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog));
|
|
|
return;
|
|
@@ -275,7 +284,7 @@ public class SceneController extends BaseController {
|
|
|
}
|
|
|
|
|
|
if(scene.getWebSite().contains(sceneProV3Url)){
|
|
|
- response.sendRedirect(mainUrl + sceneProV3Url.replace("s", "e") +
|
|
|
+ response.sendRedirect(mainUrl + "/" + sceneProV3Url.replace("s", "e") +
|
|
|
sceneNum + "&t=" +System.currentTimeMillis() + "&token=" + token + "&app" +
|
|
|
(lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog));
|
|
|
}
|
|
@@ -317,14 +326,14 @@ public class SceneController extends BaseController {
|
|
|
ssoLoginHelper.loginV3(token, BeanUtil.copyProperties(user, SSOUser.class));
|
|
|
//登录成功
|
|
|
if(scene.getWebSite().contains(sceneProUrl)){
|
|
|
- response.sendRedirect(mainUrl + sceneProUrl.replace("show", "edit").replace("PC", "Mobile") +
|
|
|
+ response.sendRedirect(mainUrl + "/" + sceneProUrl.replace("show", "edit").replace("PC", "Mobile") +
|
|
|
sceneNum + "&t=" +System.currentTimeMillis() + "&token=" + token + "&app" +
|
|
|
(lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog));
|
|
|
}
|
|
|
|
|
|
if(scene.getIsUpgrade() != null && scene.getIsUpgrade() == 1){
|
|
|
if(scene.getWebSite().contains(sceneProV4Url)){
|
|
|
- response.sendRedirect(mainUrl + sceneProV4Url.replace("s", "e") +
|
|
|
+ response.sendRedirect(mainUrl + "/" + sceneProV4Url.replace("s", "e") +
|
|
|
sceneNum + "&t=" +System.currentTimeMillis() + "&token=" + token + "&app" +
|
|
|
(lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog));
|
|
|
return;
|
|
@@ -332,7 +341,7 @@ public class SceneController extends BaseController {
|
|
|
}
|
|
|
|
|
|
if(scene.getWebSite().contains(sceneProV3Url)) {
|
|
|
- response.sendRedirect(mainUrl + sceneProV3Url.replace("s", "e") +
|
|
|
+ response.sendRedirect(mainUrl + "/" + sceneProV3Url.replace("s", "e") +
|
|
|
sceneNum + "&t=" + System.currentTimeMillis() + "&token=" + token + "&app" +
|
|
|
(lang == null ? "" : "&lang=" + lang) + (vlog == null ? "" : "&vlog=" + vlog));
|
|
|
}
|