BIP单据与获取token公用方法编写
This commit is contained in:
parent
cbbb2bdc35
commit
1fac2d06a3
webapp/src/main/java/com/hzya/frame/webapp/entrance/controler
|
@ -30,6 +30,7 @@ import org.springframework.web.multipart.MultipartFile;
|
|||
import javax.annotation.Resource;
|
||||
import javax.servlet.ServletRequest;
|
||||
import javax.servlet.ServletResponse;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
|
@ -170,8 +171,8 @@ public class EntranceController {
|
|||
}
|
||||
@RequestMapping(value = "/erpSso")
|
||||
@ResponseBody
|
||||
public String erpSso(HttpServletResponse response, String ticket) throws Exception {
|
||||
String indexUrl = bipSsoService.erpSso(ticket);
|
||||
public String erpSso(HttpServletRequest request,HttpServletResponse response, String ticket) throws Exception {
|
||||
String indexUrl = bipSsoService.erpSso(request,ticket);
|
||||
response.sendRedirect(indexUrl);
|
||||
// response.sendRedirect("https://www.sojson.com/aaa");
|
||||
// response.sendRedirect("http://127.0.0.1:8888/nccloud/resources/uap/rbac/login/main/index.html");
|
||||
|
|
Loading…
Reference in New Issue