BIP单据与获取token公用方法编写
This commit is contained in:
parent
7b4a0b5ce7
commit
bded91fef5
|
@ -170,9 +170,11 @@ public class EntranceController {
|
|||
}
|
||||
@RequestMapping(value = "/erpSso")
|
||||
@ResponseBody
|
||||
public JsonResultEntity erpSso(HttpServletResponse response, String ticket) throws Exception {
|
||||
public String erpSso(HttpServletResponse response, String ticket) throws Exception {
|
||||
String indexUrl = bipSsoService.erpSso(ticket);
|
||||
response.sendRedirect(indexUrl);
|
||||
return null;
|
||||
// response.sendRedirect("https://www.sojson.com/aaa");
|
||||
// response.sendRedirect("http://127.0.0.1:8888/nccloud/resources/uap/rbac/login/main/index.html");
|
||||
return indexUrl;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue