Se maneja la seguridad de controllers

parent b7e2a867
...@@ -7,7 +7,7 @@ import org.springframework.http.ResponseEntity; ...@@ -7,7 +7,7 @@ import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping("/api/v1.0/users") @RequestMapping("/api/v1.0/users")
public class UserController { public class UserController {
......
...@@ -13,9 +13,8 @@ import java.util.List; ...@@ -13,9 +13,8 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/canton") @RequestMapping(V1_API_VERSION + "/canton")
public class UzyTCantonController { public class UzyTCantonController {
private final IServiceUzyTCanton serviceUzyTCanton; private final IServiceUzyTCanton serviceUzyTCanton;
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/catalagosgen") @RequestMapping(V1_API_VERSION+"/catalagosgen")
public class UzyTCatalogosGeneralesController { public class UzyTCatalogosGeneralesController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/clasificadorP") @RequestMapping(V1_API_VERSION+"/clasificadorP")
public class UzyTClasificadorPresupController { public class UzyTClasificadorPresupController {
......
...@@ -10,9 +10,8 @@ import java.util.List; ...@@ -10,9 +10,8 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/lineaoperativa") @RequestMapping(V1_API_VERSION+"/lineaoperativa")
public class UzyTLineaOperativaController { public class UzyTLineaOperativaController {
private final IServiceUzyTLineaOperativa serviceUzyTLineaOperativa; private final IServiceUzyTLineaOperativa serviceUzyTLineaOperativa;
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/menu") @RequestMapping(V1_API_VERSION+"/menu")
public class UzyTMenuController { public class UzyTMenuController {
private final IServiceUzyTMenu serviceUzyTMenu; private final IServiceUzyTMenu serviceUzyTMenu;
......
...@@ -15,9 +15,8 @@ import java.util.List; ...@@ -15,9 +15,8 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/parroquia") @RequestMapping(V1_API_VERSION+"/parroquia")
public class UzyTParroquiaController { public class UzyTParroquiaController {
private final IServiceUzyTParroquia serviceUzyTParroquia; private final IServiceUzyTParroquia serviceUzyTParroquia;
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/perfil") @RequestMapping(V1_API_VERSION + "/perfil")
public class UzyTPerfilController { public class UzyTPerfilController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/perfilmenu") @RequestMapping(V1_API_VERSION + "/perfilmenu")
public class UzyTPerfilMenuController { public class UzyTPerfilMenuController {
......
...@@ -7,7 +7,7 @@ import javax.validation.constraints.NotNull; ...@@ -7,7 +7,7 @@ import javax.validation.constraints.NotNull;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/perfilusuario") @RequestMapping(V1_API_VERSION + "/perfilusuario")
public class UzyTPerfilUsuarioController { public class UzyTPerfilUsuarioController {
......
...@@ -11,9 +11,8 @@ import java.util.List; ...@@ -11,9 +11,8 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/planificacion") @RequestMapping(V1_API_VERSION + "/planificacion")
public class UzyTPlanificacionController { public class UzyTPlanificacionController {
private final IServiceUzyTPlanificacion serviceUzyTPlanificacion; private final IServiceUzyTPlanificacion serviceUzyTPlanificacion;
......
...@@ -16,9 +16,8 @@ import java.util.List; ...@@ -16,9 +16,8 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/provincia") @RequestMapping(V1_API_VERSION + "/provincia")
public class UzyTProvinciaController { public class UzyTProvinciaController {
private final IServiceUzyTProvincia serviceUzyTProvincia; private final IServiceUzyTProvincia serviceUzyTProvincia;
......
...@@ -14,9 +14,8 @@ import java.util.Set; ...@@ -14,9 +14,8 @@ import java.util.Set;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/usuario") @RequestMapping(V1_API_VERSION + "/usuario")
public class UzyTUsuarioController { public class UzyTUsuarioController {
......
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/valorpar") @RequestMapping(V1_API_VERSION+"/valorpar")
public class UzyTaValorParController { public class UzyTaValorParController {
private final IServiceUzyTaValorPar serviceUzyTaValorPar; private final IServiceUzyTaValorPar serviceUzyTaValorPar;
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/actproy") @RequestMapping(V1_API_VERSION + "/actproy")
public class UzyTavActProyController { public class UzyTavActProyController {
private final IServiceUzyTavActProy serviceUzyTavActProy; private final IServiceUzyTavActProy serviceUzyTavActProy;
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/actaprueba") @RequestMapping(V1_API_VERSION+"/actaprueba")
public class UzyTavActaPruebaController { public class UzyTavActaPruebaController {
private final private final
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/actaresponsa") @RequestMapping(V1_API_VERSION+"/actaresponsa")
public class UzyTavActaResponsaController { public class UzyTavActaResponsaController {
private final IServiceUzyTavActaResponsa serviceUzyTavActaResponsa; private final IServiceUzyTavActaResponsa serviceUzyTavActaResponsa;
......
...@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.*; ...@@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.*;
import javax.validation.Valid; import javax.validation.Valid;
import java.util.List; import java.util.List;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/actasperfilProyec") @RequestMapping(V1_API_VERSION + "/actasperfilProyec")
public class UzyTavActasPerfil_ProyecController { public class UzyTavActasPerfil_ProyecController {
......
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/activprog") @RequestMapping(V1_API_VERSION + "/activprog")
public class UzyTavActivProgController { public class UzyTavActivProgController {
private final IServiceUzyTavActivProg serviceUzyTavActivProg; private final IServiceUzyTavActivProg serviceUzyTavActivProg;
......
...@@ -14,7 +14,7 @@ import org.springframework.web.multipart.MultipartFile; ...@@ -14,7 +14,7 @@ import org.springframework.web.multipart.MultipartFile;
import java.io.IOException; import java.io.IOException;
import java.util.List; import java.util.List;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/anexos") @RequestMapping(V1_API_VERSION+"/anexos")
public class UzyTavAnexoSPRController { public class UzyTavAnexoSPRController {
private final IServiceUzyTavAnexoSPR serviceUzyTavAnexoSPR; private final IServiceUzyTavAnexoSPR serviceUzyTavAnexoSPR;
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/anualvalor") @RequestMapping(V1_API_VERSION+"/anualvalor")
public class UzyTavAnualValorController { public class UzyTavAnualValorController {
private final private final
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/cabcomca") @RequestMapping(V1_API_VERSION+"/cabcomca")
public class UzyTavCabComcaController { public class UzyTavCabComcaController {
private final IServiceUzyTavCabComca serviceUzyTavCabComca; private final IServiceUzyTavCabComca serviceUzyTavCabComca;
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/cabparaevaf") @RequestMapping(V1_API_VERSION+"/cabparaevaf")
public class UzyTavCabParaevafController { public class UzyTavCabParaevafController {
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/cabevalp") @RequestMapping(V1_API_VERSION+"/cabevalp")
public class UzyTavCabeValpController { public class UzyTavCabeValpController {
......
...@@ -14,7 +14,7 @@ import java.util.List; ...@@ -14,7 +14,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/claspre") @RequestMapping(V1_API_VERSION+"/claspre")
public class UzyTavClasPreController { public class UzyTavClasPreController {
......
...@@ -14,7 +14,7 @@ import java.util.List; ...@@ -14,7 +14,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/ConfObj") @RequestMapping(V1_API_VERSION+"/ConfObj")
public class UzyTavConfObjController { public class UzyTavConfObjController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/ConfTipo") @RequestMapping(V1_API_VERSION+"/ConfTipo")
public class UzyTavConfTipoController { public class UzyTavConfTipoController {
......
...@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.*; ...@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.*;
import java.util.List; import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/configuracion") @RequestMapping(V1_API_VERSION+"/configuracion")
public class UzyTavConfiguracionController { public class UzyTavConfiguracionController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/conparaeva") @RequestMapping(V1_API_VERSION+"/conparaeva")
public class UzyTavConparaEvaController { public class UzyTavConparaEvaController {
......
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/consolca") @RequestMapping(V1_API_VERSION+"/consolca")
public class UzyTavConsolcaController { public class UzyTavConsolcaController {
......
...@@ -14,7 +14,7 @@ import java.util.NoSuchElementException; ...@@ -14,7 +14,7 @@ import java.util.NoSuchElementException;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/convoca") @RequestMapping(V1_API_VERSION+"/convoca")
public class UzyTavConvocaController { public class UzyTavConvocaController {
......
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/desigdoc") @RequestMapping(V1_API_VERSION+"/desigdoc")
public class UzyTavDesigDocController { public class UzyTavDesigDocController {
......
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/desigestu") @RequestMapping(V1_API_VERSION+"/desigestu")
public class UzyTavDesigEstuController { public class UzyTavDesigEstuController {
private final IServiceUzyTavDesigEstu serviceUzyTavDesigEstu; private final IServiceUzyTavDesigEstu serviceUzyTavDesigEstu;
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/detactproy") @RequestMapping(V1_API_VERSION + "/detactproy")
public class UzyTavDetActproyController { public class UzyTavDetActproyController {
private final IServiceUzyTavDetActproy serviceUzyTavDetActproy; private final IServiceUzyTavDetActproy serviceUzyTavDetActproy;
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/detcomca") @RequestMapping(V1_API_VERSION+"/detcomca")
public class UzyTavDetComcaController { public class UzyTavDetComcaController {
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/docompar") @RequestMapping(V1_API_VERSION + "/docompar")
public class UzyTavDoComparController { public class UzyTavDoComparController {
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/docparti") @RequestMapping(V1_API_VERSION + "/docparti")
public class UzyTavDocPartiController { public class UzyTavDocPartiController {
private final IServiceUzyTavDocParti serviceUzyTavDocParti; private final IServiceUzyTavDocParti serviceUzyTavDocParti;
......
...@@ -9,7 +9,7 @@ import java.util.List; ...@@ -9,7 +9,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/estrategiasvplan") @RequestMapping(V1_API_VERSION+"/estrategiasvplan")
public class UzyTavEstrategiasVPlanController { public class UzyTavEstrategiasVPlanController {
private final IServiceUzyTavEstrategiasVPlan serviceUzyTavEstrategiasVPlan; private final IServiceUzyTavEstrategiasVPlan serviceUzyTavEstrategiasVPlan;
......
package ec.edu.espe.movilidad.MovilidadWS.Controller; package ec.edu.espe.movilidad.MovilidadWS.Controller;
import ec.edu.espe.movilidad.MovilidadWS.Dto.DtoUzyTavDocParti;
import ec.edu.espe.movilidad.MovilidadWS.Dto.DtoUzyTavEstuParti; import ec.edu.espe.movilidad.MovilidadWS.Dto.DtoUzyTavEstuParti;
import ec.edu.espe.movilidad.MovilidadWS.Service.UzyTavEstuParti.IServiceUzyTavEstuParti; import ec.edu.espe.movilidad.MovilidadWS.Service.UzyTavEstuParti.IServiceUzyTavEstuParti;
...@@ -13,7 +12,7 @@ import java.util.List; ...@@ -13,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/estuparti") @RequestMapping(V1_API_VERSION + "/estuparti")
public class UzyTavEstuPartiController { public class UzyTavEstuPartiController {
private final IServiceUzyTavEstuParti serviceUzyTavEstuParti; private final IServiceUzyTavEstuParti serviceUzyTavEstuParti;
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/evalproy") @RequestMapping(V1_API_VERSION+"/evalproy")
public class UzyTavEvalProyController { public class UzyTavEvalProyController {
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/horaejec") @RequestMapping(V1_API_VERSION+"/horaejec")
public class UzyTavHorEjecController { public class UzyTavHorEjecController {
private final IServiceUzyTavHorEjec serviceUzyTavHorEjec; private final IServiceUzyTavHorEjec serviceUzyTavHorEjec;
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/instproy") @RequestMapping(V1_API_VERSION + "/instproy")
public class UzyTavInstProyController { public class UzyTavInstProyController {
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/instituc") @RequestMapping(V1_API_VERSION+"/instituc")
public class UzyTavInstitucController { public class UzyTavInstitucController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/linea") @RequestMapping(V1_API_VERSION + "/linea")
public class UzyTavLineaController { public class UzyTavLineaController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/objplanvinvula") @RequestMapping(V1_API_VERSION + "/objplanvinvula")
public class UzyTavObjPlanVinvulaController { public class UzyTavObjPlanVinvulaController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/objetivosbuenvivir") @RequestMapping(V1_API_VERSION+"/objetivosbuenvivir")
public class UzyTavObjetivoBVivirController { public class UzyTavObjetivoBVivirController {
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/objetivosEstraInsti") @RequestMapping(V1_API_VERSION+"/objetivosEstraInsti")
public class UzyTavObjetivosEstraInstiController { public class UzyTavObjetivosEstraInstiController {
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/opcioninstitucion") @RequestMapping(V1_API_VERSION + "/opcioninstitucion")
public class UzyTavOpcionInstitucionController { public class UzyTavOpcionInstitucionController {
......
...@@ -9,7 +9,7 @@ import java.util.List; ...@@ -9,7 +9,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/paraeva") @RequestMapping(V1_API_VERSION + "/paraeva")
public class UzyTavParaEvaController { public class UzyTavParaEvaController {
......
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/parametrosdet") @RequestMapping(V1_API_VERSION + "/parametrosdet")
public class UzyTavParametros_DetController { public class UzyTavParametros_DetController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/planvprograma") @RequestMapping(V1_API_VERSION + "/planvprograma")
public class UzyTavPlanVProgramaController { public class UzyTavPlanVProgramaController {
......
...@@ -13,7 +13,7 @@ import java.util.List; ...@@ -13,7 +13,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/pobla") @RequestMapping(V1_API_VERSION+"/pobla")
public class UzyTavPoblaController { public class UzyTavPoblaController {
......
...@@ -13,7 +13,7 @@ import java.util.List; ...@@ -13,7 +13,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/poblaproy") @RequestMapping(V1_API_VERSION+"/poblaproy")
public class UzyTavPoblaProyController { public class UzyTavPoblaProyController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/tavpresup") @RequestMapping(V1_API_VERSION + "/tavpresup")
public class UzyTavPresupController { public class UzyTavPresupController {
private final IServiceUzyTavPresup serviceUzyTavPresup; private final IServiceUzyTavPresup serviceUzyTavPresup;
......
...@@ -13,7 +13,7 @@ import java.util.List; ...@@ -13,7 +13,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/progObj") @RequestMapping(V1_API_VERSION + "/progObj")
public class UzyTavProgObjController { public class UzyTavProgObjController {
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/progObjecEstar") @RequestMapping(V1_API_VERSION+"/progObjecEstar")
public class UzyTavProgObjEstartegicoController { public class UzyTavProgObjEstartegicoController {
......
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/programaeplanv") @RequestMapping(V1_API_VERSION+"/programaeplanv")
public class UzyTavPrograma_EplanvController { public class UzyTavPrograma_EplanvController {
......
...@@ -13,7 +13,7 @@ import java.util.List; ...@@ -13,7 +13,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/programav") @RequestMapping(V1_API_VERSION+"/programav")
public class UzyTavPrograma_VController { public class UzyTavPrograma_VController {
......
...@@ -13,7 +13,7 @@ import java.util.List; ...@@ -13,7 +13,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/prolin") @RequestMapping(V1_API_VERSION+"/prolin")
public class UzyTavProlinController { public class UzyTavProlinController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/proyec") @RequestMapping(V1_API_VERSION + "/proyec")
public class UzyTavProyecController { public class UzyTavProyecController {
private final IServiceUzyTavProyec serviceUzyTavProyec; private final IServiceUzyTavProyec serviceUzyTavProyec;
......
...@@ -11,7 +11,7 @@ import java.util.List; ...@@ -11,7 +11,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/responsableprog") @RequestMapping(V1_API_VERSION + "/responsableprog")
public class UzyTavResponsableProgController { public class UzyTavResponsableProgController {
......
...@@ -10,7 +10,7 @@ import java.util.List; ...@@ -10,7 +10,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/seguim") @RequestMapping(V1_API_VERSION + "/seguim")
public class UzyTavSeguimController { public class UzyTavSeguimController {
private final IServiceUzyTavSeguim serviceUzyTavSeguim; private final IServiceUzyTavSeguim serviceUzyTavSeguim;
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/sublinea") @RequestMapping(V1_API_VERSION+"/sublinea")
public class UzyTavSubLineaController { public class UzyTavSubLineaController {
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/tavtipres") @RequestMapping(V1_API_VERSION+"/tavtipres")
public class UzyTavTipresController { public class UzyTavTipresController {
private final IServiceUzyTavTipres serviceUzyTavTipres; private final IServiceUzyTavTipres serviceUzyTavTipres;
......
...@@ -13,9 +13,8 @@ import java.util.List; ...@@ -13,9 +13,8 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION + "/zonadetalle") @RequestMapping(V1_API_VERSION + "/zonadetalle")
public class UzyTavZonaDetalleController { public class UzyTavZonaDetalleController {
private final IServiceUzyTavZonaDetalle serviceUzyTavZonaDetalle; private final IServiceUzyTavZonaDetalle serviceUzyTavZonaDetalle;
......
...@@ -12,7 +12,7 @@ import java.util.List; ...@@ -12,7 +12,7 @@ import java.util.List;
import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION; import static ec.edu.espe.movilidad.MovilidadWS.Constant.GlobalConstants.V1_API_VERSION;
@RestController @RestController
@CrossOrigin(origins = "*") @CrossOrigin(origins = "http://localhost:4200")
@RequestMapping(V1_API_VERSION+"/objetivoprograma") @RequestMapping(V1_API_VERSION+"/objetivoprograma")
public class UzytavObjetivoProgramaController { public class UzytavObjetivoProgramaController {
......
...@@ -15,12 +15,10 @@ import javax.servlet.http.HttpServletRequest; ...@@ -15,12 +15,10 @@ import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpServletResponse;
import java.io.IOException; import java.io.IOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class JwtAuthenticationFilter extends OncePerRequestFilter { public class JwtAuthenticationFilter extends OncePerRequestFilter {
private static final Logger loggerAuth = LoggerFactory.getLogger(JwtAuthenticationFilter.class);
@Autowired @Autowired
JwtUserDetailsService jwtUserDetailsService; JwtUserDetailsService jwtUserDetailsService;
...@@ -29,10 +27,7 @@ public class JwtAuthenticationFilter extends OncePerRequestFilter { ...@@ -29,10 +27,7 @@ public class JwtAuthenticationFilter extends OncePerRequestFilter {
protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException { protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws ServletException, IOException {
// Obtener el correo electrónico del encabezado // Obtener el correo electrónico del encabezado
String email = request.getHeader("email"); String email = request.getHeader("email");
String Token = request.getHeader("Authorization"); //String Token = request.getHeader("Authorization"); loggerAuth.info("Token válido obtenido en el backend: {}", Token);
loggerAuth.info("Email válido obtenido en el backend: {}", email);
loggerAuth.info("Token válido obtenido en el backend: {}", Token);
if (email != null && SecurityContextHolder.getContext().getAuthentication() == null) { if (email != null && SecurityContextHolder.getContext().getAuthentication() == null) {
try { try {
......
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