|
|
|
@ -35,7 +35,7 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 获取待审核列表
|
|
|
|
|
/// 获取待付费的业务列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="request"></param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
@ -51,7 +51,7 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
|
/// <param name="application">申请单</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpPost, Route("Save")]
|
|
|
|
|
public async Task<DataResult> SaveAsync([FromBody] FeeApplication application)
|
|
|
|
|
public async Task<DataResult> SaveAsync([FromBody] FeeApplication application)
|
|
|
|
|
{
|
|
|
|
|
return await _service.SaveAsync(application);
|
|
|
|
|
}
|
|
|
|
@ -62,7 +62,7 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
|
/// <param name="model">申请单ID</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpPost, Route("Delete")]
|
|
|
|
|
public async Task<DataResult> DeleteAsync(IdModel model)
|
|
|
|
|
public async Task<DataResult> DeleteAsync([FromBody] IdModel model)
|
|
|
|
|
{
|
|
|
|
|
if (model.Id == null || model.Ids.Length == 0)
|
|
|
|
|
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
|
|
|
|
@ -90,7 +90,7 @@ namespace DS.WMS.FeeApi.Controllers
|
|
|
|
|
/// <param name="model">申请单ID</param>
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
[HttpPost, Route("Withdraw")]
|
|
|
|
|
public async Task<DataResult> WithdrawAsync(IdModel model)
|
|
|
|
|
public async Task<DataResult> WithdrawAsync([FromBody] IdModel model)
|
|
|
|
|
{
|
|
|
|
|
if (model.Ids == null || model.Ids.Length == 0)
|
|
|
|
|
return DataResult.Failed("参数无效", MultiLanguageConst.IllegalRequest);
|
|
|
|
|