Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
liushuai
/
hz-project-management
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
28
Wiki
Attività
Sfoglia il codice sorgente
修改授权码过期时间
tags/24080901
WendyYang
8 mesi fa
parent
3af6df8175
commit
e3b8038fbe
4 ha cambiato i file
con
30 aggiunte
e
10 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
hz-pm-api/src/main/java/com/hz/pm/api/common/config/AuthCodeProps.java
+27
-8
hz-pm-api/src/main/java/com/hz/pm/api/external/todo/dto/MhTodoExtraParamDTO.java
+1
-1
hz-pm-api/src/main/resources/security/auth-dev.yml
+1
-0
hz-pm-api/src/main/resources/security/auth-prod.yml
+ 1
- 1
hz-pm-api/src/main/java/com/hz/pm/api/common/config/AuthCodeProps.java
Vedi File
@@ -21,7 +21,7 @@ public class AuthCodeProps {
/**
* authCode失效时间(单位:秒)
*/
private Integer expireTime =
10
;
private Integer expireTime =
5
;
/**
* authCode长度(最大:24~32)
+ 27
- 8
hz-pm-api/src/main/java/com/hz/pm/api/external/todo/dto/MhTodoExtraParamDTO.java
Vedi File
@@ -15,22 +15,41 @@ import lombok.Data;
@Builder
public class MhTodoExtraParamDTO {
/**
* 用户ID
*/
private Long userId;
/**
* 用户名
*/
private String userName;
/**
* 流程实例ID
*/
private String instanceId;
/**
* 项目编码
*/
private String projectCode;
/**
* 项目ID
*/
private Long projectId;
/**
* 任务ID
*/
private String taskId;
/**
* 标段ID
*/
private Long bidId;
/**
* 任务节点ID
*/
private String nodeId;
/**
* 跳转页面路径
*/
private String path;
}
+ 1
- 1
hz-pm-api/src/main/resources/security/auth-dev.yml
Vedi File
@@ -19,7 +19,7 @@ security:
- /api/v1/user/auth/login/password
- /api/v1/user/auth/forget-password
- /api/v1/user/auth/common-login
- /api/v1/user/auth/
common-login
- /api/v1/user/auth/
getAuthCode
- /doc.html
- /ok.html
- /open/api/**
+ 1
- 0
hz-pm-api/src/main/resources/security/auth-prod.yml
Vedi File
@@ -19,6 +19,7 @@ security:
- /api/v1/user/auth/login/password
- /api/v1/user/auth/forget-password
- /api/v1/user/auth/common-login
- /api/v1/user/auth/getAuthCode
- /doc.html
- /ok.html
- /open/api/**
Write
Preview
Loading…
Annulla
Salva