Commit a3614c13 by 吴迪

【新增】修改成跳转

parent b05ddc84
...@@ -262,6 +262,8 @@ public class TycpdmFirmController extends AbstractController { ...@@ -262,6 +262,8 @@ public class TycpdmFirmController extends AbstractController {
} }
/** /**
* 返回文件 url * 返回文件 url
*/ */
...@@ -293,7 +295,6 @@ public class TycpdmFirmController extends AbstractController { ...@@ -293,7 +295,6 @@ public class TycpdmFirmController extends AbstractController {
} }
String url= tycpdmFirmService.redirectGDSURL(memberEntity,params); String url= tycpdmFirmService.redirectGDSURL(memberEntity,params);
try { try {
response.sendRedirect(url);
return R.ok().put("data",url); return R.ok().put("data",url);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
...@@ -310,7 +311,6 @@ public class TycpdmFirmController extends AbstractController { ...@@ -310,7 +311,6 @@ public class TycpdmFirmController extends AbstractController {
MemberEntity memberUser = getMemberUser(); MemberEntity memberUser = getMemberUser();
String url= tycpdmFirmService.redirectGDSGLN(memberUser); String url= tycpdmFirmService.redirectGDSGLN(memberUser);
try { try {
response.sendRedirect(url);
return R.ok().put("data",url); return R.ok().put("data",url);
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
...@@ -324,9 +324,11 @@ public class TycpdmFirmController extends AbstractController { ...@@ -324,9 +324,11 @@ public class TycpdmFirmController extends AbstractController {
* 跳转业务大厅页面 * 跳转业务大厅页面
*/ */
@RequestMapping("/authApi/redirectBusinessHall") @RequestMapping("/authApi/redirectBusinessHall")
public R redirectBusinessHall(@RequestBody Map<String, Object> params,HttpServletResponse response){ public R redirectBusinessHall(String id,String userType,HttpServletResponse response){
//由于member表中没有手机用户的信息 通过memberDao获取 //由于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())); /*MemberEntity memberEntity = memberDao.selectById(Long.valueOf(id.toString()));
if (memberEntity==null){ if (memberEntity==null){
memberEntity=new MemberEntity(); memberEntity=new MemberEntity();
...@@ -342,6 +344,7 @@ public class TycpdmFirmController extends AbstractController { ...@@ -342,6 +344,7 @@ public class TycpdmFirmController extends AbstractController {
} }
} }
/** /**
* 修改企业信息回显(不需要审批) * 修改企业信息回显(不需要审批)
*/ */
......
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