Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
micro_app
gk
Commits
4d878e12
Commit
4d878e12
authored
May 21, 2022
by
chenlin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
官网后台跳转小程序后台
parent
d4639870
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
CmptController.java
...va/com/dlbridge/jadp/plugins/cmpt/web/CmptController.java
+12
-2
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/CmptController.java
View file @
4d878e12
...
@@ -159,11 +159,21 @@ public class CmptController {
...
@@ -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
,
public
String
foward
(
@PathVariable
(
"cmptId"
)
Integer
cmptId
,
@PathVariable
(
"userId"
)
Integer
userId
,
@PathVariable
(
"userId"
)
Integer
userId
,
@PathVariable
(
"gUserId"
)
Integer
gUserId
,
ModelAndView
mv
)
{
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
;
NeuUser
user2
=
null
;
if
(
uId
==
null
)
{
if
(
uId
==
null
)
{
log
.
info
(
"未查询到nuser用户"
);
log
.
info
(
"未查询到nuser用户"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment