{"id":24494660,"url":"https://github.com/myvas/tencentsms","last_synced_at":"2025-04-14T02:52:10.849Z","repository":{"id":65413159,"uuid":"86158308","full_name":"myvas/TencentSms","owner":"myvas","description":"ISmsSender implementation via TencentYun (aka. Qcloud) SMS service.","archived":false,"fork":false,"pushed_at":"2023-09-17T15:36:51.000Z","size":84,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-12-19T15:43:55.354Z","etag":null,"topics":["aspnetcore","demo","middleware","netstandard20","nuget","qcloudsms","sms","tencentsms"],"latest_commit_sha":null,"homepage":"http://demo.auth.myvas.com","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myvas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-25T13:12:21.000Z","updated_at":"2024-07-29T21:45:49.867Z","dependencies_parsed_at":"2024-07-29T21:45:46.827Z","dependency_job_id":"9c43db77-8d36-4f05-bb6e-e057e2cc8c1f","html_url":"https://github.com/myvas/TencentSms","commit_stats":null,"previous_names":["myvas/aspnetcore.sms.tencent","myvas/aspnetcore.tencentsms","myvas/aspnetcore.qcloudsmsservice"],"tags_count":8,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FTencentSms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FTencentSms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FTencentSms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myvas%2FTencentSms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myvas","download_url":"https://codeload.github.com/myvas/TencentSms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813827,"owners_count":21165631,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aspnetcore","demo","middleware","netstandard20","nuget","qcloudsms","sms","tencentsms"],"created_at":"2025-01-21T20:16:37.760Z","updated_at":"2025-04-14T02:52:10.844Z","avatar_url":"https://github.com/myvas.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Myvas.AspNetCore.TencentSms\r\n\r\n[![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/myvas/AspNetCore.TencentSms?label=github)](https://github.com/myvas/TencentSms)\r\n[![GitHub Actions Status](https://github.com/myvas/AspNetCore.TencentSms/actions/workflows/test.yml/badge.svg)](https://github.com/myvas/TencentSms/actions/workflows/test.yml)\r\n[![GitHub Actions Status](https://github.com/myvas/AspNetCore.TencentSms/actions/workflows/publish.yml/badge.svg)](https://github.com/myvas/TencentSms/actions/workflows/publish.yml)\r\n[![NuGet](https://img.shields.io/nuget/v/Myvas.AspNetCore.TencentSms.svg)](https://www.nuget.org/packages/Myvas.AspNetCore.TencentSms) \r\n\r\nAn `ISmsSender` implementation for TencentSms. (aka QcloudSms)\r\n\r\n## Demo\r\nMyvas.AspNetCore.Authentication.Demo \r\n[![GitHub (Pre-)Release Date](https://img.shields.io/github/release-date-pre/myvas/AspNetCore.Authentication.Demo?label=github)](https://github.com/myvas/AspNetCore.Authentication.Demo)\r\n\r\n## ConfigureServices\r\n```csharp\r\nservices.AddTencentSms(options =\u003e\r\n{\r\n    options.SdkAppId = Configuration[\"TencentSms:SdkAppId\"];\r\n    options.AppKey = Configuration[\"TencentSms:AppKey\"];\r\n});\r\n```\r\n\r\n## Inject \u0026 Invoke\r\n```csharp\r\nprivate readonly ISmsSender _smsSender;\r\n\r\npublic XxxController(ISmsSender smsSender)\r\n{\r\n    _smsSender = smsSender ?? throw new ArgumentNullException(nameof(smsSender);\r\n}\r\n\r\npublic IActionResult Xxx()\r\n{\r\n    //...\r\n    var result = await _smsSender.SendSmsAsync(mobile, content);\r\n}\r\n```\r\n\r\n## API Implementation Status\r\n### Plan:\r\n- To support the TencentSms API, docs here: https://cloud.tencent.com/document/product/382\r\n\r\n### Dependencies:\r\n- https://www.nuget.org/packages/qcloud.qcloudsms_csharp\r\n\r\n### DONE:\r\n- 国内发送短信（发送一条短信）\r\n- 国内群发短信（提交群发短信）\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyvas%2Ftencentsms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyvas%2Ftencentsms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyvas%2Ftencentsms/lists"}