Commit f9cf905e authored by daniel's avatar daniel

feat(cmpt): 地址重定向处理

parent bad29cb9
......@@ -163,6 +163,7 @@ public class CmptController {
public String foward(@PathVariable("cmptId") Integer cmptId,
@PathVariable("userId") Integer userId,
@PathVariable("gUserId") Integer gUserId,
@RequestParam(value = "partnerId",required = false) String partnerId,
ModelAndView mv) {
log.info("=====跳转赛客助手管理后台 cmptId:"+cmptId+",userId:"+userId+",gUserId:"+gUserId);
// 修改从赛客官网后台跳转到赛客助手后台 by Linc 2022/05/18
......@@ -204,6 +205,11 @@ public class CmptController {
user2 = new NeuUser().setId(uId);
}
String param = "uId=" + user2.getId();
// 跳转到赛客助手后台赛事列表
if(partnerId != null&& !partnerId.isEmpty()){
param = param+"&partnerId="+partnerId;
return "redirect:" + serverURL + "gk/guide/index/" + cmptId + "?" + param;
}
String sign = new String(DigestUtils.md5DigestAsHex((param).getBytes()));
return "redirect:" + serverURL + "gk/cmpt/" + cmptId + "?" + param;
}
......
......@@ -140,7 +140,6 @@
},
mounted() {
this.fetchData()
},
methods: {
getQueryParams() {
......
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