Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-office-web-sit
Overview
Overview
Details
Activity
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
吴迪
gs1-office-web-sit
Commits
a3614c13
Commit
a3614c13
authored
Jan 11, 2022
by
吴迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【新增】修改成跳转
parent
b05ddc84
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
TycpdmFirmController.java
...ffice/modules/manage/controller/TycpdmFirmController.java
+7
-4
No files found.
src/main/java/io/office/modules/manage/controller/TycpdmFirmController.java
View file @
a3614c13
...
...
@@ -262,6 +262,8 @@ public class TycpdmFirmController extends AbstractController {
}
/**
* 返回文件 url
*/
...
...
@@ -293,7 +295,6 @@ public class TycpdmFirmController extends AbstractController {
}
String
url
=
tycpdmFirmService
.
redirectGDSURL
(
memberEntity
,
params
);
try
{
response
.
sendRedirect
(
url
);
return
R
.
ok
().
put
(
"data"
,
url
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
@@ -310,7 +311,6 @@ public class TycpdmFirmController extends AbstractController {
MemberEntity
memberUser
=
getMemberUser
();
String
url
=
tycpdmFirmService
.
redirectGDSGLN
(
memberUser
);
try
{
response
.
sendRedirect
(
url
);
return
R
.
ok
().
put
(
"data"
,
url
);
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
@@ -324,9 +324,11 @@ public class TycpdmFirmController extends AbstractController {
* 跳转业务大厅页面
*/
@RequestMapping
(
"/authApi/redirectBusinessHall"
)
public
R
redirectBusinessHall
(
@RequestBody
Map
<
String
,
Object
>
params
,
HttpServletResponse
response
){
public
R
redirectBusinessHall
(
String
id
,
String
userType
,
HttpServletResponse
response
){
//由于member表中没有手机用户的信息 通过memberDao获取
Object
id
=
params
.
get
(
"id"
);
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"id"
,
id
);
params
.
put
(
"userType"
,
userType
);
/*MemberEntity memberEntity = memberDao.selectById(Long.valueOf(id.toString()));
if (memberEntity==null){
memberEntity=new MemberEntity();
...
...
@@ -342,6 +344,7 @@ public class TycpdmFirmController extends AbstractController {
}
}
/**
* 修改企业信息回显(不需要审批)
*/
...
...
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