Browse Source

修复VmiService引入的Swagger报错

master
wanggang 1 year ago
parent
commit
37e94b8e1a
  1. 7
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiService.cs

7
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/VmiService.cs

@ -1,3 +1,4 @@
using System;
using System.Linq; using System.Linq;
using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
@ -22,21 +23,25 @@ public interface IVmiService : IApplicationService, ITransientDependency, IJobSe
[Route("api/settleaccount/[controller]/[action]")] [Route("api/settleaccount/[controller]/[action]")]
public class VmiService : IVmiService public class VmiService : IVmiService
{ {
[NonAction]
public void Invoke() public void Invoke()
{ {
throw new System.NotImplementedException(); Console.WriteLine($"{nameof(VmiService)}:{DateTime.Now}");
} }
[NonAction]
public void In() public void In()
{ {
throw new System.NotImplementedException(); throw new System.NotImplementedException();
} }
[NonAction]
public void Out() public void Out()
{ {
throw new System.NotImplementedException(); throw new System.NotImplementedException();
} }
[HttpPost]
public IQueryable<VmiBalance> Query() public IQueryable<VmiBalance> Query()
{ {
throw new System.NotImplementedException(); throw new System.NotImplementedException();

Loading…
Cancel
Save