@@ -23,7 +23,8 @@ | |||||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir> | <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir> | ||||
<RestorePackages>true</RestorePackages> | <RestorePackages>true</RestorePackages> | ||||
<UseGlobalApplicationHostFile /> | <UseGlobalApplicationHostFile /> | ||||
<Use64BitIISExpress>false</Use64BitIISExpress> | |||||
<Use64BitIISExpress> | |||||
</Use64BitIISExpress> | |||||
<SccProjectName> | <SccProjectName> | ||||
</SccProjectName> | </SccProjectName> | ||||
<SccLocalPath> | <SccLocalPath> | ||||
@@ -71,10 +71,10 @@ namespace Quanjiang.DigitalScholl.SendSms | |||||
switch (st) | switch (st) | ||||
{ | { | ||||
case SmsType.LoginBind: | case SmsType.LoginBind: | ||||
result = ("SMS_468910589", JsonConvert.SerializeObject(new { code = randomNum }), randomNum); | |||||
result = ("SMS_302660641", JsonConvert.SerializeObject(new { code = randomNum }), randomNum); | |||||
break; | break; | ||||
case SmsType.ForgetPassWord: | case SmsType.ForgetPassWord: | ||||
result = ("SMS_468910589", JsonConvert.SerializeObject(new { code = randomNum }), randomNum); | |||||
result = ("SMS_302660641", JsonConvert.SerializeObject(new { code = randomNum }), randomNum); | |||||
break; | break; | ||||
default: | default: | ||||
throw new ArgumentOutOfRangeException(nameof(st), st, null); | throw new ArgumentOutOfRangeException(nameof(st), st, null); | ||||
@@ -4,10 +4,10 @@ | |||||
<!--阿里云短信平台参数--> | <!--阿里云短信平台参数--> | ||||
<add key="product" value="Dysmsapi" /> | <add key="product" value="Dysmsapi" /> | ||||
<add key="domain" value="dysmsapi.aliyuncs.com" /> | <add key="domain" value="dysmsapi.aliyuncs.com" /> | ||||
<add key="accessId" value="" /> | |||||
<add key="accessSecret" value="" /> | |||||
<add key="accessId" value="LTAI5tCfoGsYFyZA3XUnXtpE" /> | |||||
<add key="accessSecret" value="fqAni5SM3xRDeSFmcQhBPriMMMd6mT" /> | |||||
<add key="regionIdForPop" value="cn-hangzhou" /> | <add key="regionIdForPop" value="cn-hangzhou" /> | ||||
<add key="SignName" value="" /> | |||||
<add key="SignName" value="塔里木职业技术学院" /> | |||||
<!--斑羚短信平台--> | <!--斑羚短信平台--> | ||||
<add key="sdkappid" value="140009369387" /> | <add key="sdkappid" value="140009369387" /> | ||||
<add key="appkey" value="4d2743a4233e5d8625eefa31f876721b" /> | <add key="appkey" value="4d2743a4233e5d8625eefa31f876721b" /> | ||||