-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: support Uni SMS #2942
feat: support Uni SMS #2942
Conversation
@tangyang9464 @imp2002 please review |
go.mod
Outdated
@@ -5,16 +5,19 @@ go 1.16 | |||
require ( | |||
github.com/Masterminds/squirrel v1.5.3 | |||
github.com/alexedwards/argon2id v0.0.0-20211130144151-3585854a6387 | |||
github.com/aws/aws-sdk-go v1.45.5 | |||
github.com/aliyun/alibaba-cloud-sdk-go v1.62.733 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why update github.com/aliyun/alibaba-cloud-sdk-go?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why update github.com/aliyun/alibaba-cloud-sdk-go?
To upgrade the sender library, first execute the command go get -u github.com/casdoor/go-sms-sender
, and then after completing the local development and testing, execute the go mod tidy
command.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cutedrag0n I have updated the version, see commit: 3456fc6
And I also ran go mod tidy
, there's no that much diff as yours.
Anyway, you don't need to do this again, as I have did this.
web/src/ProviderEditPage.js
Outdated
@@ -207,7 +207,7 @@ class ProviderEditPage extends React.Component { | |||
return Setting.getLabel(i18next.t("provider:App key"), i18next.t("provider:App key - Tooltip")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to add it in backend Go code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to add it in backend Go code
What is this parameter for? This platform does not have an option for an app key.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cutedrag0n I said you didn't modify the Go code for your new provider, which is wrong. Did it work if you don't modify it? I doubt so.
No description provided.