|
@@ -2899,31 +2899,35 @@ public class OrderController : BaseController
|
|
public async Task OrderDelayAutomatic() {
|
|
public async Task OrderDelayAutomatic() {
|
|
|
|
|
|
await _orderApplication.OrderDelayAutomatic();
|
|
await _orderApplication.OrderDelayAutomatic();
|
|
- }
|
|
|
|
|
|
|
|
- /// <summary>
|
|
|
|
- /// 延期短信执行
|
|
|
|
- /// </summary>
|
|
|
|
- /// <param name="type"></param>
|
|
|
|
- /// <returns></returns>
|
|
|
|
- [HttpPost("delay/automatic/handle/sms")]
|
|
|
|
- [AllowAnonymous]
|
|
|
|
- public async Task OrderDelayAutomaticHandleSms()
|
|
|
|
- {
|
|
|
|
- await _orderApplication.OrderDelayAutomaticHandle(EOrderDelayAutomaticType.Sms);
|
|
|
|
- }
|
|
|
|
- /// <summary>
|
|
|
|
- /// 自动延期执行
|
|
|
|
- /// </summary>
|
|
|
|
- /// <param name="type"></param>
|
|
|
|
- /// <returns></returns>
|
|
|
|
- [HttpPost("delay/automatic/handle")]
|
|
|
|
- [AllowAnonymous]
|
|
|
|
- public async Task OrderDelayAutomaticHandleAutomatic()
|
|
|
|
- {
|
|
|
|
await _orderApplication.OrderDelayAutomaticHandle(EOrderDelayAutomaticType.Automatic);
|
|
await _orderApplication.OrderDelayAutomaticHandle(EOrderDelayAutomaticType.Automatic);
|
|
|
|
+
|
|
|
|
+ await _orderApplication.OrderDelayAutomaticHandle(EOrderDelayAutomaticType.Sms);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ ///// <summary>
|
|
|
|
+ ///// 延期短信执行
|
|
|
|
+ ///// </summary>
|
|
|
|
+ ///// <param name="type"></param>
|
|
|
|
+ ///// <returns></returns>
|
|
|
|
+ //[HttpPost("delay/automatic/handle/sms")]
|
|
|
|
+ //[AllowAnonymous]
|
|
|
|
+ //public async Task OrderDelayAutomaticHandleSms()
|
|
|
|
+ //{
|
|
|
|
+ // await _orderApplication.OrderDelayAutomaticHandle(EOrderDelayAutomaticType.Sms);
|
|
|
|
+ //}
|
|
|
|
+ ///// <summary>
|
|
|
|
+ ///// 自动延期执行
|
|
|
|
+ ///// </summary>
|
|
|
|
+ ///// <param name="type"></param>
|
|
|
|
+ ///// <returns></returns>
|
|
|
|
+ //[HttpPost("delay/automatic/handle")]
|
|
|
|
+ //[AllowAnonymous]
|
|
|
|
+ //public async Task OrderDelayAutomaticHandleAutomatic()
|
|
|
|
+ //{
|
|
|
|
+ // await _orderApplication.OrderDelayAutomaticHandle(EOrderDelayAutomaticType.Automatic);
|
|
|
|
+ //}
|
|
|
|
+
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|