增加费用模板路由

dev
嵇文龙 4 weeks ago
parent 8fff51dfdc
commit 22c5f89866

@ -158,6 +158,7 @@ namespace DS.WMS.FeeApi.Controllers
/// </summary> /// </summary>
/// <param name="details"></param> /// <param name="details"></param>
/// <returns></returns> /// <returns></returns>
[HttpPost, Route("BulkEditDetails")]
public async Task<DataResult> BulkEditDetailsAsync([FromBody] List<FeeCustTemplateDetail> details) public async Task<DataResult> BulkEditDetailsAsync([FromBody] List<FeeCustTemplateDetail> details)
{ {
if (details == null || details.Count == 0) if (details == null || details.Count == 0)
@ -171,6 +172,7 @@ namespace DS.WMS.FeeApi.Controllers
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
[HttpPost, Route("Copy")]
public async Task<DataResult> CopyAsync([FromBody] IdModel model) public async Task<DataResult> CopyAsync([FromBody] IdModel model)
{ {
if (!ModelState.IsValid) if (!ModelState.IsValid)

Loading…
Cancel
Save