BIP单据与获取token公用方法编写

This commit is contained in:
yuqh 2024-05-31 16:58:20 +08:00
parent 7b4a0b5ce7
commit bded91fef5
1 changed files with 4 additions and 2 deletions

View File

@ -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;
}
}