Commit bb232118 authored by 黄奎's avatar 黄奎

页面修改

parent 94790bb7
...@@ -3,6 +3,8 @@ using Edu.Common.API; ...@@ -3,6 +3,8 @@ using Edu.Common.API;
using Edu.Common.Plugin; using Edu.Common.Plugin;
using Edu.Model.ViewModel.Customer; using Edu.Model.ViewModel.Customer;
using Edu.Module.Customer; using Edu.Module.Customer;
using Edu.WebApi.Filter;
using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc;
using System; using System;
...@@ -12,9 +14,11 @@ using System.Threading.Tasks; ...@@ -12,9 +14,11 @@ using System.Threading.Tasks;
namespace Edu.WebApi.Controllers.Customer namespace Edu.WebApi.Controllers.Customer
{ {
[Route("api/[controller]")] [Route("api/[controller]/[action]")]
[ApiExceptionFilter]
[ApiController] [ApiController]
public class CustomerController : BaseController [EnableCors("AllowCors")]
public class B2BCustomerController : BaseController
{ {
private readonly CustomerModule customerModule = new CustomerModule(); private readonly CustomerModule customerModule = new CustomerModule();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment