|
|
@ -4,6 +4,7 @@ import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.service.ComponentVerifyTicketService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.PathVariable; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
|
|
|
@ -26,9 +27,9 @@ public class AuthRedirectController { |
|
|
|
* @param |
|
|
|
* @author zxc |
|
|
|
*/ |
|
|
|
@GetMapping("redirect") |
|
|
|
public Result redirectUri(HttpServletRequest request, HttpServletResponse response){ |
|
|
|
componentVerifyTicketService.redirectUri(request,response); |
|
|
|
@GetMapping("redirect/{customerId}/{clientType}") |
|
|
|
public Result redirectUri(HttpServletRequest request, HttpServletResponse response, @PathVariable("customerId")String customerId, @PathVariable("clientType")String clientType){ |
|
|
|
componentVerifyTicketService.redirectUri(request,response,customerId,clientType); |
|
|
|
return new Result(); |
|
|
|
} |
|
|
|
|
|
|
|