提交 71ee28db authored 作者: inroi's avatar inroi

完成

上级 a967c751
......@@ -7,6 +7,7 @@ import com.shr.utils.StringUtil;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
import javax.servlet.http.HttpServletResponse;
import java.io.File;
......@@ -48,7 +49,7 @@ public class EasController {
}
@GetMapping(value = "/shr/ssoLogin")
public String shrSsoLogin(String ssoUsername, String assignmentId) throws IOException {
public ModelAndView shrSsoLogin(String ssoUsername, String assignmentId) throws IOException {
//s-HR地址
System.out.println("assignmentId:" + assignmentId);
String shrLocal = "http://10.10.12.21:8080/easweb/webviews/workflow/approvenew.jsp?assignmentId=" + assignmentId + "&type=approve";
......@@ -60,7 +61,7 @@ public class EasController {
System.out.println("redirectTo:" + redirectTo);
if (StringUtil.isBlank(ssoUsername)) {
return "";
return new ModelAndView("");
}
//String ssoUsername = "administrator";
//根据密钥生成的密码串
......@@ -72,7 +73,7 @@ public class EasController {
System.out.println(url);
return url;
return new ModelAndView(url);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论