Commit 4d878e12 authored by chenlin's avatar chenlin

官网后台跳转小程序后台

parent d4639870
......@@ -159,11 +159,21 @@ public class CmptController {
}
@RequestMapping(value = "foward/{cmptId}/{userId}")
@RequestMapping(value = "foward/{cmptId}/{userId}/{gUserId}")
public String foward(@PathVariable("cmptId") Integer cmptId,
@PathVariable("userId") Integer userId,
@PathVariable("gUserId") Integer gUserId,
ModelAndView mv) {
Integer uId = cmptService.getCommonUserId(userId);
log.info("=====跳转赛客助手管理后台 cmptId:"+cmptId+",userId:"+userId+",gUserId:"+gUserId);
// 修改从赛客官网后台跳转到赛客助手后台 by Linc 2022/05/18
// 多传一个gUserId参数(官网用户ID)不需要用计时sys_admin用户ID再去反查官网用户ID
Integer uId = -1;
if(userId <= 0 && gUserId > 0){
uId = gUserId;
}
if(userId > 0 && gUserId <= 0){
uId = cmptService.getCommonUserId(userId);
}
NeuUser user2 = null;
if (uId == null) {
log.info("未查询到nuser用户");
......
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