AuthServerProvider.java 488 B

12345678910111213
  1. package com.yaozhitech.spring5.provider;
  2. import org.springframework.cloud.openfeign.FeignClient;
  3. import org.springframework.web.bind.annotation.GetMapping;
  4. import org.springframework.web.bind.annotation.RequestParam;
  5. @FeignClient(name = "auth-server")
  6. public interface AuthServerProvider {
  7. @GetMapping(value = "/clientAuth/verify/")
  8. Boolean verify(@RequestParam("service") String service, @RequestParam("allowClient") String allowClient, @RequestParam("secret") String secret);
  9. }