Skip to content

Commit

Permalink
升级client版本
Browse files Browse the repository at this point in the history
  • Loading branch information
cgw committed Nov 6, 2023
1 parent ad1f629 commit a2dca3d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public RestResponse<PageData<App>> page(@CookieValue(name = "login_token", requi
* @param searchParam 搜索参数
* @return 符合条件的数据
*/
@AccessNotLogin
@PostMapping("/search")
public RestResponse<List<App>> search(@RequestBody AppPageParam searchParam) {
return success(appApplicationService.search(searchParam));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public String dingding(@RequestParam("authCode") String code, @RequestParam("sta

@AccessNotLogin
@GetMapping("/cas")
public String cas2(HttpSession session, HttpServletResponse response) {
public String cas(HttpSession session, HttpServletResponse response) {
Assertion assertion = (Assertion) session.getAttribute(AbstractCasFilter.CONST_CAS_ASSERTION);
if(assertion == null) {
return null;
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
<version>6.9.0</version>
<version>6.9.2</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
Expand Down
11 changes: 11 additions & 0 deletions static/page/sys_user/cas_login.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@
}
},
error: function(res){

/**
setTimeout(() => {
if(res.status == 200){
window.location.href = '/index.html';
}else{
window.location.href = '/page/login.html';
}
}, 5000);
**/

if(res.status == 200){
window.location.href = '/index.html';
}else{
Expand Down

0 comments on commit a2dca3d

Please sign in to comment.