Skip to content

fix(dasb): [117762490] update param phone Adapter country area code #2734

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 22, 2024

Conversation

SevenEarth
Copy link
Collaborator

No description provided.

@SevenEarth
Copy link
Collaborator Author

SevenEarth commented Jul 18, 2024

本地测试
Create
image
image
Update
image
Delete
image

_ = d.Set("phone", user.Phone)
parts := strings.Split(*user.Phone, "|")
if len(parts) == 2 && parts[1] != "" {
_ = d.Set("phone", user.Phone)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这儿加了没用啊,其它情况就不去set了么

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

其他情况不做set,不然就会set了一个'+86|'或者'+852|' 的单国区数据

@hellertang hellertang merged commit f5c7e5c into master Jul 22, 2024
8 checks passed
@hellertang hellertang deleted the fix/dasb_user branch July 22, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants