fix:单点
This commit is contained in:
1 parent
5d98c84ac5
commit
88a41ffffe
2 files changed
+3
-2
No files matched your search
+2
-2
@@ -10,8 +10,8 @@ import lombok.Getter;
|
||||
@Getter
|
||||
public enum UserTypeEnum {
|
||||
|
||||
ZZD("1", "浙政钉用户"),
|
||||
SH("2", "诗画"),
|
||||
ZZD("1", "浙政钉用户登录失败"),
|
||||
SH("2", "诗画用户登录失败"),
|
||||
;
|
||||
private final String type;
|
||||
private final String description;
|
||||
|
||||
+1
@@ -414,6 +414,7 @@ public class ThirdPartyOAuth2Service {
|
||||
if (response.getBody().getCode().equals("-1")){
|
||||
log.error("获取浙政钉/诗画用户信息失败");
|
||||
log.error("token",zzdToken);
|
||||
log.error("response",JSON.toJSONString(response.getBody()));
|
||||
ThirdPartyLogEntity thirdPartyLogEntity = new ThirdPartyLogEntity();
|
||||
if (type.equals(UserTypeEnum.ZZD.getType())){
|
||||
thirdPartyLogEntity.setApiName(UserTypeEnum.ZZD.getDescription());
|
||||
|
||||
Reference in new issue
Block a user