Skip to content

Commit

Permalink
fix: VerifyDeleteAccountRequestDto dto
Browse files Browse the repository at this point in the history
  • Loading branch information
廖长江 committed Nov 21, 2023
1 parent 306915a commit 6794717
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion constant/base_constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const (
TokenCacheKeyPrefix = "accessKeyId_token_"

SdkName = "SDK"
SdkVersion = "authing-golang-sdk:3.0.2"
SdkVersion = "authing-golang-sdk:3.0.15"

DefaultScope = "openid profile"

Expand Down
12 changes: 5 additions & 7 deletions dto/VerifyDeleteAccountRequestDto.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package dto


type VerifyDeleteAccountRequestDto struct{
VerifyMethod string `json:"verifyMethod"`
PhonePassCodePayload DeleteAccountByPhonePassCodeDto `json:"phonePassCodePayload,omitempty"`
EmailPassCodePayload DeleteAccountByEmailPassCodeDto `json:"emailPassCodePayload,omitempty"`
PasswordPayload DeleteAccountByPasswordDto `json:"passwordPayload,omitempty"`
type VerifyDeleteAccountRequestDto struct {
VerifyMethod string `json:"verifyMethod"`
PhonePassCodePayload *DeleteAccountByPhonePassCodeDto `json:"phonePassCodePayload,omitempty"`
EmailPassCodePayload *DeleteAccountByEmailPassCodeDto `json:"emailPassCodePayload,omitempty"`
PasswordPayload *DeleteAccountByPasswordDto `json:"passwordPayload,omitempty"`
}

0 comments on commit 6794717

Please sign in to comment.