sms report chage
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user