init commit

This commit is contained in:
路 范
2022-03-30 17:54:33 +08:00
parent df01841625
commit 904bdd16cd
500 changed files with 217251 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace RoadFlow.Utility
{
/// <summary>
/// 手机短信类
/// </summary>
public class SMS
{
/// <summary>
/// 发送手机短信
/// </summary>
/// <param name="contents">内容</param>
/// <param name="mobileNumber">手机号码(多个用逗号分开)</param>
/// <returns></returns>
public static bool SendSMS(string contents, string mobileNumbers)
{
if (contents.IsNullOrWhiteSpace())
{
return false;
}
string[] numbers = mobileNumbers.Split(',');
foreach (string number in numbers)
{
}
return true;
}
}
}