添加Swagger

This commit is contained in:
admin
2021-01-16 10:44:33 +08:00
parent f8e583c4fc
commit 7b37f40f56
5 changed files with 282 additions and 2 deletions

View File

@@ -9,9 +9,15 @@ using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers
{
/// <summary>
/// 客户信息
/// </summary>
public class CustomerController : ApiController
{
/// <summary>
/// 获取客户信息
/// </summary>
/// <returns></returns>
// GET api/values
[HttpGet]
public IEnumerable<Model.Customer> List()