將所有API分成大內網及外網
This commit is contained in:
parent
dfb05c45d5
commit
e92347e5fa
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_space_algorithmController : ControllerBase
|
public class Parking_space_algorithmController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -17,6 +17,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_camController : ControllerBase
|
public class Parking_spaces_camController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -15,6 +15,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_cam_ptzController : ControllerBase
|
public class Parking_spaces_cam_ptzController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_cam_ptz_car_num_checkController : ControllerBase
|
public class Parking_spaces_cam_ptz_car_num_checkController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_cam_ptz_passController : ControllerBase
|
public class Parking_spaces_cam_ptz_passController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_cam_ptz_violationController : ControllerBase
|
public class Parking_spaces_cam_ptz_violationController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -15,6 +15,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_historyController : ControllerBase
|
public class Parking_spaces_historyController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -16,6 +16,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_instantController : ControllerBase
|
public class Parking_spaces_instantController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_lcd_instandController : ControllerBase
|
public class Parking_spaces_lcd_instandController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -15,6 +15,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_roiController : ControllerBase
|
public class Parking_spaces_roiController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_roi_car_num_checkController : ControllerBase
|
public class Parking_spaces_roi_car_num_checkController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_roi_passController : ControllerBase
|
public class Parking_spaces_roi_passController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_roi_violationController : ControllerBase
|
public class Parking_spaces_roi_violationController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -15,6 +15,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_total_tableController : ControllerBase
|
public class Parking_spaces_total_tableController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Parking_spaces_violation_total_tableController : ControllerBase
|
public class Parking_spaces_violation_total_tableController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -18,6 +18,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園外網")]
|
||||||
public class Violation_car_tableController : ControllerBase
|
public class Violation_car_tableController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園大內網")]
|
||||||
public class Yuntech_camController : ControllerBase
|
public class Yuntech_camController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -14,6 +14,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園大內網")]
|
||||||
public class Yuntech_cam_total_tableController : ControllerBase
|
public class Yuntech_cam_total_tableController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
@ -17,6 +17,7 @@ namespace Parking_space_WebAPI.Controllers
|
|||||||
[Route("api/[controller]")]
|
[Route("api/[controller]")]
|
||||||
[ApiController]
|
[ApiController]
|
||||||
[Authorize]
|
[Authorize]
|
||||||
|
[ApiExplorerSettings(GroupName = "校園大內網")]
|
||||||
public class Yuntech_in_car_tableController : ControllerBase
|
public class Yuntech_in_car_tableController : ControllerBase
|
||||||
{
|
{
|
||||||
private readonly SqlContext _context;
|
private readonly SqlContext _context;
|
||||||
|
Loading…
Reference in New Issue
Block a user