sms report chage

This commit is contained in:
gozareshgir
2026-02-03 19:24:44 +03:30
parent 734d0ca692
commit c466b68c9a
3 changed files with 8 additions and 8 deletions

View File

@@ -155,7 +155,7 @@ public class SmsSettingApplication : ISmsSettingApplication
if (taker > 0)
{
devModeNumberList = ["09114221321", "09116967898", "09116067106"];
devModeNumberList = ["09114221321", "116967898", "116067106"];
command = command.Take(taker).ToList();
for (int i = 0; i < 3; i++)
{

View File

@@ -260,10 +260,10 @@ public class SmsReportController : AdminBaseController
/// <param name="phoneNumbers"></param>
/// <returns></returns>
[HttpPost("InstantReminderSmsSend")]
public async Task<ActionResult> InstantReminderSmsSend([FromBody] List<string> phoneNumbers)
public async Task<ActionResult<OperationResult>> InstantReminderSmsSend([FromBody] List<string> phoneNumbers)
{
var result = _smsSettingApplication.InstantSmsSendApi(TypeOfSmsSetting.InstitutionContractDebtReminder, phoneNumbers);
return Ok();
var result =await _smsSettingApplication.InstantSmsSendApi(TypeOfSmsSetting.InstitutionContractDebtReminder, phoneNumbers);
return result;
}
/// <summary>
@@ -272,10 +272,10 @@ public class SmsReportController : AdminBaseController
/// <param name="phoneNumbers"></param>
/// <returns></returns>
[HttpPost("InstantBlockSmsSend")]
public async Task<ActionResult> InstantBlockSmsSend([FromBody] List<string> phoneNumbers)
public async Task<ActionResult<OperationResult>> InstantBlockSmsSend([FromBody] List<string> phoneNumbers)
{
var result = _smsSettingApplication.InstantSmsSendApi(TypeOfSmsSetting.BlockContractingParty, phoneNumbers);
return Ok();
var result =await _smsSettingApplication.InstantSmsSendApi(TypeOfSmsSetting.BlockContractingParty, phoneNumbers);
return result;
}
#endregion
}

View File

@@ -19,7 +19,7 @@
"sqlDebugging": true,
"dotnetRunMessages": "true",
"nativeDebugging": true,
"applicationUrl": "https://localhost:5004;http://localhost:5003;https://192.168.0.117:5005",
"applicationUrl": "https://localhost:5004;http://localhost:5003;https://192.168.0.118:5005",
"jsWebView2Debugging": false,
"hotReloadEnabled": true
},