Skip to content

Commit

Permalink
fix(apifox): fix login failure
Browse files Browse the repository at this point in the history
  • Loading branch information
lkqm committed Apr 23, 2023
1 parent 57b298d commit c6d6771
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/io/apidocx/base/sdk/apifox/ApifoxClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ private String getOrRefreshAccessToken(boolean force) {
.loginType(loginType.name())
.account(account)
.password(this.password)
.mobile(account)
.build();
Response<LoginResponse> response = apifoxApi.login(loginRequest);
LoginResponse loginResponse = response.getData();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ public class LoginRequest {

private String loginType;

private String mobile;

}

0 comments on commit c6d6771

Please sign in to comment.